java110
2021-09-04 576c52d8d8e6fb1e738380cc5fc101a6a2b0b3a8
service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
old mode 100644 new mode 100755
@@ -489,24 +489,5 @@
        return businessCommunityInfos;
    }
    @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));
        }
        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;
    }
}