java110 лет назад: 5
Родитель
Сommit
0c143bc765
15 измененных файлов с 937 добавлено и 85 удалено
  1. 76 0
      java110-bean/src/main/java/com/java110/dto/communitySettingKey/CommunitySettingKeyDto.java
  2. 75 0
      java110-bean/src/main/java/com/java110/po/communitySettingKey/CommunitySettingKeyPo.java
  3. 102 0
      java110-db/src/main/resources/mapper/community/CommunitySettingKeyV1ServiceDaoImplMapper.xml
  4. 13 27
      java110-generator/src/main/java/com/java110/code/TableToJson.java
  5. 1 1
      java110-generator/src/main/java/com/java110/code/newBack/BackCoderGeneratorStart.java
  6. 1 1
      java110-generator/src/main/java/com/java110/code/newBack/GeneratorApiListener.java
  7. 17 56
      java110-generator/src/main/resources/newBack/template_1.json
  8. 68 0
      java110-interface/src/main/java/com/java110/intf/community/ICommunitySettingKeyV1InnerServiceSMO.java
  9. 71 0
      service-community/src/main/java/com/java110/community/cmd/communitySettingKey/DeleteCommunitySettingKeyCmd.java
  10. 84 0
      service-community/src/main/java/com/java110/community/cmd/communitySettingKey/ListCommunitySettingKeyCmd.java
  11. 77 0
      service-community/src/main/java/com/java110/community/cmd/communitySettingKey/SaveCommunitySettingKeyCmd.java
  12. 74 0
      service-community/src/main/java/com/java110/community/cmd/communitySettingKey/UpdateCommunitySettingKeyCmd.java
  13. 77 0
      service-community/src/main/java/com/java110/community/dao/ICommunitySettingKeyV1ServiceDao.java
  14. 112 0
      service-community/src/main/java/com/java110/community/dao/impl/CommunitySettingKeyV1ServiceDaoImpl.java
  15. 89 0
      service-community/src/main/java/com/java110/community/smo/impl/CommunitySettingKeyV1InnerServiceSMOImpl.java

+ 76 - 0
java110-bean/src/main/java/com/java110/dto/communitySettingKey/CommunitySettingKeyDto.java

@@ -0,0 +1,76 @@
+package com.java110.dto.communitySettingKey;
+
+import com.java110.dto.PageDto;
+import java.io.Serializable;
+import java.util.Date;
+
+/**
+ * @ClassName FloorDto
+ * @Description 小区配置数据层封装
+ * @Author wuxw
+ * @Date 2019/4/24 8:52
+ * @Version 1.0
+ * add by wuxw 2019/4/24
+ **/
+public class CommunitySettingKeyDto extends PageDto implements Serializable {
+
+    private String keyId;
+private String remark;
+private String settingKey;
+private String settingType;
+private String settingName;
+
+
+    private Date createTime;
+
+    private String statusCd = "0";
+
+
+    public String getKeyId() {
+        return keyId;
+    }
+public void setKeyId(String keyId) {
+        this.keyId = keyId;
+    }
+public String getRemark() {
+        return remark;
+    }
+public void setRemark(String remark) {
+        this.remark = remark;
+    }
+public String getSettingKey() {
+        return settingKey;
+    }
+public void setSettingKey(String settingKey) {
+        this.settingKey = settingKey;
+    }
+public String getSettingType() {
+        return settingType;
+    }
+public void setSettingType(String settingType) {
+        this.settingType = settingType;
+    }
+public String getSettingName() {
+        return settingName;
+    }
+public void setSettingName(String settingName) {
+        this.settingName = settingName;
+    }
+
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getStatusCd() {
+        return statusCd;
+    }
+
+    public void setStatusCd(String statusCd) {
+        this.statusCd = statusCd;
+    }
+}

+ 75 - 0
java110-bean/src/main/java/com/java110/po/communitySettingKey/CommunitySettingKeyPo.java

