java110 3 роки тому
батько
коміт
d70632f685
18 змінених файлів з 848 додано та 257 видалено
  1. 10 0
      java110-bean/src/main/java/com/java110/po/repair/RepairSettingPo.java
  2. 160 0
      java110-db/src/main/resources/mapper/community/RepairSettingV1ServiceDaoImplMapper.xml
  3. 68 0
      java110-interface/src/main/java/com/java110/intf/community/IRepairSettingV1InnerServiceSMO.java
  4. 4 3
      java110-interface/src/main/java/com/java110/intf/community/IRepairTypeUserV1InnerServiceSMO.java
  5. 0 49
      service-api/src/main/java/com/java110/api/listener/repair/DeleteRepairSettingListener.java
  6. 0 84
      service-api/src/main/java/com/java110/api/listener/repair/ListRepairSettingsListener.java
  7. 0 53
      service-api/src/main/java/com/java110/api/listener/repair/SaveRepairSettingListener.java
  8. 0 52
      service-api/src/main/java/com/java110/api/listener/repair/UpdateRepairSettingListener.java
  9. 70 0
      service-community/src/main/java/com/java110/community/cmd/repair/DeleteRepairSettingCmd.java
  10. 83 0
      service-community/src/main/java/com/java110/community/cmd/repair/ListRepairSettingsCmd.java
  11. 81 0
      service-community/src/main/java/com/java110/community/cmd/repair/SaveRepairSettingCmd.java
  12. 79 0
      service-community/src/main/java/com/java110/community/cmd/repair/UpdateRepairSettingCmd.java
  13. 77 0
      service-community/src/main/java/com/java110/community/dao/IRepairSettingV1ServiceDao.java
  14. 1 1
      service-community/src/main/java/com/java110/community/dao/IRepairTypeUserV1ServiceDao.java
  15. 112 0
      service-community/src/main/java/com/java110/community/dao/impl/RepairSettingV1ServiceDaoImpl.java
  16. 1 1
      service-community/src/main/java/com/java110/community/dao/impl/RepairTypeUserV1ServiceDaoImpl.java
  17. 89 0
      service-community/src/main/java/com/java110/community/smo/impl/RepairSettingV1InnerServiceSMOImpl.java
  18. 13 14
      service-community/src/main/java/com/java110/community/smo/impl/RepairTypeUserV1InnerServiceSMOImpl.java

+ 10 - 0
java110-bean/src/main/java/com/java110/po/repair/RepairSettingPo.java

