old mode 100644
new mode 100755
| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | @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; |
| | | } |
| | | |
| | | } |