@@ -0,0 +1,75 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.po.communitySettingKey;
+
+import java.io.Serializable;
+import java.util.Date;
+/**
+ * 类表述: Po 数据模型实体对象 基本保持与数据库模型一直 用于 增加修改删除 等时的数据载体
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+public class CommunitySettingKeyPo implements Serializable {
+
+    private String keyId;
+private String remark;
+private String statusCd = "0";
+private String settingKey;
+private String settingType;
+private String settingName;
+public String getKeyId() {
+        return keyId;
+    }
+public void setKeyId(String keyId) {
+        this.keyId = keyId;
+    }
+public String getRemark() {
+        return remark;
+    }
+public void setRemark(String remark) {
+        this.remark = remark;
+    }
+public String getStatusCd() {
+        return statusCd;
+    }
+public void setStatusCd(String statusCd) {
+        this.statusCd = statusCd;
+    }
+public String getSettingKey() {
+        return settingKey;
+    }
+public void setSettingKey(String settingKey) {
+        this.settingKey = settingKey;
+    }
+public String getSettingType() {
+        return settingType;
+    }
+public void setSettingType(String settingType) {
+        this.settingType = settingType;
+    }
+public String getSettingName() {
+        return settingName;
+    }
+public void setSettingName(String settingName) {
+        this.settingName = settingName;
+    }
+
+
+
+}

+ 102 - 0
java110-db/src/main/resources/mapper/community/CommunitySettingKeyV1ServiceDaoImplMapper.xml

@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="communitySettingKeyV1ServiceDaoImpl">
+
+
+    <!-- 保存小区配置信息 add by wuxw 2018-07-03 -->
+    <insert id="saveCommunitySettingKeyInfo" parameterType="Map">
+        insert into community_setting_key(
+        key_id,remark,setting_key,setting_type,setting_name
+        ) values (
+        #{keyId},#{remark},#{settingKey},#{settingType},#{settingName}
+        )
+    </insert>
+
+
+    <!-- 查询小区配置信息 add by wuxw 2018-07-03 -->
+    <select id="getCommunitySettingKeyInfo" parameterType="Map" resultType="Map">
+        select t.key_id,t.key_id keyId,t.remark,t.status_cd,t.status_cd statusCd,t.setting_key,t.setting_key
+        settingKey,t.setting_type,t.setting_type settingType,t.setting_name,t.setting_name settingName
+        from community_setting_key t
+        where 1 =1
+        <if test="keyId !=null and keyId != ''">
+            and t.key_id= #{keyId}
+        </if>
+        <if test="remark !=null and remark != ''">
+            and t.remark= #{remark}
+        </if>
+        <if test="statusCd !=null and statusCd != ''">
+            and t.status_cd= #{statusCd}
+        </if>
+        <if test="settingKey !=null and settingKey != ''">
+            and t.setting_key= #{settingKey}
+        </if>
+        <if test="settingType !=null and settingType != ''">
+            and t.setting_type= #{settingType}
+        </if>
+        <if test="settingName !=null and settingName != ''">
+            and t.setting_name= #{settingName}
+        </if>
+        order by t.create_time desc
+        <if test="page != -1 and page != null ">
+            limit #{page}, #{row}
+        </if>
+
+    </select>
+
+
+    <!-- 修改小区配置信息 add by wuxw 2018-07-03 -->
+    <update id="updateCommunitySettingKeyInfo" parameterType="Map">
+        update community_setting_key t set t.status_cd = #{statusCd}
+        <if test="newBId != null and newBId != ''">
+            ,t.b_id = #{newBId}
+        </if>
+        <if test="remark !=null and remark != ''">
+            , t.remark= #{remark}
+        </if>
+        <if test="settingKey !=null and settingKey != ''">
+            , t.setting_key= #{settingKey}
+        </if>
+        <if test="settingType !=null and settingType != ''">
+            , t.setting_type= #{settingType}
+        </if>
+        <if test="settingName !=null and settingName != ''">
+            , t.setting_name= #{settingName}
+        </if>
+        where 1=1
+        <if test="keyId !=null and keyId != ''">
+            and t.key_id= #{keyId}
+        </if>
+
+    </update>
+
+    <!-- 查询小区配置数量 add by wuxw 2018-07-03 -->
+    <select id="queryCommunitySettingKeysCount" parameterType="Map" resultType="Map">
+        select count(1) count
+        from community_setting_key t
+        where 1 =1
+        <if test="keyId !=null and keyId != ''">
+            and t.key_id= #{keyId}
+        </if>
+        <if test="remark !=null and remark != ''">
+            and t.remark= #{remark}
+        </if>
+        <if test="statusCd !=null and statusCd != ''">
+            and t.status_cd= #{statusCd}
+        </if>
+        <if test="settingKey !=null and settingKey != ''">
+            and t.setting_key= #{settingKey}
+        </if>
+        <if test="settingType !=null and settingType != ''">
+            and t.setting_type= #{settingType}
+        </if>
+        <if test="settingName !=null and settingName != ''">
+            and t.setting_name= #{settingName}
+        </if>
+
+
+    </select>
+
+</mapper>

+ 13 - 27
java110-generator/src/main/java/com/java110/code/TableToJson.java

@@ -7,28 +7,14 @@ import com.java110.utils.util.StringUtil;
 public class TableToJson {
 
     //show create table c_orders  用这个语句获取
-    public static final String createTableSql = "CREATE TABLE `owner_app_user` (\n" +
-            "  `app_user_id` varchar(30) NOT NULL COMMENT 'app用户ID',\n" +
-            "  `member_id` varchar(30) NOT NULL COMMENT '业主成员ID',\n" +
-            "  `b_id` varchar(30) NOT NULL COMMENT '业务Id',\n" +
-            "  `community_id` varchar(30) NOT NULL COMMENT '小区Id',\n" +
-            "  `community_name` varchar(100) NOT NULL COMMENT '小区名称',\n" +
-            "  `app_user_name` varchar(100) NOT NULL COMMENT 'app用户名称',\n" +
-            "  `id_card` varchar(20) NOT NULL COMMENT '身份证号',\n" +
-            "  `link` varchar(11) NOT NULL COMMENT '联系人手机号',\n" +
-            "  `open_id` varchar(30) NOT NULL COMMENT 'app 开放ID',\n" +
-            "  `app_type_cd` varchar(12) NOT NULL COMMENT '应用类型 10010 微信小程序',\n" +
-            "  `state` varchar(12) NOT NULL COMMENT '状态类型,10000 审核中,12000 审核成功,13000 审核失败',\n" +
-            "  `remark` varchar(200) DEFAULT NULL COMMENT '备注',\n" +
+    public static final String createTableSql = "create table community_setting_key(\n" +
+            "  key_id varchar(30) not null PRIMARY key comment '编号',\n" +
+            "  `setting_type` varchar(30) NOT NULL COMMENT '设置类型',\n" +
+            "  `setting_name` varchar(64) NOT NULL COMMENT '名称',\n" +
+            "  `setting_key` varchar(30) NOT NULL COMMENT '设置key',\n" +
+            "  `remark` varchar(512) DEFAULT NULL COMMENT '备注信息',\n" +
             "  `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',\n" +
-            "  `status_cd` varchar(2) NOT NULL DEFAULT '0' COMMENT '数据状态,详细参考c_status表,0, 在用 1失效',\n" +
-            "  `user_id` varchar(30) DEFAULT NULL COMMENT '用户ID',\n" +
-            "  `app_type` varchar(12) NOT NULL DEFAULT 'APP' COMMENT '绑定业主手机端类型',\n" +
-            "  `nickname` varchar(255) DEFAULT NULL COMMENT '昵称',\n" +
-            "  `headimgurl` varchar(255) DEFAULT NULL COMMENT '微信头像',\n" +
-            "  UNIQUE KEY `app_user_id` (`app_user_id`) USING BTREE,\n" +
-            "  UNIQUE KEY `idx_owner_app_user_id` (`app_user_id`) USING BTREE,\n" +
-            "  KEY `idx_owner_app_user_b_id` (`b_id`) USING BTREE\n" +
+            "  `status_cd` varchar(2) NOT NULL DEFAULT '0' COMMENT '数据状态0正常1失效'\n" +
             ")";
 
     public static void main(String[] args) {
@@ -41,12 +27,12 @@ public class TableToJson {
         String[] rowSqls = newSql.split("',");
         JSONObject param = new JSONObject();
         param.put("autoMove", true);
-        param.put("desc", "业主用户小区关系");
-        param.put("id", "appUserId");
-        param.put("name", "ownerAppUser");
-        param.put("shareColumn", "community_id");
-        param.put("shareName", "user");
-        param.put("shareParam", "communityId");
+        param.put("desc", "小区配置");
+        param.put("id", "keyId");
+        param.put("name", "communitySettingKey");
+        param.put("shareColumn", "key_id");
+        param.put("shareName", "community");
+        param.put("shareParam", "keyId");
         param.put("tableName", tableName);
         JSONObject paramColumn = new JSONObject();
         JSONArray requireds = new JSONArray();

+ 1 - 1
java110-generator/src/main/java/com/java110/code/newBack/BackCoderGeneratorStart.java

@@ -70,7 +70,7 @@ public class BackCoderGeneratorStart extends BaseGenerator {
         generatorInnerServiceSMOImpl.generator(data);
 
         GeneratorDtoBean generatorDtoBean = new GeneratorDtoBean();
-        //generatorDtoBean.generator(data);
+        generatorDtoBean.generator(data);
 
         GeneratorIInnerServiceSMO generatorIInnerServiceSMO = new GeneratorIInnerServiceSMO();
         generatorIInnerServiceSMO.generator(data);

+ 1 - 1
java110-generator/src/main/java/com/java110/code/newBack/GeneratorApiListener.java

@@ -14,7 +14,7 @@ public class GeneratorApiListener extends BaseGenerator {
      * @param data
      */
     public void generator(Data data) throws Exception {
-        //genneratorPo(data);             //API DataVo对象
+        genneratorPo(data);             //API DataVo对象
         genneratorSaveCmd(data);            //Api BmoImpl
         genneratorUpdateBmoImpl(data);            //Api BmoImpl
         genneratorDeleteBmoImpl(data);            //Api BmoImpl

+ 17 - 56
java110-generator/src/main/resources/newBack/template_1.json

@@ -1,71 +1,32 @@
 {
   "param": {
-    "idCard": "id_card",
-    "openId": "open_id",
-    "link": "link",
+    "keyId": "key_id",
     "remark": "remark",
     "statusCd": "status_cd",
-    "userId": "user_id",
-    "appType": "app_type",
-    "appUserName": "app_user_name",
-    "nickname": "nickname",
-    "headimgurl": "headimgurl",
-    "communityName": "community_name",
-    "state": "state",
-    "appUserId": "app_user_id",
-    "communityId": "community_id",
-    "appTypeCd": "app_type_cd",
-    "memberId": "member_id"
+    "settingKey": "setting_key",
+    "settingType": "setting_type",
+    "settingName": "setting_name"
   },
-  "name": "ownerAppUser",
-  "shareColumn": "community_id",
-  "id": "appUserId",
-  "shareName": "user",
+  "name": "communitySettingKey",
+  "shareColumn": "key_id",
+  "id": "keyId",
+  "shareName": "community",
   "autoMove": true,
   "required": [
     {
-      "msg": "app用户ID不能为空",
-      "code": "appUserId"
+      "msg": "设置类型不能为空",
+      "code": "settingType"
     },
     {
-      "msg": "业主成员ID不能为空",
-      "code": "memberId"
+      "msg": "名称不能为空",
+      "code": "settingName"
     },
     {
-      "msg": "小区Id不能为空",
-      "code": "communityId"
-    },
-    {
-      "msg": "小区名称不能为空",
-      "code": "communityName"
-    },
-    {
-      "msg": "app用户名称不能为空",
-      "code": "appUserName"
-    },
-    {
-      "msg": "身份证号不能为空",
-      "code": "idCard"
-    },
-    {
-      "msg": "联系人手机号不能为空",
-      "code": "link"
-    },
-    {
-      "msg": "app不能为空",
-      "code": "openId"
-    },
-    {
-      "msg": "应用类型不能为空",
-      "code": "appTypeCd"
-    },
-
-    {
-      "msg": "绑定业主手机端类型不能为空",
-      "code": "appType"
+      "msg": "设置key不能为空",
+      "code": "settingKey"
     }
   ],
-  "desc": "业主用户小区关系",
-  "shareParam": "communityId",
-  "tableName": "owner_app_user"
+  "desc": "小区配置",
+  "shareParam": "keyId",
+  "tableName": "community_setting_key"
 }

+ 68 - 0
java110-interface/src/main/java/com/java110/intf/community/ICommunitySettingKeyV1InnerServiceSMO.java

@@ -0,0 +1,68 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.intf.community;
+
+import com.java110.config.feign.FeignConfiguration;
+import com.java110.dto.communitySettingKey.CommunitySettingKeyDto;
+import com.java110.po.communitySettingKey.CommunitySettingKeyPo;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+
+import java.util.List;
+
+/**
+ * 类表述: 服务之前调用的接口类,不对外提供接口能力 只用于接口建调用
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@FeignClient(name = "community-service", configuration = {FeignConfiguration.class})
+@RequestMapping("/communitySettingKeyV1Api")
+public interface ICommunitySettingKeyV1InnerServiceSMO {
+
+
+    @RequestMapping(value = "/saveCommunitySettingKey", method = RequestMethod.POST)
+    public int saveCommunitySettingKey(@RequestBody  CommunitySettingKeyPo communitySettingKeyPo);
+
+    @RequestMapping(value = "/updateCommunitySettingKey", method = RequestMethod.POST)
+    public int updateCommunitySettingKey(@RequestBody  CommunitySettingKeyPo communitySettingKeyPo);
+
+    @RequestMapping(value = "/deleteCommunitySettingKey", method = RequestMethod.POST)
+    public int deleteCommunitySettingKey(@RequestBody  CommunitySettingKeyPo communitySettingKeyPo);
+
+    /**
+     * <p>查询小区楼信息</p>
+     *
+     *
+     * @param communitySettingKeyDto 数据对象分享
+     * @return CommunitySettingKeyDto 对象数据
+     */
+    @RequestMapping(value = "/queryCommunitySettingKeys", method = RequestMethod.POST)
+    List<CommunitySettingKeyDto> queryCommunitySettingKeys(@RequestBody CommunitySettingKeyDto communitySettingKeyDto);
+
+    /**
+     * 查询<p>小区楼</p>总记录数
+     *
+     * @param communitySettingKeyDto 数据对象分享
+     * @return 小区下的小区楼记录数
+     */
+    @RequestMapping(value = "/queryCommunitySettingKeysCount", method = RequestMethod.POST)
+    int queryCommunitySettingKeysCount(@RequestBody CommunitySettingKeyDto communitySettingKeyDto);
+}