@@ -17,6 +17,8 @@ public class RepairSettingPo implements Serializable {
     private String returnVisitFlag;
     private String repairSettingType;
 
+    private String statusCd;
+
 
     public String getRepairTypeName() {
         return repairTypeName;
@@ -106,4 +108,12 @@ public class RepairSettingPo implements Serializable {
     public void setRepairSettingType(String repairSettingType) {
         this.repairSettingType = repairSettingType;
     }
+
+    public String getStatusCd() {
+        return statusCd;
+    }
+
+    public void setStatusCd(String statusCd) {
+        this.statusCd = statusCd;
+    }
 }

Різницю між файлами не показано, бо вона завелика
+ 160 - 0
java110-db/src/main/resources/mapper/community/RepairSettingV1ServiceDaoImplMapper.xml


+ 68 - 0
java110-interface/src/main/java/com/java110/intf/community/IRepairSettingV1InnerServiceSMO.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.repair.RepairSettingDto;
+import com.java110.po.repair.RepairSettingPo;
+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 2022-08-06 12:43:34 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("/repairSettingV1Api")
+public interface IRepairSettingV1InnerServiceSMO {
+
+
+    @RequestMapping(value = "/saveRepairSetting", method = RequestMethod.POST)
+    public int saveRepairSetting(@RequestBody RepairSettingPo repairSettingPo);
+
+    @RequestMapping(value = "/updateRepairSetting", method = RequestMethod.POST)
+    public int updateRepairSetting(@RequestBody  RepairSettingPo repairSettingPo);
+
+    @RequestMapping(value = "/deleteRepairSetting", method = RequestMethod.POST)
+    public int deleteRepairSetting(@RequestBody  RepairSettingPo repairSettingPo);
+
+    /**
+     * <p>查询小区楼信息</p>
+     *
+     *
+     * @param repairSettingDto 数据对象分享
+     * @return RepairSettingDto 对象数据
+     */
+    @RequestMapping(value = "/queryRepairSettings", method = RequestMethod.POST)
+    List<RepairSettingDto> queryRepairSettings(@RequestBody RepairSettingDto repairSettingDto);
+
+    /**
+     * 查询<p>小区楼</p>总记录数
+     *
+     * @param repairSettingDto 数据对象分享
+     * @return 小区下的小区楼记录数
+     */
+    @RequestMapping(value = "/queryRepairSettingsCount", method = RequestMethod.POST)
+    int queryRepairSettingsCount(@RequestBody RepairSettingDto repairSettingDto);
+}

+ 4 - 3
java110-interface/src/main/java/com/java110/intf/community/IRepairTypeUserV1InnerServiceSMO.java

@@ -27,7 +27,7 @@ import java.util.List;
 
 /**
  * 类表述: 服务之前调用的接口类,不对外提供接口能力 只用于接口建调用
- * add by 吴学文 at 2022-08-06 12:27:40 mail: 928255095@qq.com
+ * add by 吴学文 at 2022-08-06 12:41:50 mail: 928255095@qq.com
  * open source address: https://gitee.com/wuxw7/MicroCommunity
  * 官网:http://www.homecommunity.cn
  * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
@@ -42,14 +42,15 @@ public interface IRepairTypeUserV1InnerServiceSMO {
     public int saveRepairTypeUser(@RequestBody RepairTypeUserPo repairTypeUserPo);
 
     @RequestMapping(value = "/updateRepairTypeUser", method = RequestMethod.POST)
-    public int updateRepairTypeUser(@RequestBody RepairTypeUserPo repairTypeUserPo);
+    public int updateRepairTypeUser(@RequestBody  RepairTypeUserPo repairTypeUserPo);
 
     @RequestMapping(value = "/deleteRepairTypeUser", method = RequestMethod.POST)
-    public int deleteRepairTypeUser(@RequestBody RepairTypeUserPo repairTypeUserPo);
+    public int deleteRepairTypeUser(@RequestBody  RepairTypeUserPo repairTypeUserPo);
 
     /**
      * <p>查询小区楼信息</p>
      *
+     *
      * @param repairTypeUserDto 数据对象分享
      * @return RepairTypeUserDto 对象数据
      */

+ 0 - 49
service-api/src/main/java/com/java110/api/listener/repair/DeleteRepairSettingListener.java

@@ -1,49 +0,0 @@
-package com.java110.api.listener.repair;
-
-import com.alibaba.fastjson.JSONObject;
-import com.java110.api.bmo.repair.IRepairSettingBMO;
-import com.java110.api.listener.AbstractServiceApiPlusListener;
-import com.java110.core.annotation.Java110Listener;
-import com.java110.core.context.DataFlowContext;
-import com.java110.core.event.service.api.ServiceDataFlowEvent;
-import com.java110.utils.constant.ServiceCodeRepairSettingConstant;
-import com.java110.utils.util.Assert;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.http.HttpMethod;
-
-
-/**
- * 保存小区侦听
- * add by wuxw 2019-06-30
- */
-@Java110Listener("deleteRepairSettingListener")
-public class DeleteRepairSettingListener extends AbstractServiceApiPlusListener {
-
-    @Autowired
-    private IRepairSettingBMO repairSettingBMOImpl;
-
-    @Override
-    protected void validate(ServiceDataFlowEvent event, JSONObject reqJson) {
-        //Assert.hasKeyAndValue(reqJson, "xxx", "xxx");
-
-        Assert.hasKeyAndValue(reqJson, "settingId", "settingId不能为空");
-
-    }
-
-    @Override
-    protected void doSoService(ServiceDataFlowEvent event, DataFlowContext context, JSONObject reqJson) {
-
-        repairSettingBMOImpl.deleteRepairSetting(reqJson, context);
-    }
-
-    @Override
-    public String getServiceCode() {
-        return ServiceCodeRepairSettingConstant.DELETE_REPAIRSETTING;
-    }
-
-    @Override
-    public HttpMethod getHttpMethod() {
-        return HttpMethod.POST;
-    }
-
-}

+ 0 - 84
service-api/src/main/java/com/java110/api/listener/repair/ListRepairSettingsListener.java

@@ -1,84 +0,0 @@
-package com.java110.api.listener.repair;
-
-import com.alibaba.fastjson.JSONObject;
-import com.java110.api.listener.AbstractServiceApiListener;
-import com.java110.core.annotation.Java110Listener;
-import com.java110.core.context.DataFlowContext;
-import com.java110.core.event.service.api.ServiceDataFlowEvent;
-import com.java110.dto.repair.RepairSettingDto;
-import com.java110.intf.community.IRepairSettingInnerServiceSMO;
-import com.java110.utils.constant.ServiceCodeRepairSettingConstant;
-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 org.springframework.http.HttpMethod;
-import org.springframework.http.HttpStatus;
-import org.springframework.http.ResponseEntity;
-
-import java.util.ArrayList;
-import java.util.List;
-
-/**
- * 查询小区侦听类
- */
-@Java110Listener("listRepairSettingsListener")
-public class ListRepairSettingsListener extends AbstractServiceApiListener {
-
-    @Autowired
-    private IRepairSettingInnerServiceSMO repairSettingInnerServiceSMOImpl;
-
-    @Override
-    public String getServiceCode() {
-        return ServiceCodeRepairSettingConstant.LIST_REPAIRSETTINGS;
-    }
-
-    @Override
-    public HttpMethod getHttpMethod() {
-        return HttpMethod.GET;
-    }
-
-
-    @Override
-    public int getOrder() {
-        return DEFAULT_ORDER;
-    }
-
-
-    public IRepairSettingInnerServiceSMO getRepairSettingInnerServiceSMOImpl() {
-        return repairSettingInnerServiceSMOImpl;
-    }
-
-    public void setRepairSettingInnerServiceSMOImpl(IRepairSettingInnerServiceSMO repairSettingInnerServiceSMOImpl) {
-        this.repairSettingInnerServiceSMOImpl = repairSettingInnerServiceSMOImpl;
-    }
-
-    @Override
-    protected void validate(ServiceDataFlowEvent event, JSONObject reqJson) {
-        super.validatePageInfo(reqJson);
-        Assert.hasKeyAndValue(reqJson, "communityId", "未包含小区信息");
-    }
-
-    @Override
-    protected void doSoService(ServiceDataFlowEvent event, DataFlowContext context, JSONObject reqJson) {
-
-        RepairSettingDto repairSettingDto = BeanConvertUtil.covertBean(reqJson, RepairSettingDto.class);
-
-        int count = repairSettingInnerServiceSMOImpl.queryRepairSettingsCount(repairSettingDto);
-
-        List<RepairSettingDto> repairSettingDtos = null;
-
-        if (count > 0) {
-            repairSettingDtos = repairSettingInnerServiceSMOImpl.queryRepairSettings(repairSettingDto);
-        } else {
-            repairSettingDtos = new ArrayList<>();
-        }
-
-        ResultVo resultVo = new ResultVo((int) Math.ceil((double) count / (double) reqJson.getInteger("row")), count, repairSettingDtos);
-
-        ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK);
-
-        context.setResponseEntity(responseEntity);
-
-    }
-}

+ 0 - 53
service-api/src/main/java/com/java110/api/listener/repair/SaveRepairSettingListener.java

@@ -1,53 +0,0 @@
-package com.java110.api.listener.repair;
-
-import com.alibaba.fastjson.JSONObject;
-import com.java110.api.bmo.repair.IRepairSettingBMO;
-import com.java110.api.listener.AbstractServiceApiPlusListener;
-import com.java110.core.annotation.Java110Listener;
-import com.java110.core.context.DataFlowContext;
-import com.java110.core.event.service.api.ServiceDataFlowEvent;
-import com.java110.dto.repair.RepairTypeUserDto;
-import com.java110.utils.constant.ServiceCodeRepairSettingConstant;
-import com.java110.utils.util.Assert;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.http.HttpMethod;
-
-/**
- * 保存商户侦听
- * add by wuxw 2019-06-30
- */
-@Java110Listener("saveRepairSettingListener")
-public class SaveRepairSettingListener extends AbstractServiceApiPlusListener {
-
-    @Autowired
-    private IRepairSettingBMO repairSettingBMOImpl;
-
-    @Override
-    protected void validate(ServiceDataFlowEvent event, JSONObject reqJson) {
-        //Assert.hasKeyAndValue(reqJson, "xxx", "xxx");
-
-        Assert.hasKeyAndValue(reqJson, "repairTypeName", "请求报文中未包含repairTypeName");
-        Assert.hasKeyAndValue(reqJson, "repairWay", "请求报文中未包含repairWay");
-        Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
-        Assert.hasKeyAndValue(reqJson, "publicArea", "请求报文中未包含公共区域");
-        Assert.hasKeyAndValue(reqJson, "payFeeFlag", "请求报文中未包含收费情况");
-        Assert.hasKeyAndValue(reqJson, "returnVisitFlag", "请求报文中未包含回访设置");
-
-    }
-
-    @Override
-    protected void doSoService(ServiceDataFlowEvent event, DataFlowContext context, JSONObject reqJson) {
-        repairSettingBMOImpl.addRepairSetting(reqJson, context);
-    }
-
-    @Override
-    public String getServiceCode() {
-        return ServiceCodeRepairSettingConstant.ADD_REPAIRSETTING;
-    }
-
-    @Override
-    public HttpMethod getHttpMethod() {
-        return HttpMethod.POST;
-    }
-
-}

+ 0 - 52
service-api/src/main/java/com/java110/api/listener/repair/UpdateRepairSettingListener.java

@@ -1,52 +0,0 @@
-package com.java110.api.listener.repair;
-
-import com.alibaba.fastjson.JSONObject;
-import com.java110.api.bmo.repair.IRepairSettingBMO;
-import com.java110.api.listener.AbstractServiceApiPlusListener;
-import com.java110.core.annotation.Java110Listener;
-import com.java110.core.context.DataFlowContext;
-import com.java110.core.event.service.api.ServiceDataFlowEvent;
-import com.java110.utils.constant.ServiceCodeRepairSettingConstant;
-import com.java110.utils.util.Assert;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.http.HttpMethod;
-
-
-/**
- * 保存报修设置侦听
- * add by wuxw 2019-06-30
- */
-@Java110Listener("updateRepairSettingListener")
-public class UpdateRepairSettingListener extends AbstractServiceApiPlusListener {
-
-    @Autowired
-    private IRepairSettingBMO repairSettingBMOImpl;
-
-    @Override
-    protected void validate(ServiceDataFlowEvent event, JSONObject reqJson) {
-        Assert.hasKeyAndValue(reqJson, "settingId", "settingId不能为空");
-        Assert.hasKeyAndValue(reqJson, "repairTypeName", "请求报文中未包含repairTypeName");
-        Assert.hasKeyAndValue(reqJson, "repairWay", "请求报文中未包含repairWay");
-        Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
-        Assert.hasKeyAndValue(reqJson, "publicArea", "请求报文中未包含公共区域");
-        Assert.hasKeyAndValue(reqJson, "payFeeFlag", "请求报文中未包含收费情况");
-        Assert.hasKeyAndValue(reqJson, "returnVisitFlag", "请求报文中未包含回访设置");
-
-    }
-
-    @Override
-    protected void doSoService(ServiceDataFlowEvent event, DataFlowContext context, JSONObject reqJson) {
-
-        repairSettingBMOImpl.updateRepairSetting(reqJson, context);
-    }
-
-    @Override
-    public String getServiceCode() {
-        return ServiceCodeRepairSettingConstant.UPDATE_REPAIRSETTING;
-    }
-
-    @Override
-    public HttpMethod getHttpMethod() {
-        return HttpMethod.POST;
-    }
-}

+ 70 - 0
service-community/src/main/java/com/java110/community/cmd/repair/DeleteRepairSettingCmd.java

@@ -0,0 +1,70 @@
+/*
+ * 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.repair;
+
+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.Cmd;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.intf.community.IRepairSettingV1InnerServiceSMO;
+import com.java110.po.repair.RepairSettingPo;
+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 org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+/**
+ * 类表述:删除
+ * 服务编码:repairSetting.deleteRepairSetting
+ * 请求路劲:/app/repairSetting.DeleteRepairSetting
+ * add by 吴学文 at 2022-08-06 12:43:34 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 = "repair.deleteRepairSetting")
+public class DeleteRepairSettingCmd extends Cmd {
+  private static Logger logger = LoggerFactory.getLogger(DeleteRepairSettingCmd.class);
+
+    @Autowired
+    private IRepairSettingV1InnerServiceSMO repairSettingV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        Assert.hasKeyAndValue(reqJson, "settingId", "settingId不能为空");
+Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空");
+
+    }
+
+    @Override
+    @Java110Transactional
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+       RepairSettingPo repairSettingPo = BeanConvertUtil.covertBean(reqJson, RepairSettingPo.class);
+        int flag = repairSettingV1InnerServiceSMOImpl.deleteRepairSetting(repairSettingPo);
+
+        if (flag < 1) {
+            throw new CmdException("删除数据失败");
+        }
+
+        cmdDataFlowContext.setResponseEntity(ResultVo.success());
+    }
+}

+ 83 - 0
service-community/src/main/java/com/java110/community/cmd/repair/ListRepairSettingsCmd.java

@@ -0,0 +1,83 @@
+/*
+ * 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.repair;
+
+import com.alibaba.fastjson.JSONObject;
+import com.java110.core.annotation.Java110Cmd;
+import com.java110.core.context.ICmdDataFlowContext;
+import com.java110.core.event.cmd.Cmd;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.dto.repair.RepairSettingDto;
+import com.java110.intf.community.IRepairSettingInnerServiceSMO;
+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;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.ResponseEntity;
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+/**
+ * 类表述:查询
+ * 服务编码:repairSetting.listRepairSetting
+ * 请求路劲:/app/repairSetting.ListRepairSetting
+ * add by 吴学文 at 2022-08-06 12:43:34 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 = "repair.listRepairSettings")
+public class ListRepairSettingsCmd extends Cmd {
+
+    private static Logger logger = LoggerFactory.getLogger(ListRepairSettingsCmd.class);
+    @Autowired
+    private IRepairSettingInnerServiceSMO repairSettingInnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        super.validatePageInfo(reqJson);
+        Assert.hasKeyAndValue(reqJson, "communityId", "未包含小区信息");
+    }
+
+    @Override
+    public void doCmd(CmdEvent event, ICmdDataFlowContext context, JSONObject reqJson) throws CmdException {
+
+        RepairSettingDto repairSettingDto = BeanConvertUtil.covertBean(reqJson, RepairSettingDto.class);
+
+        int count = repairSettingInnerServiceSMOImpl.queryRepairSettingsCount(repairSettingDto);
+
+        List<RepairSettingDto> repairSettingDtos = null;
+
+        if (count > 0) {
+            repairSettingDtos = repairSettingInnerServiceSMOImpl.queryRepairSettings(repairSettingDto);
+        } else {
+            repairSettingDtos = new ArrayList<>();
+        }
+
+        ResultVo resultVo = new ResultVo((int) Math.ceil((double) count / (double) reqJson.getInteger("row")), count, repairSettingDtos);
+
+        ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK);
+
+        context.setResponseEntity(responseEntity);
+    }
+}

+ 81 - 0
service-community/src/main/java/com/java110/community/cmd/repair/SaveRepairSettingCmd.java

@@ -0,0 +1,81 @@
+/*
+ * 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.repair;
+
+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.Cmd;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.core.factory.GenerateCodeFactory;
+import com.java110.intf.community.IRepairSettingV1InnerServiceSMO;
+import com.java110.po.repair.RepairSettingPo;
+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;
+
+/**
+ * 类表述:保存
+ * 服务编码:repairSetting.saveRepairSetting
+ * 请求路劲:/app/repairSetting.SaveRepairSetting
+ * add by 吴学文 at 2022-08-06 12:43:34 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 = "repair.saveRepairSetting")
+public class SaveRepairSettingCmd extends Cmd {
+
+    private static Logger logger = LoggerFactory.getLogger(SaveRepairSettingCmd.class);
+
+    public static final String CODE_PREFIX_ID = "10";
+
+    @Autowired
+    private IRepairSettingV1InnerServiceSMO repairSettingV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        Assert.hasKeyAndValue(reqJson, "repairTypeName", "请求报文中未包含repairTypeName");
+        Assert.hasKeyAndValue(reqJson, "repairWay", "请求报文中未包含repairWay");
+        Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
+        Assert.hasKeyAndValue(reqJson, "publicArea", "请求报文中未包含公共区域");
+        Assert.hasKeyAndValue(reqJson, "payFeeFlag", "请求报文中未包含收费情况");
+        Assert.hasKeyAndValue(reqJson, "returnVisitFlag", "请求报文中未包含回访设置");
+
+    }
+
+    @Override
+    @Java110Transactional
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+        RepairSettingPo repairSettingPo = BeanConvertUtil.covertBean(reqJson, RepairSettingPo.class);
+        repairSettingPo.setSettingId(GenerateCodeFactory.getGeneratorId(CODE_PREFIX_ID));
+        repairSettingPo.setRepairType(repairSettingPo.getSettingId());
+        int flag = repairSettingV1InnerServiceSMOImpl.saveRepairSetting(repairSettingPo);
+
+        if (flag < 1) {
+            throw new CmdException("保存数据失败");
+        }
+
+        cmdDataFlowContext.setResponseEntity(ResultVo.success());
+    }
+}

+ 79 - 0
service-community/src/main/java/com/java110/community/cmd/repair/UpdateRepairSettingCmd.java

@@ -0,0 +1,79 @@
+/*
+ * 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.repair;
+
+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.Cmd;
+import com.java110.core.event.cmd.CmdEvent;
+import com.java110.intf.community.IRepairSettingV1InnerServiceSMO;
+import com.java110.po.repair.RepairSettingPo;
+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;
+
+
+/**
+ * 类表述:更新
+ * 服务编码:repairSetting.updateRepairSetting
+ * 请求路劲:/app/repairSetting.UpdateRepairSetting
+ * add by 吴学文 at 2022-08-06 12:43:34 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 = "repair.updateRepairSetting")
+public class UpdateRepairSettingCmd extends Cmd {
+
+    private static Logger logger = LoggerFactory.getLogger(UpdateRepairSettingCmd.class);
+
+
+    @Autowired
+    private IRepairSettingV1InnerServiceSMO repairSettingV1InnerServiceSMOImpl;
+
+    @Override
+    public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) {
+        Assert.hasKeyAndValue(reqJson, "settingId", "settingId不能为空");
+        Assert.hasKeyAndValue(reqJson, "repairTypeName", "请求报文中未包含repairTypeName");
+        Assert.hasKeyAndValue(reqJson, "repairWay", "请求报文中未包含repairWay");
+        Assert.hasKeyAndValue(reqJson, "communityId", "请求报文中未包含communityId");
+        Assert.hasKeyAndValue(reqJson, "publicArea", "请求报文中未包含公共区域");
+        Assert.hasKeyAndValue(reqJson, "payFeeFlag", "请求报文中未包含收费情况");
+        Assert.hasKeyAndValue(reqJson, "returnVisitFlag", "请求报文中未包含回访设置");
+
+    }
+
+    @Override
+    @Java110Transactional
+    public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException {
+
+        RepairSettingPo repairSettingPo = BeanConvertUtil.covertBean(reqJson, RepairSettingPo.class);
+        int flag = repairSettingV1InnerServiceSMOImpl.updateRepairSetting(repairSettingPo);
+
+        if (flag < 1) {
+            throw new CmdException("更新数据失败");
+        }
+
+        cmdDataFlowContext.setResponseEntity(ResultVo.success());
+    }
+}

+ 77 - 0
service-community/src/main/java/com/java110/community/dao/IRepairSettingV1ServiceDao.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 2022-08-06 12:43:34 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 IRepairSettingV1ServiceDao {
+
+
+    /**
+     * 保存 报修设置信息
+     * @param info
+     * @throws DAOException DAO异常
+     */
+    int saveRepairSettingInfo(Map info) throws DAOException;
+
+
+
+
+    /**
+     * 查询报修设置信息(instance过程)
+     * 根据bId 查询报修设置信息
+     * @param info bId 信息
+     * @return 报修设置信息
+     * @throws DAOException DAO异常
+     */
+    List<Map> getRepairSettingInfo(Map info) throws DAOException;
+
+
+
+    /**
+     * 修改报修设置信息
+     * @param info 修改信息
+     * @throws DAOException DAO异常
+     */
+    int updateRepairSettingInfo(Map info) throws DAOException;
+
+
+    /**
+     * 查询报修设置总数
+     *
+     * @param info 报修设置信息
+     * @return 报修设置数量
+     */
+    int queryRepairSettingsCount(Map info);
+
+}

