java110
2021-03-20 92d633d1c44f4b8617c4337ab8bfa0ebe4330187
service-community/src/main/java/com/java110/community/dao/impl/CommunityServiceDaoImpl.java
@@ -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;
    }
}