+ 71 - 0
service-community/src/main/java/com/java110/community/cmd/communitySettingKey/DeleteCommunitySettingKeyCmd.java

@@ -0,0 +1,71 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.cmd.communitySettingKey;
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.core.annotation.Java110Cmd;
+import com.java110.core.annotation.Java110Transactional;
+import com.java110.core.context.ICmdDataFlowContext;
+import com.java110.core.event.cmd.AbstractServiceCmdListener;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.intf.community.ICommunitySettingKeyV1InnerServiceSMO;
+import com.java110.po.communitySettingKey.CommunitySettingKeyPo;
+import com.java110.utils.exception.CmdException;
+import com.java110.utils.util.Assert;
+import com.java110.utils.util.BeanConvertUtil;
+import com.java110.vo.ResultVo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+ * 类表述:删除
+ * 服务编码:communitySettingKey.deleteCommunitySettingKey
+ * 请求路劲:/app/communitySettingKey.DeleteCommunitySettingKey
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@Java110Cmd(serviceCode = "communitySettingKey.deleteCommunitySettingKey")
+public class DeleteCommunitySettingKeyCmd extends AbstractServiceCmdListener {
+    private static Logger logger = LoggerFactory.getLogger(DeleteCommunitySettingKeyCmd.class);
+
+    @Autowired
+    private ICommunitySettingKeyV1InnerServiceSMO communitySettingKeyV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        Assert.hasKeyAndValue(reqJson, "keyId", "keyId不能为空");
+        Assert.hasKeyAndValue(reqJson, "keyId", "keyId不能为空");
+
+    }
+
+    @Override
+    @Java110Transactional
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+        CommunitySettingKeyPo communitySettingKeyPo = BeanConvertUtil.covertBean(reqJson, CommunitySettingKeyPo.class);
+        int flag = communitySettingKeyV1InnerServiceSMOImpl.deleteCommunitySettingKey(communitySettingKeyPo);
+
+        if (flag < 1) {
+            throw new CmdException("删除数据失败");
+        }
+
+        cmdDataFlowContext.setResponseEntity(ResultVo.success());
+    }
+}