+ 1 - 1
service-community/src/main/java/com/java110/community/dao/IRepairTypeUserV1ServiceDao.java

@@ -28,7 +28,7 @@ import java.util.Map;
 
 /**
  * 类表述:
- * add by 吴学文 at 2022-08-06 12:27:40 mail: 928255095@qq.com
+ * add by 吴学文 at 2022-08-06 12:41:50 mail: 928255095@qq.com
  * open source address: https://gitee.com/wuxw7/MicroCommunity
  * 官网:http://www.homecommunity.cn
  * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下

+ 112 - 0
service-community/src/main/java/com/java110/community/dao/impl/RepairSettingV1ServiceDaoImpl.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.IRepairSettingV1ServiceDao;
+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 2022-08-06 12:43:34 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("repairSettingV1ServiceDaoImpl")
+public class RepairSettingV1ServiceDaoImpl extends BaseServiceDao implements IRepairSettingV1ServiceDao {
+
+    private static Logger logger = LoggerFactory.getLogger(RepairSettingV1ServiceDaoImpl.class);
+
+
+
+
+
+    /**
+     * 保存报修设置信息 到 instance
+     * @param info   bId 信息
+     * @throws DAOException DAO异常
+     */
+    @Override
+    public int saveRepairSettingInfo(Map info) throws DAOException {
+        logger.debug("保存 saveRepairSettingInfo 入参 info : {}",info);
+
+        int saveFlag = sqlSessionTemplate.insert("repairSettingV1ServiceDaoImpl.saveRepairSettingInfo",info);
+
+        return saveFlag;
+    }
+
+
+    /**
+     * 查询报修设置信息(instance)
+     * @param info bId 信息
+     * @return List<Map>
+     * @throws DAOException DAO异常
+     */
+    @Override
+    public List<Map> getRepairSettingInfo(Map info) throws DAOException {
+        logger.debug("查询 getRepairSettingInfo 入参 info : {}",info);
+
+        List<Map> businessRepairSettingInfos = sqlSessionTemplate.selectList("repairSettingV1ServiceDaoImpl.getRepairSettingInfo",info);
+
+        return businessRepairSettingInfos;
+    }
+
+
+    /**
+     * 修改报修设置信息
+     * @param info 修改信息
+     * @throws DAOException DAO异常
+     */
+    @Override
+    public int updateRepairSettingInfo(Map info) throws DAOException {
+        logger.debug("修改 updateRepairSettingInfo 入参 info : {}",info);
+
+        int saveFlag = sqlSessionTemplate.update("repairSettingV1ServiceDaoImpl.updateRepairSettingInfo",info);
+
+        return saveFlag;
+    }
+
+     /**
+     * 查询报修设置数量
+     * @param info 报修设置信息
+     * @return 报修设置数量
+     */
+    @Override
+    public int queryRepairSettingsCount(Map info) {
+        logger.debug("查询 queryRepairSettingsCount 入参 info : {}",info);
+
+        List<Map> businessRepairSettingInfos = sqlSessionTemplate.selectList("repairSettingV1ServiceDaoImpl.queryRepairSettingsCount", info);
+        if (businessRepairSettingInfos.size() < 1) {
+            return 0;
+        }
+
+        return Integer.parseInt(businessRepairSettingInfos.get(0).get("count").toString());
+    }
+
+
+}

