From 4062bce96db38bc6f57f6d98f83593edfaaa95d3 Mon Sep 17 00:00:00 2001
From: xiaogang <905166056@qq.com>
Date: 星期四, 10 三月 2022 08:32:53 +0800
Subject: [PATCH] 优化仓库物品信息查询问题,员工组织信息显示问题
---
service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java | 22 ++++++----------------
1 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java b/service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
old mode 100644
new mode 100755
index 0d8ec00..6a93fe8
--- a/service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
+++ b/service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
@@ -7,7 +7,7 @@
import com.java110.utils.exception.DAOException;
import com.java110.utils.util.DateUtil;
import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import com.java110.core.log.LoggerFactory;
import org.springframework.stereotype.Service;
import java.util.List;
@@ -490,23 +490,13 @@
}
@Override
- public int saveCommunity(Map info) {
- logger.debug("淇濆瓨灏忓尯淇℃伅 鍏ュ弬 info : {}", info);
- int saveFlag = sqlSessionTemplate.insert("communityServiceDaoImpl.saveCommunity", info);
- if (saveFlag < 1) {
- throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇濆瓨灏忓尯淇℃伅Instance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
- }
+ public int saveCommunityAttr(Map info) {
+ logger.debug("灏忓尯鎴愬憳鍔犲叆Instance 鍏ュ弬 info : {}", info);
+
+ int saveFlag = sqlSessionTemplate.insert("communityServiceDaoImpl.saveCommunityAttr", info);
+
return saveFlag;
}
- @Override
- public int updateCommunity(Map info) {
- logger.debug("淇敼灏忓尯淇℃伅 鍏ュ弬 info : {}", info);
- int saveFlag = sqlSessionTemplate.update("communityServiceDaoImpl.updateCommunityInfoInstance", info);
- if (saveFlag < 1) {
- throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "淇敼灏忓尯淇℃伅Instance鏁版嵁澶辫触锛�" + JSONObject.toJSONString(info));
- }
- return saveFlag;
- }
}
--
Gitblit v1.8.0