+ 84 - 0
service-community/src/main/java/com/java110/community/cmd/communitySettingKey/ListCommunitySettingKeyCmd.java

@@ -0,0 +1,84 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.cmd.communitySettingKey;
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.core.annotation.Java110Cmd;
+import com.java110.core.annotation.Java110Transactional;
+import com.java110.core.context.ICmdDataFlowContext;
+import com.java110.core.event.cmd.AbstractServiceCmdListener;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.core.factory.GenerateCodeFactory;
+import com.java110.intf.community.ICommunitySettingKeyV1InnerServiceSMO;
+import com.java110.po.communitySettingKey.CommunitySettingKeyPo;
+import com.java110.utils.exception.CmdException;
+import com.java110.utils.util.Assert;
+import com.java110.utils.util.BeanConvertUtil;
+import com.java110.vo.ResultVo;
+import org.springframework.beans.factory.annotation.Autowired;
+import com.java110.dto.communitySettingKey.CommunitySettingKeyDto;
+import java.util.List;
+import java.util.ArrayList;
+import org.springframework.http.ResponseEntity;
+import org.springframework.http.HttpStatus;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * 类表述:查询
+ * 服务编码:communitySettingKey.listCommunitySettingKey
+ * 请求路劲:/app/communitySettingKey.ListCommunitySettingKey
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@Java110Cmd(serviceCode = "communitySettingKey.listCommunitySettingKey")
+public class ListCommunitySettingKeyCmd extends AbstractServiceCmdListener {
+
+  private static Logger logger = LoggerFactory.getLogger(ListCommunitySettingKeyCmd.class);
+    @Autowired
+    private ICommunitySettingKeyV1InnerServiceSMO communitySettingKeyV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        super.validatePageInfo(reqJson);
+    }
+
+    @Override
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+           CommunitySettingKeyDto communitySettingKeyDto = BeanConvertUtil.covertBean(reqJson, CommunitySettingKeyDto.class);
+
+           int count = communitySettingKeyV1InnerServiceSMOImpl.queryCommunitySettingKeysCount(communitySettingKeyDto);
+
+           List<CommunitySettingKeyDto> communitySettingKeyDtos = null;
+
+           if (count > 0) {
+               communitySettingKeyDtos = communitySettingKeyV1InnerServiceSMOImpl.queryCommunitySettingKeys(communitySettingKeyDto);
+           } else {
+               communitySettingKeyDtos = new ArrayList<>();
+           }
+
+           ResultVo resultVo = new ResultVo((int) Math.ceil((double) count / (double) reqJson.getInteger("row")), count, communitySettingKeyDtos);
+
+           ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK);
+
+           cmdDataFlowContext.setResponseEntity(responseEntity);
+    }
+}