+ 1 - 1
service-community/src/main/java/com/java110/community/dao/impl/RepairTypeUserV1ServiceDaoImpl.java

@@ -31,7 +31,7 @@ import java.util.Map;
 
 /**
  * 类表述:
- * add by 吴学文 at 2022-08-06 12:27:40 mail: 928255095@qq.com
+ * add by 吴学文 at 2022-08-06 12:41:50 mail: 928255095@qq.com
  * open source address: https://gitee.com/wuxw7/MicroCommunity
  * 官网:http://www.homecommunity.cn
  * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下

+ 89 - 0
service-community/src/main/java/com/java110/community/smo/impl/RepairSettingV1InnerServiceSMOImpl.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.IRepairSettingV1ServiceDao;
+import com.java110.dto.repair.RepairSettingDto;
+import com.java110.intf.community.IRepairSettingV1InnerServiceSMO;
+import com.java110.po.repair.RepairSettingPo;
+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 2022-08-06 12:43:34 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 RepairSettingV1InnerServiceSMOImpl extends BaseServiceSMO implements IRepairSettingV1InnerServiceSMO {
+
+    @Autowired
+    private IRepairSettingV1ServiceDao repairSettingV1ServiceDaoImpl;
+
+
+    @Override
+    public int saveRepairSetting(@RequestBody RepairSettingPo repairSettingPo) {
+        int saveFlag = repairSettingV1ServiceDaoImpl.saveRepairSettingInfo(BeanConvertUtil.beanCovertMap(repairSettingPo));
+        return saveFlag;
+    }
+
+     @Override
+    public int updateRepairSetting(@RequestBody  RepairSettingPo repairSettingPo) {
+        int saveFlag = repairSettingV1ServiceDaoImpl.updateRepairSettingInfo(BeanConvertUtil.beanCovertMap(repairSettingPo));
+        return saveFlag;
+    }
+
+     @Override
+    public int deleteRepairSetting(@RequestBody  RepairSettingPo repairSettingPo) {
+       repairSettingPo.setStatusCd("1");
+       int saveFlag = repairSettingV1ServiceDaoImpl.updateRepairSettingInfo(BeanConvertUtil.beanCovertMap(repairSettingPo));
+       return saveFlag;
+    }
+
+    @Override
+    public List<RepairSettingDto> queryRepairSettings(@RequestBody  RepairSettingDto repairSettingDto) {
+
+        //校验是否传了 分页信息
+
+        int page = repairSettingDto.getPage();
+
+        if (page != PageDto.DEFAULT_PAGE) {
+            repairSettingDto.setPage((page - 1) * repairSettingDto.getRow());
+        }
+
+        List<RepairSettingDto> repairSettings = BeanConvertUtil.covertBeanList(repairSettingV1ServiceDaoImpl.getRepairSettingInfo(BeanConvertUtil.beanCovertMap(repairSettingDto)), RepairSettingDto.class);
+
+        return repairSettings;
+    }
+
+
+    @Override
+    public int queryRepairSettingsCount(@RequestBody RepairSettingDto repairSettingDto) {
+        return repairSettingV1ServiceDaoImpl.queryRepairSettingsCount(BeanConvertUtil.beanCovertMap(repairSettingDto));    }
+
+}

+ 13 - 14
service-community/src/main/java/com/java110/community/smo/impl/RepairTypeUserV1InnerServiceSMOImpl.java

@@ -17,23 +17,21 @@ package com.java110.community.smo.impl;
 
 
 import com.java110.community.dao.IRepairTypeUserV1ServiceDao;
+import com.java110.core.base.smo.BaseServiceSMO;
+import com.java110.dto.PageDto;
 import com.java110.dto.repair.RepairTypeUserDto;
 import com.java110.intf.community.IRepairTypeUserV1InnerServiceSMO;
 import com.java110.po.repair.RepairTypeUserPo;
 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 2022-08-06 12:27:40 mail: 928255095@qq.com
+ * add by 吴学文 at 2022-08-06 12:41:50 mail: 928255095@qq.com
  * open source address: https://gitee.com/wuxw7/MicroCommunity
  * 官网:http://www.homecommunity.cn
  * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
@@ -52,21 +50,21 @@ public class RepairTypeUserV1InnerServiceSMOImpl extends BaseServiceSMO implemen
         return saveFlag;
     }
 
-     @Override
-    public int updateRepairTypeUser(@RequestBody  RepairTypeUserPo repairTypeUserPo) {
+    @Override
+    public int updateRepairTypeUser(@RequestBody RepairTypeUserPo repairTypeUserPo) {
         int saveFlag = repairTypeUserV1ServiceDaoImpl.updateRepairTypeUserInfo(BeanConvertUtil.beanCovertMap(repairTypeUserPo));
         return saveFlag;
     }
 
-     @Override
-    public int deleteRepairTypeUser(@RequestBody  RepairTypeUserPo repairTypeUserPo) {
-       repairTypeUserPo.setStatusCd("1");
-       int saveFlag = repairTypeUserV1ServiceDaoImpl.updateRepairTypeUserInfo(BeanConvertUtil.beanCovertMap(repairTypeUserPo));
-       return saveFlag;
+    @Override
+    public int deleteRepairTypeUser(@RequestBody RepairTypeUserPo repairTypeUserPo) {
+        repairTypeUserPo.setStatusCd("1");
+        int saveFlag = repairTypeUserV1ServiceDaoImpl.updateRepairTypeUserInfo(BeanConvertUtil.beanCovertMap(repairTypeUserPo));
+        return saveFlag;
     }
 
     @Override
-    public List<RepairTypeUserDto> queryRepairTypeUsers(@RequestBody  RepairTypeUserDto repairTypeUserDto) {
+    public List<RepairTypeUserDto> queryRepairTypeUsers(@RequestBody RepairTypeUserDto repairTypeUserDto) {
 
         //校验是否传了 分页信息
 
@@ -84,6 +82,7 @@ public class RepairTypeUserV1InnerServiceSMOImpl extends BaseServiceSMO implemen
 
     @Override
     public int queryRepairTypeUsersCount(@RequestBody RepairTypeUserDto repairTypeUserDto) {
-        return repairTypeUserV1ServiceDaoImpl.queryRepairTypeUsersCount(BeanConvertUtil.beanCovertMap(repairTypeUserDto));    }
+        return repairTypeUserV1ServiceDaoImpl.queryRepairTypeUsersCount(BeanConvertUtil.beanCovertMap(repairTypeUserDto));
+    }
 
 }