From b714156172e4b0b7e8cb40249068deaf35acc21f Mon Sep 17 00:00:00 2001 From: yuezhihang Date: Thu, 11 Nov 2021 14:13:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=BB=84=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/adc/da/slrs/wgDept/dao/WgDeptDao.java | 2 + .../slrs/wgDept/service/IWgDeptService.java | 5 +- .../service/impl/WgDeptServiceImpl.java | 11 + .../wgMeetingInfo/dao/WgMeetingInfoDao.java | 2 + .../service/IWgMeetingInfoService.java | 4 +- .../impl/WgMeetingInfoServiceImpl.java | 10 +- .../dao/WgMeetingUserRelationDao.java | 2 + .../IWgMeetingUserRelationService.java | 4 + .../WgMeetingUserRelationServiceImpl.java | 11 + .../da/slrs/wgNetInfo/dao/WgNetInfoDao.java | 2 + .../wgNetInfo/service/IWgNetInfoService.java | 5 +- .../service/impl/WgNetInfoServiceImpl.java | 10 + .../da/slrs/wgPayInfo/dao/WgPayInfoDao.java | 2 + .../wgPayInfo/service/IWgPayInfoService.java | 4 + .../service/impl/WgPayInfoServiceImpl.java | 10 + .../dao/WgStandorpolicyInfoDao.java | 2 + .../service/IWgStandorpolicyInfoService.java | 3 + .../impl/WgStandorpolicyInfoServiceImpl.java | 10 + .../controller/WgWorkGroupController.java | 6 +- .../slrs/wgWorkGroup/dao/WgWorkGroupDao.java | 2 + .../entity/WgWorkGroupShowDTO.java | 4 +- .../service/IWgWorkGroupService.java | 3 + .../service/impl/WgWorkGroupServiceImpl.java | 256 ++++++++++++++---- .../mybatis/mapper/wgDept/WgDeptMapper.xml | 9 + .../wgMeetingInfo/WgMeetingInfoMapper.xml | 6 + .../WgMeetingUserRelationMapper.xml | 9 + .../mapper/wgNetInfo/WgNetInfoMapper.xml | 9 + .../mapper/wgPayInfo/WgPayInfoMapper.xml | 6 + .../WgStandorpolicyInfoMapper.xml | 6 + .../wg_work_group/WgWorkGroupMapper.xml | 20 +- 30 files changed, 361 insertions(+), 74 deletions(-) diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/dao/WgDeptDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/dao/WgDeptDao.java index 5cb113d5..6216f5d8 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/dao/WgDeptDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/dao/WgDeptDao.java @@ -18,4 +18,6 @@ import java.util.List; */ public interface WgDeptDao extends BaseMapper { List researchDatas(@Param(value = "data") String data); + + List researchAllDatas(@Param(value = "type") String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/IWgDeptService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/IWgDeptService.java index 1974bf96..63ca9aed 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/IWgDeptService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/IWgDeptService.java @@ -1,8 +1,11 @@ package com.adc.da.slrs.wgDept.service; import com.adc.da.slrs.wgDept.entity.WgDept; +import com.adc.da.slrs.wgDept.entity.WgDeptShow; import com.baomidou.mybatisplus.extension.service.IService; +import java.util.List; + /** *

* 集团参与情况 服务类 @@ -12,5 +15,5 @@ import com.baomidou.mybatisplus.extension.service.IService; * @since 2021-11-04 */ public interface IWgDeptService extends IService { - + List getAllDatas(String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/impl/WgDeptServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/impl/WgDeptServiceImpl.java index 71a4fb5a..93c7f802 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/impl/WgDeptServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgDept/service/impl/WgDeptServiceImpl.java @@ -2,10 +2,14 @@ package com.adc.da.slrs.wgDept.service.impl; import com.adc.da.slrs.wgDept.entity.WgDept; import com.adc.da.slrs.wgDept.dao.WgDeptDao; +import com.adc.da.slrs.wgDept.entity.WgDeptShow; import com.adc.da.slrs.wgDept.service.IWgDeptService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.List; + /** *

* 集团参与情况 服务实现类 @@ -17,4 +21,11 @@ import org.springframework.stereotype.Service; @Service public class WgDeptServiceImpl extends ServiceImpl implements IWgDeptService { + @Autowired + private WgDeptDao wgDeptDao; + + @Override + public List getAllDatas(String type) { + return wgDeptDao.researchAllDatas(type); + } } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/dao/WgMeetingInfoDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/dao/WgMeetingInfoDao.java index da9b1711..23d41074 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/dao/WgMeetingInfoDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/dao/WgMeetingInfoDao.java @@ -19,4 +19,6 @@ public interface WgMeetingInfoDao extends BaseMapper { List researchDatas(@Param(value = "data") String data); + List researchAllDatas(@Param(value = "type") String type); + } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/IWgMeetingInfoService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/IWgMeetingInfoService.java index 2a2e0155..a4949c95 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/IWgMeetingInfoService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/IWgMeetingInfoService.java @@ -3,6 +3,8 @@ package com.adc.da.slrs.wgMeetingInfo.service; import com.adc.da.slrs.wgMeetingInfo.entity.WgMeetingInfo; import com.baomidou.mybatisplus.extension.service.IService; +import java.util.List; + /** *

* 参会记录及资料 服务类 @@ -12,5 +14,5 @@ import com.baomidou.mybatisplus.extension.service.IService; * @since 2021-11-04 */ public interface IWgMeetingInfoService extends IService { - + List getAllDatas(String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/impl/WgMeetingInfoServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/impl/WgMeetingInfoServiceImpl.java index 0cc958d0..fcaa210e 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/impl/WgMeetingInfoServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingInfo/service/impl/WgMeetingInfoServiceImpl.java @@ -4,8 +4,11 @@ import com.adc.da.slrs.wgMeetingInfo.entity.WgMeetingInfo; import com.adc.da.slrs.wgMeetingInfo.dao.WgMeetingInfoDao; import com.adc.da.slrs.wgMeetingInfo.service.IWgMeetingInfoService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.List; + /** *

* 参会记录及资料 服务实现类 @@ -16,5 +19,10 @@ import org.springframework.stereotype.Service; */ @Service public class WgMeetingInfoServiceImpl extends ServiceImpl implements IWgMeetingInfoService { - + @Autowired + WgMeetingInfoDao wgMeetingInfoDao; + @Override + public List getAllDatas(String type) { + return wgMeetingInfoDao.researchAllDatas(type); + } } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/dao/WgMeetingUserRelationDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/dao/WgMeetingUserRelationDao.java index 0047c965..1558d6e8 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/dao/WgMeetingUserRelationDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/dao/WgMeetingUserRelationDao.java @@ -17,4 +17,6 @@ import java.util.List; */ public interface WgMeetingUserRelationDao extends BaseMapper { List getMeetingPeoples(@Param("meetId") String meetingId); + + List getMeetingAllPeoples(@Param(value = "type") String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/IWgMeetingUserRelationService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/IWgMeetingUserRelationService.java index b3345ab0..67461b6f 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/IWgMeetingUserRelationService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/IWgMeetingUserRelationService.java @@ -1,8 +1,11 @@ package com.adc.da.slrs.wgMeetingUserRelation.service; import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelation; +import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelationShow; import com.baomidou.mybatisplus.extension.service.IService; +import java.util.List; + /** *

* 服务类 @@ -12,5 +15,6 @@ import com.baomidou.mybatisplus.extension.service.IService; * @since 2021-11-09 */ public interface IWgMeetingUserRelationService extends IService { + List getMeetingAllPeoples(String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/impl/WgMeetingUserRelationServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/impl/WgMeetingUserRelationServiceImpl.java index 86963f88..3ff8eaf5 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/impl/WgMeetingUserRelationServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgMeetingUserRelation/service/impl/WgMeetingUserRelationServiceImpl.java @@ -2,10 +2,14 @@ package com.adc.da.slrs.wgMeetingUserRelation.service.impl; import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelation; import com.adc.da.slrs.wgMeetingUserRelation.dao.WgMeetingUserRelationDao; +import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelationShow; import com.adc.da.slrs.wgMeetingUserRelation.service.IWgMeetingUserRelationService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.List; + /** *

* 服务实现类 @@ -17,4 +21,11 @@ import org.springframework.stereotype.Service; @Service public class WgMeetingUserRelationServiceImpl extends ServiceImpl implements IWgMeetingUserRelationService { + @Autowired + private WgMeetingUserRelationDao wgMeetingUserRelationDao; + + @Override + public List getMeetingAllPeoples(String type) { + return wgMeetingUserRelationDao.getMeetingAllPeoples(type); + } } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/dao/WgNetInfoDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/dao/WgNetInfoDao.java index 1bf05b94..e460dc46 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/dao/WgNetInfoDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/dao/WgNetInfoDao.java @@ -20,4 +20,6 @@ public interface WgNetInfoDao extends BaseMapper { List researchDatas(@Param(value = "data") String data); + List researchAllDatas(@Param(value = "type") String type); + } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/IWgNetInfoService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/IWgNetInfoService.java index 37d60274..03ed7b5f 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/IWgNetInfoService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/IWgNetInfoService.java @@ -1,8 +1,11 @@ package com.adc.da.slrs.wgNetInfo.service; import com.adc.da.slrs.wgNetInfo.entity.WgNetInfo; +import com.adc.da.slrs.wgNetInfo.entity.WgNetInfoDTO; import com.baomidou.mybatisplus.extension.service.IService; +import java.util.List; + /** *

* 工作组秘书联系方式 服务类 @@ -12,5 +15,5 @@ import com.baomidou.mybatisplus.extension.service.IService; * @since 2021-11-04 */ public interface IWgNetInfoService extends IService { - + List getAllDatas(String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/impl/WgNetInfoServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/impl/WgNetInfoServiceImpl.java index 2ae5d889..9ebbbdbc 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/impl/WgNetInfoServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgNetInfo/service/impl/WgNetInfoServiceImpl.java @@ -2,10 +2,14 @@ package com.adc.da.slrs.wgNetInfo.service.impl; import com.adc.da.slrs.wgNetInfo.entity.WgNetInfo; import com.adc.da.slrs.wgNetInfo.dao.WgNetInfoDao; +import com.adc.da.slrs.wgNetInfo.entity.WgNetInfoDTO; import com.adc.da.slrs.wgNetInfo.service.IWgNetInfoService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.List; + /** *

* 工作组秘书联系方式 服务实现类 @@ -16,5 +20,11 @@ import org.springframework.stereotype.Service; */ @Service public class WgNetInfoServiceImpl extends ServiceImpl implements IWgNetInfoService { + @Autowired + private WgNetInfoDao wgNetInfoDao; + @Override + public List getAllDatas(String type) { + return wgNetInfoDao.researchAllDatas(type); + } } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/dao/WgPayInfoDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/dao/WgPayInfoDao.java index c97e3810..90ffa2ad 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/dao/WgPayInfoDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/dao/WgPayInfoDao.java @@ -17,4 +17,6 @@ import java.util.List; */ public interface WgPayInfoDao extends BaseMapper { List researchDatas(@Param(value = "data") String data); + + List researchAllDatas(@Param(value = "type") String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/IWgPayInfoService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/IWgPayInfoService.java index ff7d8468..1e7458d6 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/IWgPayInfoService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/IWgPayInfoService.java @@ -3,6 +3,8 @@ package com.adc.da.slrs.wgPayInfo.service; import com.adc.da.slrs.wgPayInfo.entity.WgPayInfo; import com.baomidou.mybatisplus.extension.service.IService; +import java.util.List; + /** *

* 支付信息 服务类 @@ -13,4 +15,6 @@ import com.baomidou.mybatisplus.extension.service.IService; */ public interface IWgPayInfoService extends IService { + List getAllDatas(String type); + } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/impl/WgPayInfoServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/impl/WgPayInfoServiceImpl.java index f348bba5..98ae8d74 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/impl/WgPayInfoServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgPayInfo/service/impl/WgPayInfoServiceImpl.java @@ -4,8 +4,11 @@ import com.adc.da.slrs.wgPayInfo.entity.WgPayInfo; import com.adc.da.slrs.wgPayInfo.dao.WgPayInfoDao; import com.adc.da.slrs.wgPayInfo.service.IWgPayInfoService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.List; + /** *

* 支付信息 服务实现类 @@ -17,4 +20,11 @@ import org.springframework.stereotype.Service; @Service public class WgPayInfoServiceImpl extends ServiceImpl implements IWgPayInfoService { + @Autowired + private WgPayInfoDao wgPayInfoDao; + + @Override + public List getAllDatas(String type) { + return wgPayInfoDao.researchAllDatas(type); + } } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/dao/WgStandorpolicyInfoDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/dao/WgStandorpolicyInfoDao.java index 16e7d3dd..b1a409be 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/dao/WgStandorpolicyInfoDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/dao/WgStandorpolicyInfoDao.java @@ -19,4 +19,6 @@ public interface WgStandorpolicyInfoDao extends BaseMapper List researchDatas(@Param(value = "data") String data); + List researchAllDatas(@Param(value = "type")String type); + } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/IWgStandorpolicyInfoService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/IWgStandorpolicyInfoService.java index e03fb8a5..3d029fb9 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/IWgStandorpolicyInfoService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/IWgStandorpolicyInfoService.java @@ -3,6 +3,8 @@ package com.adc.da.slrs.wgStandorpolicyInfo.service; import com.adc.da.slrs.wgStandorpolicyInfo.entity.WgStandorpolicyInfo; import com.baomidou.mybatisplus.extension.service.IService; +import java.util.List; + /** *

* 标准/政策 -信息 服务类 @@ -13,4 +15,5 @@ import com.baomidou.mybatisplus.extension.service.IService; */ public interface IWgStandorpolicyInfoService extends IService { + List getAllDatas(String type); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/impl/WgStandorpolicyInfoServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/impl/WgStandorpolicyInfoServiceImpl.java index 3ad3244e..b40afa03 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/impl/WgStandorpolicyInfoServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgStandorpolicyInfo/service/impl/WgStandorpolicyInfoServiceImpl.java @@ -4,8 +4,11 @@ import com.adc.da.slrs.wgStandorpolicyInfo.entity.WgStandorpolicyInfo; import com.adc.da.slrs.wgStandorpolicyInfo.dao.WgStandorpolicyInfoDao; import com.adc.da.slrs.wgStandorpolicyInfo.service.IWgStandorpolicyInfoService; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; +import java.util.List; + /** *

* 标准/政策 -信息 服务实现类 @@ -17,4 +20,11 @@ import org.springframework.stereotype.Service; @Service public class WgStandorpolicyInfoServiceImpl extends ServiceImpl implements IWgStandorpolicyInfoService { + @Autowired + private WgStandorpolicyInfoDao wgStandorpolicyInfoDao; + + @Override + public List getAllDatas(String type) { + return wgStandorpolicyInfoDao.researchAllDatas(type); + } } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/controller/WgWorkGroupController.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/controller/WgWorkGroupController.java index 783adb9b..69196b75 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/controller/WgWorkGroupController.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/controller/WgWorkGroupController.java @@ -42,12 +42,12 @@ public class WgWorkGroupController extends BaseController { @ApiOperation("搜索工作组节点数据") @GetMapping("/researchData") public ResponseMessage researchData(@RequestParam(value = "type") String type){ - return Result.success(wgWorkGroupService.researchData(type)); + return Result.success(wgWorkGroupService.researchDataUp(type)); } @ApiOperation("删除工作组节点数据") - @DeleteMapping("/deleteData") - public ResponseMessage deleteData(@Param(value = "id") String id, @Param("meetingId")List meetingId){ + @PostMapping("/deleteData") + public ResponseMessage deleteData(@RequestParam(value = "id") String id, @RequestParam(value = "meetingId",required=false)List meetingId){ return wgWorkGroupService.deleteData(id,meetingId); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/dao/WgWorkGroupDao.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/dao/WgWorkGroupDao.java index 71a92b11..12341a91 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/dao/WgWorkGroupDao.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/dao/WgWorkGroupDao.java @@ -22,6 +22,8 @@ public interface WgWorkGroupDao extends BaseMapper { List researchDownLevel(@Param(value = "data") String data); + List researchAllData(@Param(value = "type")String type); + List researchDownCheck(@Param(value = "data") String data,@Param(value = "status")String status); } diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/entity/WgWorkGroupShowDTO.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/entity/WgWorkGroupShowDTO.java index 764d7364..5e736116 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/entity/WgWorkGroupShowDTO.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/entity/WgWorkGroupShowDTO.java @@ -2,6 +2,7 @@ package com.adc.da.slrs.wgWorkGroup.entity; import com.adc.da.base.entity.BaseEntity; import com.adc.da.slrs.wgDept.entity.WgDept; +import com.adc.da.slrs.wgDept.entity.WgDeptShow; import com.adc.da.slrs.wgMeetingInfo.entity.WgMeetingInfo; import com.adc.da.slrs.wgNetInfo.entity.WgNetInfo; import com.adc.da.slrs.wgNetInfo.entity.WgNetInfoDTO; @@ -10,6 +11,7 @@ import com.adc.da.slrs.wgStandorpolicyInfo.entity.WgStandorpolicyInfo; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; +import jdk.nashorn.internal.objects.annotations.Constructor; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; @@ -76,7 +78,7 @@ public class WgWorkGroupShowDTO extends BaseEntity { List wgStandorpolicyInfos; //集团参与情况 - List wgDepts; + List wgDepts; //秘书联系方式 List wgNetInfos; diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/IWgWorkGroupService.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/IWgWorkGroupService.java index 32573d45..7bd998c1 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/IWgWorkGroupService.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/IWgWorkGroupService.java @@ -22,6 +22,9 @@ public interface IWgWorkGroupService extends IService { WgWorkGroupShowDTO researchData(String type); + //优化查询接口 速度 + WgWorkGroupShowDTO researchDataUp(String type); + ResponseMessage deleteData(String id,List meetingId); ResponseMessage updateData(WgWorkGroupShowDTO wgWorkGroupShowDTO); diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/impl/WgWorkGroupServiceImpl.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/impl/WgWorkGroupServiceImpl.java index b3730659..8f364930 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/impl/WgWorkGroupServiceImpl.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/wgWorkGroup/service/impl/WgWorkGroupServiceImpl.java @@ -2,14 +2,20 @@ package com.adc.da.slrs.wgWorkGroup.service.impl; import com.adc.da.http.ResponseMessage; import com.adc.da.http.Result; +import com.adc.da.slrs.wgDept.entity.WgDept; +import com.adc.da.slrs.wgDept.entity.WgDeptShow; import com.adc.da.slrs.wgDept.service.IWgDeptService; +import com.adc.da.slrs.wgMeetingInfo.entity.WgMeetingInfo; import com.adc.da.slrs.wgMeetingInfo.service.IWgMeetingInfoService; import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelation; +import com.adc.da.slrs.wgMeetingUserRelation.entity.WgMeetingUserRelationShow; import com.adc.da.slrs.wgMeetingUserRelation.service.IWgMeetingUserRelationService; -import com.adc.da.slrs.wgMeetingUserRelation.service.impl.WgMeetingUserRelationServiceImpl; import com.adc.da.slrs.wgNetInfo.entity.WgNetInfo; +import com.adc.da.slrs.wgNetInfo.entity.WgNetInfoDTO; import com.adc.da.slrs.wgNetInfo.service.IWgNetInfoService; +import com.adc.da.slrs.wgPayInfo.entity.WgPayInfo; import com.adc.da.slrs.wgPayInfo.service.IWgPayInfoService; +import com.adc.da.slrs.wgStandorpolicyInfo.entity.WgStandorpolicyInfo; import com.adc.da.slrs.wgStandorpolicyInfo.service.IWgStandorpolicyInfoService; import com.adc.da.slrs.wgWorkGroup.entity.WgWorkGroup; import com.adc.da.slrs.wgWorkGroup.dao.WgWorkGroupDao; @@ -56,25 +62,26 @@ public class WgWorkGroupServiceImpl extends ServiceImpl {wgDept.setWgId(wgWorkGroup.getId()); + flag = wgWorkGroupService.save(wgWorkGroup); + if (null != wgWorkGroupDTO.getWgDepts()) { + wgWorkGroupDTO.getWgDepts().forEach(wgDept -> { + wgDept.setWgId(wgWorkGroup.getId()); }); - flag=wgDeptService.saveBatch(wgWorkGroupDTO.getWgDepts()); + flag = wgDeptService.saveBatch(wgWorkGroupDTO.getWgDepts()); } //存储会议信息 - if (null!=wgWorkGroupDTO.getWgMeetingInfos()) { + if (null != wgWorkGroupDTO.getWgMeetingInfos()) { List wgMeetingUserRelations = new ArrayList<>(); wgWorkGroupDTO.getWgMeetingInfos().forEach(wgMeetingInfo -> { wgMeetingInfo.setId(String.valueOf(UUID.randomUUID())); wgMeetingInfo.setWgId(wgWorkGroup.getId()); wgMeetingInfo.getMeetingPeople().forEach(s -> { - WgMeetingUserRelation wgMeetingUserRelation=new WgMeetingUserRelation(); + WgMeetingUserRelation wgMeetingUserRelation = new WgMeetingUserRelation(); wgMeetingUserRelation.setMeetingId(wgMeetingInfo.getId()); wgMeetingUserRelation.setUserId(s); wgMeetingUserRelations.add(wgMeetingUserRelation); @@ -84,24 +91,30 @@ public class WgWorkGroupServiceImpl extends ServiceImpl {wgNetInfo.setWgId(wgWorkGroup.getId());}); + if (null != wgWorkGroupDTO.getWgNetInfos()) { + wgWorkGroupDTO.getWgNetInfos().forEach(wgNetInfo -> { + wgNetInfo.setWgId(wgWorkGroup.getId()); + }); flag = wgNetInfoService.saveBatch(wgWorkGroupDTO.getWgNetInfos()); } //支付信息 - if (null!=wgWorkGroupDTO.getWgPayInfos()) { - wgWorkGroupDTO.getWgPayInfos().forEach(wgPayInfo -> {wgPayInfo.setWgId(wgWorkGroup.getId());}); + if (null != wgWorkGroupDTO.getWgPayInfos()) { + wgWorkGroupDTO.getWgPayInfos().forEach(wgPayInfo -> { + wgPayInfo.setWgId(wgWorkGroup.getId()); + }); flag = wgPayInfoService.saveBatch(wgWorkGroupDTO.getWgPayInfos()); } //标准政策信息 - if (null!=wgWorkGroupDTO.getWgStandorpolicyInfos()) { - wgWorkGroupDTO.getWgStandorpolicyInfos().forEach(wgStandorpolicyInfo -> {wgStandorpolicyInfo.setWgId(wgWorkGroup.getId());}); + if (null != wgWorkGroupDTO.getWgStandorpolicyInfos()) { + wgWorkGroupDTO.getWgStandorpolicyInfos().forEach(wgStandorpolicyInfo -> { + wgStandorpolicyInfo.setWgId(wgWorkGroup.getId()); + }); flag = wgStandorpolicyInfoService.saveBatch(wgWorkGroupDTO.getWgStandorpolicyInfos()); } //先存储主数据 - if (flag ) { + if (flag) { return "添加成功"; - }else { + } else { return "数据错误,添加失败"; } } @@ -109,25 +122,148 @@ public class WgWorkGroupServiceImpl extends ServiceImpl wgWorkGroupShowDTOS=new ArrayList<>(); + List wgWorkGroupShowDTOS = new ArrayList<>(); wgWorkGroupShowDTOS.add(wgWorkGroupShowDTO); - return wgWorkGroupDao.researchDatas(wgWorkGroupShowDTOS,type); + return wgWorkGroupDao.researchDatas(wgWorkGroupShowDTOS, type); } @Override - public ResponseMessage deleteData(String id,List ids) { - List wgWorkGroupShowDTOS=wgWorkGroupDao.researchDownCheck(id,"1"); - List wgWorkGroups=wgWorkGroupDao.researchDownLevel(id); - if (null!=wgWorkGroupShowDTOS && wgWorkGroupShowDTOS.size()>0 && null!= wgWorkGroups && wgWorkGroups.size()>0){ + public WgWorkGroupShowDTO researchDataUp(String type) { + List wgWorkGroupShowDTOS = wgWorkGroupDao.researchAllData(type); + List wgPayInfos = wgPayInfoService.getAllDatas(type); + List wgStandorpolicyInfos = wgStandorpolicyInfoService.getAllDatas(type); + List wgDeptShows = wgDeptService.getAllDatas(type); + List wgNetInfoDTOS = wgNetInfoService.getAllDatas(type); + List wgMeetingInfos = wgMeetingInfoService.getAllDatas(type); + List wgMeetingUserRelations = wgMeetingUserRelationService.getMeetingAllPeoples(type); + //处理数据 + //part1 会议数据组装 提速第一步建造数据的map集合 + Map wgWorkGroupMap=new HashMap<>(); + wgWorkGroupShowDTOS.forEach(wgWorkGroupShowDTO -> { + wgWorkGroupMap.put(wgWorkGroupShowDTO.getId(),wgWorkGroupShowDTO); + }); + + Map meetMap = new HashMap<>(); + if (null!=wgMeetingInfos && wgMeetingInfos.size()>0) { + wgMeetingInfos.forEach(wgMeetingInfo -> { + meetMap.put(wgMeetingInfo.getId(), wgMeetingInfo); + }); + } + //组装会议数据 + if (null!=wgMeetingUserRelations && wgMeetingUserRelations.size()>0) { + wgMeetingUserRelations.forEach(wgMeetingUserRelationShow -> { + if (null!=meetMap.get(wgMeetingUserRelationShow.getMeetingId()).getJoinMeetingPeopleInfo()) { + meetMap.get(wgMeetingUserRelationShow.getMeetingId()).getJoinMeetingPeopleInfo().add(wgMeetingUserRelationShow); + }else { + List wgMeetingUserRelationShows=new ArrayList<>(); + wgMeetingUserRelationShows.add(wgMeetingUserRelationShow); + meetMap.get(wgMeetingUserRelationShow.getMeetingId()).setJoinMeetingPeopleInfo(wgMeetingUserRelationShows); + } + }); + } + //组装总数据 + if (null!=wgDeptShows && wgDeptShows.size()>0) { + wgDeptShows.forEach(wgDeptShow -> { + if (null!=wgWorkGroupMap.get(wgDeptShow.getWgId()).getWgDepts()) { + wgWorkGroupMap.get(wgDeptShow.getWgId()).getWgDepts().add(wgDeptShow); + }else { + List wgDepts = new ArrayList<>(); + wgDepts.add(wgDeptShow); + wgWorkGroupMap.get(wgDeptShow.getWgId()).setWgDepts(wgDepts); + } + }); + } + if (null!=wgMeetingInfos && wgMeetingInfos.size()>0) { + wgMeetingInfos.forEach(wgMeetingInfo -> { + if (null!=wgWorkGroupMap.get(wgMeetingInfo.getWgId()).getWgMeetingInfos()) { + wgWorkGroupMap.get(wgMeetingInfo.getWgId()).getWgMeetingInfos().add(meetMap.get(wgMeetingInfo.getId())); + }else { + List wgMeetingInfos1 = new ArrayList<>(); + wgMeetingInfos1.add(wgMeetingInfo); + wgWorkGroupMap.get(wgMeetingInfo.getWgId()).setWgMeetingInfos(wgMeetingInfos1); + } + }); + } + if (null!=wgNetInfoDTOS && wgNetInfoDTOS.size()>0) { + wgNetInfoDTOS.forEach(wgNetInfoDTO -> { + if (null!=wgWorkGroupMap.get(wgNetInfoDTO.getWgId()).getWgNetInfos()) { + wgWorkGroupMap.get(wgNetInfoDTO.getWgId()).getWgNetInfos().add(wgNetInfoDTO); + }else { + List wgNetInfos=new ArrayList<>(); + wgNetInfos.add(wgNetInfoDTO); + wgWorkGroupMap.get(wgNetInfoDTO.getWgId()).setWgNetInfos(wgNetInfos); + } + }); + } + if (null!=wgPayInfos && wgPayInfos.size()>0) { + wgPayInfos.forEach(wgPayInfo -> { + if (null!=wgWorkGroupMap.get(wgPayInfo.getWgId()).getWgPayInfos()) { + wgWorkGroupMap.get(wgPayInfo.getWgId()).getWgPayInfos().add(wgPayInfo); + }else { + List wgPayInfos1=new ArrayList<>(); + wgPayInfos1.add(wgPayInfo); + wgWorkGroupMap.get(wgPayInfo.getWgId()).setWgPayInfos(wgPayInfos1); + } + }); + } + if (null!=wgStandorpolicyInfos && wgStandorpolicyInfos.size()>0) { + wgStandorpolicyInfos.forEach(wgStandorpolicyInfo -> { + if (null!=wgWorkGroupMap.get(wgStandorpolicyInfo.getWgId()).getWgStandorpolicyInfos()) { + wgWorkGroupMap.get(wgStandorpolicyInfo.getWgId()).getWgStandorpolicyInfos().add(wgStandorpolicyInfo); + }else { + List wgStandorpolicyInfos1=new ArrayList<>(); + wgStandorpolicyInfos1.add(wgStandorpolicyInfo); + wgWorkGroupMap.get(wgStandorpolicyInfo.getWgId()).setWgStandorpolicyInfos(wgStandorpolicyInfos1); + } + }); + } + //数据初步组装完成 开始进行树结构排序 + List nums=new ArrayList<>(); + Map> map=new HashMap<>(); + wgWorkGroupShowDTOS.forEach(wgWorkGroupShowDTO -> { + if (null!=map.get(Integer.valueOf(wgWorkGroupShowDTO.getLevel()))){ + map.get(Integer.valueOf(wgWorkGroupShowDTO.getLevel())).add(wgWorkGroupShowDTO); + }else { + List middle = new ArrayList<>(); + middle.add(wgWorkGroupShowDTO); + nums.add(Integer.valueOf(wgWorkGroupShowDTO.getLevel())); + map.put(Integer.valueOf(wgWorkGroupShowDTO.getLevel()),middle); + } + }); + //组装数据 + for (int i=nums.size()-1;i>0;i--){ + int finalI = i; + map.get(i-1).forEach(wgWorkGroupShowDTO -> { + map.get(finalI).forEach(wgWorkGroupShowDTO1 -> { + if (wgWorkGroupShowDTO.getId().equals(wgWorkGroupShowDTO1.getPid())){ + if (null!=wgWorkGroupShowDTO.getChildren()) { + wgWorkGroupShowDTO.getChildren().add(wgWorkGroupShowDTO1); + }else { + List children = new ArrayList<>(); + children.add(wgWorkGroupShowDTO1); + wgWorkGroupShowDTO.setChildren(children); + } + } + }); + }); + } + return map.get(0).get(0); + } + + @Override + public ResponseMessage deleteData(String id, List ids) { + List wgWorkGroupShowDTOS = wgWorkGroupDao.researchDownCheck(id, "1"); + List wgWorkGroups = wgWorkGroupDao.researchDownLevel(id); + if (null != wgWorkGroupShowDTOS && wgWorkGroupShowDTOS.size() > 0 && null != wgWorkGroups && wgWorkGroups.size() > 0) { return Result.error("该工作组下存在工作组且处在流程中,无法删除"); - } else if (null!=wgWorkGroups && wgWorkGroups.size()>0) { + } else if (null != wgWorkGroups && wgWorkGroups.size() > 0) { return Result.error("该工作组下存在工作组,无法删除"); - } else if (null!=wgWorkGroupShowDTOS && wgWorkGroupShowDTOS.size()>0){ + } else if (null != wgWorkGroupShowDTOS && wgWorkGroupShowDTOS.size() > 0) { return Result.error("该工作组处在流程中,无法删除"); - }else { + } else { wgWorkGroupService.removeById(id); Map columnMap = new HashMap<>(); columnMap.put("wg_id", id); @@ -136,7 +272,7 @@ public class WgWorkGroupServiceImpl extends ServiceImpl0) { + if (null != ids && ids.size() > 0) { wgMeetingUserRelationService.removeByIds(ids); } return Result.success("删除成功"); @@ -145,26 +281,33 @@ public class WgWorkGroupServiceImpl extends ServiceImpl updateData(WgWorkGroupShowDTO wgWorkGroupShowDTO) { - List wgWorkGroupShowDTOS=wgWorkGroupDao.researchDownCheck(wgWorkGroupShowDTO.getId(),"1"); - if (null!=wgWorkGroupShowDTOS && wgWorkGroupShowDTOS.size()>0){ + List wgWorkGroupShowDTOS = wgWorkGroupDao.researchDownCheck(wgWorkGroupShowDTO.getId(), "1"); + if (null != wgWorkGroupShowDTOS && wgWorkGroupShowDTOS.size() > 0) { return Result.error("工作组处在流程中,无法修改"); - }else { - WgWorkGroup wgWorkGroup=new WgWorkGroup(); - BeanUtils.copyProperties(wgWorkGroupShowDTO,wgWorkGroup); + } else { + WgWorkGroup wgWorkGroup = new WgWorkGroup(); + BeanUtils.copyProperties(wgWorkGroupShowDTO, wgWorkGroup); boolean flag = false; - flag=wgWorkGroupService.saveOrUpdate(wgWorkGroup); - if (null!=wgWorkGroupShowDTO.getWgDepts() && wgWorkGroupShowDTO.getWgDepts().size()>0) { - flag = wgDeptService.saveOrUpdateBatch(wgWorkGroupShowDTO.getWgDepts()); + flag = wgWorkGroupService.saveOrUpdate(wgWorkGroup); + if (null != wgWorkGroupShowDTO.getWgDepts() && wgWorkGroupShowDTO.getWgDepts().size() > 0) { + List wgDepts=new ArrayList<>(); + wgWorkGroupShowDTO.getWgDepts().forEach(wgDeptShow -> { + WgDept wgDept=new WgDept(); + BeanUtils.copyProperties(wgDeptShow,wgDept); + wgDepts.add(wgDept); + }); + + flag = wgDeptService.saveOrUpdateBatch(wgDepts); } - if (null!=wgWorkGroupShowDTO.getWgMeetingInfos() && wgWorkGroupShowDTO.getWgMeetingInfos().size()>0) { - List removeMeet=new ArrayList<>(); - List wgMeetingUserRelations=new ArrayList<>(); + if (null != wgWorkGroupShowDTO.getWgMeetingInfos() && wgWorkGroupShowDTO.getWgMeetingInfos().size() > 0) { + List removeMeet = new ArrayList<>(); + List wgMeetingUserRelations = new ArrayList<>(); wgWorkGroupShowDTO.getWgMeetingInfos().forEach(wgMeetingInfo -> { wgMeetingInfo.getMeetingPeople().forEach(s -> { - WgMeetingUserRelation wgMeetingUserRelation=new WgMeetingUserRelation(); - wgMeetingUserRelation.setUserId(s); - wgMeetingUserRelation.setMeetingId(wgMeetingInfo.getId()); - wgMeetingUserRelations.add(wgMeetingUserRelation); + WgMeetingUserRelation wgMeetingUserRelation = new WgMeetingUserRelation(); + wgMeetingUserRelation.setUserId(s); + wgMeetingUserRelation.setMeetingId(wgMeetingInfo.getId()); + wgMeetingUserRelations.add(wgMeetingUserRelation); }); removeMeet.add(wgMeetingInfo.getId()); }); @@ -176,32 +319,29 @@ public class WgWorkGroupServiceImpl extends ServiceImpl0) { - List wgNetInfos=new ArrayList<>(); - wgWorkGroupShowDTO.getWgNetInfos().forEach(wgNetInfoDTO -> { - WgNetInfo wgNetInfo=new WgNetInfo(); - BeanUtils.copyProperties(wgNetInfoDTO,wgNetInfo); - wgNetInfos.add(wgNetInfo); - }); + if (null != wgWorkGroupShowDTO.getWgNetInfos() && wgWorkGroupShowDTO.getWgNetInfos().size() > 0) { + List wgNetInfos = new ArrayList<>(); + wgWorkGroupShowDTO.getWgNetInfos().forEach(wgNetInfoDTO -> { + WgNetInfo wgNetInfo = new WgNetInfo(); + BeanUtils.copyProperties(wgNetInfoDTO, wgNetInfo); + wgNetInfos.add(wgNetInfo); + }); flag = wgNetInfoService.saveOrUpdateBatch(wgNetInfos); } - if (null!=wgWorkGroupShowDTO.getWgPayInfos() && wgWorkGroupShowDTO.getWgPayInfos().size()>0){ + if (null != wgWorkGroupShowDTO.getWgPayInfos() && wgWorkGroupShowDTO.getWgPayInfos().size() > 0) { flag = wgPayInfoService.saveOrUpdateBatch(wgWorkGroupShowDTO.getWgPayInfos()); } - if (null!=wgWorkGroupShowDTO.getWgStandorpolicyInfos() && wgWorkGroupShowDTO.getWgStandorpolicyInfos().size()>0) { + if (null != wgWorkGroupShowDTO.getWgStandorpolicyInfos() && wgWorkGroupShowDTO.getWgStandorpolicyInfos().size() > 0) { flag = wgStandorpolicyInfoService.saveOrUpdateBatch(wgWorkGroupShowDTO.getWgStandorpolicyInfos()); } - if (flag){ + if (flag) { return Result.success("更新成功"); - }else { + } else { return Result.error("无法更新"); } } } - - - } diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgDept/WgDeptMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgDept/WgDeptMapper.xml index edd82ba9..0cef7c6d 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgDept/WgDeptMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgDept/WgDeptMapper.xml @@ -10,4 +10,13 @@ where wg_dept.wg_id =#{data} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingInfo/WgMeetingInfoMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingInfo/WgMeetingInfoMapper.xml index 5762a95a..bead41d4 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingInfo/WgMeetingInfoMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingInfo/WgMeetingInfoMapper.xml @@ -20,4 +20,10 @@ select * from wg_meeting_info where wg_meeting_info.wg_id = #{data} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingUserRelation/WgMeetingUserRelationMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingUserRelation/WgMeetingUserRelationMapper.xml index 016b6723..4079378c 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingUserRelation/WgMeetingUserRelationMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgMeetingUserRelation/WgMeetingUserRelationMapper.xml @@ -9,4 +9,13 @@ left join ts_user on ts_user.ACCOUNT = wg_meeting_user_relation.user_id where wg_meeting_user_relation.meeting_id = #{meetId} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgNetInfo/WgNetInfoMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgNetInfo/WgNetInfoMapper.xml index dd9896b6..7ed719b5 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgNetInfo/WgNetInfoMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgNetInfo/WgNetInfoMapper.xml @@ -10,4 +10,13 @@ where wg_net_info.wg_id =#{data} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgPayInfo/WgPayInfoMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgPayInfo/WgPayInfoMapper.xml index 18d982b1..7251a1d0 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgPayInfo/WgPayInfoMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgPayInfo/WgPayInfoMapper.xml @@ -7,4 +7,10 @@ select * from wg_pay_info where wg_pay_info.wg_id = #{data} + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wgStandorpolicyInfo/WgStandorpolicyInfoMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wgStandorpolicyInfo/WgStandorpolicyInfoMapper.xml index 636a0b83..0f8c0d6f 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wgStandorpolicyInfo/WgStandorpolicyInfoMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wgStandorpolicyInfo/WgStandorpolicyInfoMapper.xml @@ -6,4 +6,10 @@ + + diff --git a/adc-da-slrs/src/main/resources/mybatis/mapper/wg_work_group/WgWorkGroupMapper.xml b/adc-da-slrs/src/main/resources/mybatis/mapper/wg_work_group/WgWorkGroupMapper.xml index 9256d02a..d7a0e490 100644 --- a/adc-da-slrs/src/main/resources/mybatis/mapper/wg_work_group/WgWorkGroupMapper.xml +++ b/adc-da-slrs/src/main/resources/mybatis/mapper/wg_work_group/WgWorkGroupMapper.xml @@ -14,14 +14,14 @@ - - - - + + + + + + + + + +