+ 77 - 0
service-community/src/main/java/com/java110/community/cmd/communitySettingKey/SaveCommunitySettingKeyCmd.java

@@ -0,0 +1,77 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.cmd.communitySettingKey;
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.core.annotation.Java110Cmd;
+import com.java110.core.annotation.Java110Transactional;
+import com.java110.core.context.ICmdDataFlowContext;
+import com.java110.core.event.cmd.AbstractServiceCmdListener;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.core.factory.GenerateCodeFactory;
+import com.java110.intf.community.ICommunitySettingKeyV1InnerServiceSMO;
+import com.java110.po.communitySettingKey.CommunitySettingKeyPo;
+import com.java110.utils.exception.CmdException;
+import com.java110.utils.util.Assert;
+import com.java110.utils.util.BeanConvertUtil;
+import com.java110.vo.ResultVo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+
+/**
+ * 类表述:保存
+ * 服务编码:communitySettingKey.saveCommunitySettingKey
+ * 请求路劲:/app/communitySettingKey.SaveCommunitySettingKey
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@Java110Cmd(serviceCode = "communitySettingKey.saveCommunitySettingKey")
+public class SaveCommunitySettingKeyCmd extends AbstractServiceCmdListener {
+
+    private static Logger logger = LoggerFactory.getLogger(SaveCommunitySettingKeyCmd.class);
+
+    public static final String CODE_PREFIX_ID = "10";
+
+    @Autowired
+    private ICommunitySettingKeyV1InnerServiceSMO communitySettingKeyV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        Assert.hasKeyAndValue(reqJson, "settingType", "请求报文中未包含settingType");
+        Assert.hasKeyAndValue(reqJson, "settingName", "请求报文中未包含settingName");
+        Assert.hasKeyAndValue(reqJson, "settingKey", "请求报文中未包含settingKey");
+
+    }
+
+    @Override
+    @Java110Transactional
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+        CommunitySettingKeyPo communitySettingKeyPo = BeanConvertUtil.covertBean(reqJson, CommunitySettingKeyPo.class);
+        communitySettingKeyPo.setKeyId(GenerateCodeFactory.getGeneratorId(CODE_PREFIX_ID));
+        int flag = communitySettingKeyV1InnerServiceSMOImpl.saveCommunitySettingKey(communitySettingKeyPo);
+
+        if (flag < 1) {
+            throw new CmdException("保存数据失败");
+        }
+
+        cmdDataFlowContext.setResponseEntity(ResultVo.success());
+    }
+}

+ 74 - 0
service-community/src/main/java/com/java110/community/cmd/communitySettingKey/UpdateCommunitySettingKeyCmd.java

@@ -0,0 +1,74 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.cmd.communitySettingKey;
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.core.annotation.Java110Cmd;
+import com.java110.core.annotation.Java110Transactional;
+import com.java110.core.context.ICmdDataFlowContext;
+import com.java110.core.event.cmd.AbstractServiceCmdListener;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.intf.community.ICommunitySettingKeyV1InnerServiceSMO;
+import com.java110.po.communitySettingKey.CommunitySettingKeyPo;
+import com.java110.utils.exception.CmdException;
+import com.java110.utils.util.Assert;
+import com.java110.utils.util.BeanConvertUtil;
+import com.java110.vo.ResultVo;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+
+
+/**
+ * 类表述:更新
+ * 服务编码:communitySettingKey.updateCommunitySettingKey
+ * 请求路劲:/app/communitySettingKey.UpdateCommunitySettingKey
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@Java110Cmd(serviceCode = "communitySettingKey.updateCommunitySettingKey")
+public class UpdateCommunitySettingKeyCmd extends AbstractServiceCmdListener {
+
+    private static Logger logger = LoggerFactory.getLogger(UpdateCommunitySettingKeyCmd.class);
+
+
+    @Autowired
+    private ICommunitySettingKeyV1InnerServiceSMO communitySettingKeyV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        Assert.hasKeyAndValue(reqJson, "keyId", "keyId不能为空");
+        Assert.hasKeyAndValue(reqJson, "keyId", "keyId不能为空");
+
+    }
+
+    @Override
+    @Java110Transactional
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+        CommunitySettingKeyPo communitySettingKeyPo = BeanConvertUtil.covertBean(reqJson, CommunitySettingKeyPo.class);
+        int flag = communitySettingKeyV1InnerServiceSMOImpl.updateCommunitySettingKey(communitySettingKeyPo);
+
+        if (flag < 1) {
+            throw new CmdException("更新数据失败");
+        }
+
+        cmdDataFlowContext.setResponseEntity(ResultVo.success());
+    }
+}

+ 77 - 0
service-community/src/main/java/com/java110/community/dao/ICommunitySettingKeyV1ServiceDao.java

@@ -0,0 +1,77 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.dao;
+
+
+import com.java110.utils.exception.DAOException;
+import com.java110.entity.merchant.BoMerchant;
+import com.java110.entity.merchant.BoMerchantAttr;
+import com.java110.entity.merchant.Merchant;
+import com.java110.entity.merchant.MerchantAttr;
+
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 类表述:
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+public interface ICommunitySettingKeyV1ServiceDao {
+
+
+    /**
+     * 保存 小区配置信息
+     * @param info
+     * @throws DAOException DAO异常
+     */
+    int saveCommunitySettingKeyInfo(Map info) throws DAOException;
+
+
+
+
+    /**
+     * 查询小区配置信息(instance过程)
+     * 根据bId 查询小区配置信息
+     * @param info bId 信息
+     * @return 小区配置信息
+     * @throws DAOException DAO异常
+     */
+    List<Map> getCommunitySettingKeyInfo(Map info) throws DAOException;
+
+
+
+    /**
+     * 修改小区配置信息
+     * @param info 修改信息
+     * @throws DAOException DAO异常
+     */
+    int updateCommunitySettingKeyInfo(Map info) throws DAOException;
+
+
+    /**
+     * 查询小区配置总数
+     *
+     * @param info 小区配置信息
+     * @return 小区配置数量
+     */
+    int queryCommunitySettingKeysCount(Map info);
+
+}

+ 112 - 0
service-community/src/main/java/com/java110/community/dao/impl/CommunitySettingKeyV1ServiceDaoImpl.java

@@ -0,0 +1,112 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.dao.impl;
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.utils.constant.ResponseConstant;
+import com.java110.utils.exception.DAOException;
+import com.java110.utils.util.DateUtil;
+import com.java110.core.base.dao.BaseServiceDao;
+import com.java110.community.dao.ICommunitySettingKeyV1ServiceDao;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 类表述:
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@Service("communitySettingKeyV1ServiceDaoImpl")
+public class CommunitySettingKeyV1ServiceDaoImpl extends BaseServiceDao implements ICommunitySettingKeyV1ServiceDao {
+
+    private static Logger logger = LoggerFactory.getLogger(CommunitySettingKeyV1ServiceDaoImpl.class);
+
+
+
+
+
+    /**
+     * 保存小区配置信息 到 instance
+     * @param info   bId 信息
+     * @throws DAOException DAO异常
+     */
+    @Override
+    public int saveCommunitySettingKeyInfo(Map info) throws DAOException {
+        logger.debug("保存 saveCommunitySettingKeyInfo 入参 info : {}",info);
+
+        int saveFlag = sqlSessionTemplate.insert("communitySettingKeyV1ServiceDaoImpl.saveCommunitySettingKeyInfo",info);
+
+        return saveFlag;
+    }
+
+
+    /**
+     * 查询小区配置信息(instance)
+     * @param info bId 信息
+     * @return List<Map>
+     * @throws DAOException DAO异常
+     */
+    @Override
+    public List<Map> getCommunitySettingKeyInfo(Map info) throws DAOException {
+        logger.debug("查询 getCommunitySettingKeyInfo 入参 info : {}",info);
+
+        List<Map> businessCommunitySettingKeyInfos = sqlSessionTemplate.selectList("communitySettingKeyV1ServiceDaoImpl.getCommunitySettingKeyInfo",info);
+
+        return businessCommunitySettingKeyInfos;
+    }
+
+
+    /**
+     * 修改小区配置信息
+     * @param info 修改信息
+     * @throws DAOException DAO异常
+     */
+    @Override
+    public int updateCommunitySettingKeyInfo(Map info) throws DAOException {
+        logger.debug("修改 updateCommunitySettingKeyInfo 入参 info : {}",info);
+
+        int saveFlag = sqlSessionTemplate.update("communitySettingKeyV1ServiceDaoImpl.updateCommunitySettingKeyInfo",info);
+
+        return saveFlag;
+    }
+
+     /**
+     * 查询小区配置数量
+     * @param info 小区配置信息
+     * @return 小区配置数量
+     */
+    @Override
+    public int queryCommunitySettingKeysCount(Map info) {
+        logger.debug("查询 queryCommunitySettingKeysCount 入参 info : {}",info);
+
+        List<Map> businessCommunitySettingKeyInfos = sqlSessionTemplate.selectList("communitySettingKeyV1ServiceDaoImpl.queryCommunitySettingKeysCount", info);
+        if (businessCommunitySettingKeyInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessCommunitySettingKeyInfos.get(0).get("count").toString());
+    }
+
+
+}

+ 89 - 0
service-community/src/main/java/com/java110/community/smo/impl/CommunitySettingKeyV1InnerServiceSMOImpl.java

@@ -0,0 +1,89 @@
+/*
+ * Copyright 2017-2020 吴学文 and java110 team.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.java110.community.smo.impl;
+
+
+import com.java110.community.dao.ICommunitySettingKeyV1ServiceDao;
+import com.java110.intf.community.ICommunitySettingKeyV1InnerServiceSMO;
+import com.java110.dto.communitySettingKey.CommunitySettingKeyDto;
+import com.java110.po.communitySettingKey.CommunitySettingKeyPo;
+import com.java110.utils.util.BeanConvertUtil;
+import com.java110.core.base.smo.BaseServiceSMO;
+import com.java110.dto.user.UserDto;
+import com.java110.dto.PageDto;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * 类表述: 服务之前调用的接口实现类,不对外提供接口能力 只用于接口建调用
+ * add by 吴学文 at 2021-10-10 10:56:18 mail: 928255095@qq.com
+ * open source address: https://gitee.com/wuxw7/MicroCommunity
+ * 官网:http://www.homecommunity.cn
+ * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
+ * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
+ */
+@RestController
+public class CommunitySettingKeyV1InnerServiceSMOImpl extends BaseServiceSMO implements ICommunitySettingKeyV1InnerServiceSMO {
+
+    @Autowired
+    private ICommunitySettingKeyV1ServiceDao communitySettingKeyV1ServiceDaoImpl;
+
+
+    @Override
+    public int saveCommunitySettingKey(@RequestBody  CommunitySettingKeyPo communitySettingKeyPo) {
+        int saveFlag = communitySettingKeyV1ServiceDaoImpl.saveCommunitySettingKeyInfo(BeanConvertUtil.beanCovertMap(communitySettingKeyPo));
+        return saveFlag;
+    }
+
+     @Override
+    public int updateCommunitySettingKey(@RequestBody  CommunitySettingKeyPo communitySettingKeyPo) {
+        int saveFlag = communitySettingKeyV1ServiceDaoImpl.updateCommunitySettingKeyInfo(BeanConvertUtil.beanCovertMap(communitySettingKeyPo));
+        return saveFlag;
+    }
+
+     @Override
+    public int deleteCommunitySettingKey(@RequestBody  CommunitySettingKeyPo communitySettingKeyPo) {
+       communitySettingKeyPo.setStatusCd("1");
+       int saveFlag = communitySettingKeyV1ServiceDaoImpl.updateCommunitySettingKeyInfo(BeanConvertUtil.beanCovertMap(communitySettingKeyPo));
+       return saveFlag;
+    }
+
+    @Override
+    public List<CommunitySettingKeyDto> queryCommunitySettingKeys(@RequestBody  CommunitySettingKeyDto communitySettingKeyDto) {
+
+        //校验是否传了 分页信息
+
+        int page = communitySettingKeyDto.getPage();
+
+        if (page != PageDto.DEFAULT_PAGE) {
+            communitySettingKeyDto.setPage((page - 1) * communitySettingKeyDto.getRow());
+        }
+
+        List<CommunitySettingKeyDto> communitySettingKeys = BeanConvertUtil.covertBeanList(communitySettingKeyV1ServiceDaoImpl.getCommunitySettingKeyInfo(BeanConvertUtil.beanCovertMap(communitySettingKeyDto)), CommunitySettingKeyDto.class);
+
+        return communitySettingKeys;
+    }
+
+
+    @Override
+    public int queryCommunitySettingKeysCount(@RequestBody CommunitySettingKeyDto communitySettingKeyDto) {
+        return communitySettingKeyV1ServiceDaoImpl.queryCommunitySettingKeysCount(BeanConvertUtil.beanCovertMap(communitySettingKeyDto));    }
+
+}