From f8c5ae7324170d45e0946e49642206c2c322d1a0 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Fri, 5 May 2023 10:48:17 +0800
Subject: [PATCH 01/68] =?UTF-8?q?=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../result/OrganizationMessageResultDTO.java | 9 ++
.../epmet-message-server/pom.xml | 5 -
.../entity/OrganizationMessageEntity.java | 10 +-
.../impl/OrganizationMessageServiceImpl.java | 93 ++++++++++++++++++-
.../mapper/OrganizationMessageDao.xml | 2 +
.../dto/form/RegisterRelationPageFormDTO.java | 33 +++++++
.../epmet/feign/EpmetUserOpenFeignClient.java | 8 ++
.../EpmetUserOpenFeignClientFallback.java | 11 +++
.../RegisterRelationController.java | 18 ++++
.../com/epmet/dao/RegisterRelationDao.java | 5 +
.../service/RegisterRelationService.java | 12 +++
.../impl/RegisterRelationServiceImpl.java | 20 ++++
.../resources/mapper/RegisterRelationDao.xml | 17 +++-
13 files changed, 234 insertions(+), 9 deletions(-)
create mode 100644 epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/RegisterRelationPageFormDTO.java
diff --git a/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java b/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
index 0d68bafe6d..08b6d88924 100644
--- a/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
+++ b/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
@@ -61,5 +61,14 @@ public class OrganizationMessageResultDTO {
* 发布人所属组织名称
*/
private String publishOrgName;
+
+ /**
+ * 发送结果
+ */
+ private String sendMsgRes;
+ /**
+ * 共发送出多少条消息
+ */
+ private Integer totalReceiver;
}
diff --git a/epmet-module/epmet-message/epmet-message-server/pom.xml b/epmet-module/epmet-message/epmet-message-server/pom.xml
index fef8b6bded..daa811ed8e 100644
--- a/epmet-module/epmet-message/epmet-message-server/pom.xml
+++ b/epmet-module/epmet-message/epmet-message-server/pom.xml
@@ -101,11 +101,6 @@
flyway-core
-
- com.epmet
- epmet-user-client
- 2.0.0
-
com.epmet
epmet-third-client
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java
index 383720be2a..416f66793b 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java
@@ -65,5 +65,13 @@ public class OrganizationMessageEntity extends BaseEpmetEntity {
* 发布时间
*/
private Date publishTime;
-
+ /**
+ * 发送结果
+ * sending发送中;failed失败;success成功
+ */
+ private String sendMsgRes;
+ /**
+ * 共发送出多少条消息
+ */
+ private Integer totalReceiver;
}
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
index cfc8daef6a..616228fc59 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
@@ -1,9 +1,15 @@
package com.epmet.service.impl;
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.AppClientConstant;
+import com.epmet.commons.tools.constant.Constant;
import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.constant.StrConstant;
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult;
import com.epmet.commons.tools.enums.OrgTypeEnum;
+import com.epmet.commons.tools.exception.ExceptionUtils;
import com.epmet.commons.tools.page.PageData;
import com.epmet.commons.tools.redis.common.CustomerOrgRedis;
import com.epmet.commons.tools.redis.common.CustomerStaffRedis;
@@ -12,18 +18,26 @@ import com.epmet.commons.tools.redis.common.bean.GridInfoCache;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.commons.tools.utils.EpmetRequestHolder;
import com.epmet.commons.tools.utils.PidUtils;
+import com.epmet.commons.tools.utils.Result;
import com.epmet.dao.OrganizationMessageDao;
import com.epmet.dao.OrganizationMessagePublishRangeDao;
+import com.epmet.dao.UserMessageDao;
import com.epmet.dto.OrganizationMessageFormDTO;
import com.epmet.dto.OrganizationMessagePublishRangeDTO;
+import com.epmet.dto.RegisterRelationDTO;
+import com.epmet.dto.form.RegisterRelationPageFormDTO;
import com.epmet.dto.result.OrganizationMessageResultDTO;
import com.epmet.entity.OrganizationMessageEntity;
import com.epmet.entity.OrganizationMessagePublishRangeEntity;
+import com.epmet.entity.UserMessageEntity;
+import com.epmet.feign.EpmetUserOpenFeignClient;
import com.epmet.service.OrganizationMessageService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
+import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.CollectionUtils;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@@ -36,10 +50,16 @@ import java.util.List;
* @author generator generator@elink-cn.com
* @since v1.0.0 2023-05-04
*/
+@Slf4j
@Service
public class OrganizationMessageServiceImpl extends BaseServiceImpl implements OrganizationMessageService {
@Autowired
private OrganizationMessagePublishRangeDao organizationMessagePublishRangeDao;
+ @Autowired
+ private UserMessageDao userMessageDao;
+ @Autowired
+ private EpmetUserOpenFeignClient epmetUserOpenFeignClient;
+
/**
* 分页列表
@@ -93,6 +113,7 @@ public class OrganizationMessageServiceImpl extends BaseServiceImpl rangeList, String customerId) {
+ String result = "success";
+ int totalMsg = NumConstant.ZERO;
+ try {
+ for (OrganizationMessagePublishRangeDTO rangeDto : rangeList) {
+ RegisterRelationPageFormDTO pageFormDTO=new RegisterRelationPageFormDTO();
+ pageFormDTO.setCustomerId(customerId);
+ pageFormDTO.setFirstRegister(NumConstant.ONE_STR);
+ pageFormDTO.setPageNo(NumConstant.ONE);
+ pageFormDTO.setPageSize(NumConstant.TWO);
+ // pageFormDTO.setPageSize(NumConstant.ONE_THOUSAND);
+ if (OrgTypeEnum.GRID.getCode().equals(rangeDto.getOrgType())) {
+ // 查询该网格下的注册居民
+ pageFormDTO.setGridId(rangeDto.getOrgId());
+ } else {
+ // 查询该组织下的注册居民
+ pageFormDTO.setAgencyIdPath(rangeDto.getOrgIdPath());
+ }
+ List list=null;
+ do {
+ Result> regRes = epmetUserOpenFeignClient.pageQueryRegisterUser(pageFormDTO);
+ list = regRes.getData().getList();
+ for (RegisterRelationDTO regUser : list) {
+ LambdaQueryWrapper queryWrapper=new LambdaQueryWrapper();
+ queryWrapper.eq(UserMessageEntity::getCustomerId,customerId)
+ .eq(UserMessageEntity::getTargetId,messageId)
+ .eq(UserMessageEntity::getUserId,regUser.getUserId());
+ UserMessageEntity origin=userMessageDao.selectOne(queryWrapper);
+ if(null==origin){
+ UserMessageEntity userMessageEntity = new UserMessageEntity();
+ userMessageEntity.setCustomerId(customerId);
+ userMessageEntity.setGridId(regUser.getGridId());
+ userMessageEntity.setUserId(regUser.getUserId());
+ userMessageEntity.setApp(AppClientConstant.APP_RESI);
+ userMessageEntity.setTitle("您有一条社区消息!");
+ userMessageEntity.setMessageContent(content);
+ userMessageEntity.setReadFlag(Constant.UNREAD);
+ userMessageEntity.setReferer(StrConstant.EPMETY_STR);
+ userMessageEntity.setMessageType("organization_message");
+ userMessageEntity.setTargetId(messageId);
+ userMessageEntity.setCreatedBy(publishStaffId);
+ userMessageEntity.setUpdatedBy(publishStaffId);
+ userMessageDao.insert(userMessageEntity);
+ totalMsg += 1;
+ }
+ }
+ pageFormDTO.setPageNo(pageFormDTO.getPageNo() + NumConstant.ONE);
+ } while (CollectionUtils.isNotEmpty(list) && list.size() == pageFormDTO.getPageSize());
+ }
+ } catch (Exception e) {
+ log.error(String.format("messageId:%s,发送消息异常:%s", messageId, ExceptionUtils.getErrorStackTrace(e)));
+ result = "failed";
+ } finally {
+ LambdaUpdateWrapper updateWrapper = new LambdaUpdateWrapper<>();
+ updateWrapper.eq(OrganizationMessageEntity::getId, messageId)
+ .set(OrganizationMessageEntity::getSendMsgRes, result)
+ .set(OrganizationMessageEntity::getTotalReceiver, totalMsg)
+ .set(OrganizationMessageEntity::getUpdatedTime,new Date());
+ baseDao.update(null, updateWrapper);
+ }
+ }
+
+
}
\ No newline at end of file
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml
index 742421c739..8e8bd51ad6 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml
@@ -32,6 +32,8 @@
om.PUBLISH_ORG_ID as publishStaffName,
om.PUBLISH_ORG_ID_PATH as publishOrgIdPath,
OM.PUBLISH_ORG_NAME as publishOrgName,
+ om.SEND_MSG_RES as sendMsgRes,
+ om.TOTAL_RECEIVER as totalReceiver,
GROUP_CONCAT(r.ORG_NAME) as publishRangeName
from organization_message om
left join organization_message_publish_range r
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/RegisterRelationPageFormDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/RegisterRelationPageFormDTO.java
new file mode 100644
index 0000000000..bd1e28d424
--- /dev/null
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/RegisterRelationPageFormDTO.java
@@ -0,0 +1,33 @@
+package com.epmet.dto.form;
+
+import com.epmet.commons.tools.dto.form.PageFormDTO;
+import lombok.Data;
+
+/**
+ * @Description
+ * @Author yzm
+ * @Date 2023/5/5 9:47
+ */
+@Data
+public class RegisterRelationPageFormDTO extends PageFormDTO {
+ /**
+ * 客户Id (customer.id)
+ */
+ private String customerId;
+
+ /**
+ * agencyId的所有上级,包含自己
+ */
+ private String agencyIdPath;
+
+ /**
+ * 网格Id (customer_grid.id)
+ */
+ private String gridId;
+
+ /**
+ * 首次注册用户 0表示不参与计数 1表示参与计数
+ */
+ private String firstRegister;
+}
+
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java
index c80eab326e..ddc7a635e7 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/EpmetUserOpenFeignClient.java
@@ -1033,4 +1033,12 @@ public interface EpmetUserOpenFeignClient {
*/
@PostMapping("/epmetuser/icNat/clearNatRecords")
Result clearNatRecords(@RequestBody Map map);
+
+ /**
+ * 分页查询注册居民
+ * @param pageFormDTO
+ * @return
+ */
+ @PostMapping("/epmetuser/registerrelation/pageQueryRegisterUser")
+ Result> pageQueryRegisterUser(@RequestBody RegisterRelationPageFormDTO pageFormDTO);
}
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.java
index 4d3d56b76c..3bba7ced02 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/feign/fallback/EpmetUserOpenFeignClientFallback.java
@@ -756,4 +756,15 @@ public class EpmetUserOpenFeignClientFallback implements EpmetUserOpenFeignClien
public Result clearNatRecords(Map map) {
return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "clearNatRecords", map);
}
+
+ /**
+ * 分页查询注册居民
+ *
+ * @param pageFormDTO
+ * @return
+ */
+ @Override
+ public Result> pageQueryRegisterUser(RegisterRelationPageFormDTO pageFormDTO) {
+ return ModuleUtils.feignConError(ServiceConstant.EPMET_USER_SERVER, "pageQueryRegisterUser", pageFormDTO);
+ }
}
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/RegisterRelationController.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/RegisterRelationController.java
index d801a5e6e9..77dd78bf9d 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/RegisterRelationController.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/controller/RegisterRelationController.java
@@ -28,6 +28,7 @@ import com.epmet.commons.tools.validator.group.UpdateGroup;
import com.epmet.dto.RegisterRelationDTO;
import com.epmet.dto.form.AllResiByGridFormDTO;
import com.epmet.dto.form.EnterGridFormDTO;
+import com.epmet.dto.form.RegisterRelationPageFormDTO;
import com.epmet.dto.result.UserInfoOnEnterGridResultDTO;
import com.epmet.excel.RegisterRelationExcel;
import com.epmet.service.RegisterRelationService;
@@ -120,4 +121,21 @@ public class RegisterRelationController {
ValidatorUtils.validateEntity(formDTO, AllResiByGridFormDTO.AllResiByGridForm.class);
return new Result().ok(registerRelationService.getAllResiByGrid(formDTO));
}
+
+ /**
+ * 分页查询注册居民信息
+ * @param pageFormDTO
+ * @return
+ */
+ @PostMapping("pageQueryRegisterUser")
+ public Result> pageQueryRegisterUser(@RequestBody RegisterRelationPageFormDTO pageFormDTO){
+ return new Result>().ok(registerRelationService.pageQueryRegisterUser(pageFormDTO.getPageNo(),
+ pageFormDTO.getPageSize(),
+ pageFormDTO.getCustomerId(),
+ pageFormDTO.getGridId(),
+ pageFormDTO.getAgencyIdPath(),
+ pageFormDTO.getFirstRegister()));
+ }
+
+
}
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/dao/RegisterRelationDao.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/dao/RegisterRelationDao.java
index f5f4cdfd35..83ac08f940 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/dao/RegisterRelationDao.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/dao/RegisterRelationDao.java
@@ -71,4 +71,9 @@ public interface RegisterRelationDao extends BaseDao {
* @date 2022/10/8 10:48
*/
Integer getAllResiByGrid(@Param("gridId")String gridId);
+
+ List pageQueryRegisterUser(@Param("customerId") String customerId,
+ @Param("gridId") String gridId,
+ @Param("agencyIdPath") String agencyIdPath,
+ @Param("firstRegister") String firstRegister);
}
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/RegisterRelationService.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/RegisterRelationService.java
index 7179b78530..ed39bd6441 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/RegisterRelationService.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/RegisterRelationService.java
@@ -123,4 +123,16 @@ public interface RegisterRelationService extends BaseService pageQueryRegisterUser(Integer pageNo, Integer pageSize, String customerId, String gridId, String agencyIdPath, String firstRegister);
}
\ No newline at end of file
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/RegisterRelationServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/RegisterRelationServiceImpl.java
index 11cca8346e..6091ab7cdb 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/RegisterRelationServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/RegisterRelationServiceImpl.java
@@ -48,6 +48,8 @@ import com.epmet.feign.GovOrgOpenFeignClient;
import com.epmet.service.GridVisitedService;
import com.epmet.service.RegisterRelationService;
import com.epmet.util.ModuleConstant;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -389,4 +391,22 @@ public class RegisterRelationServiceImpl extends BaseServiceImpl pageQueryRegisterUser(Integer pageNo, Integer pageSize, String customerId, String gridId, String agencyIdPath, String firstRegister) {
+ PageHelper.startPage(pageNo,pageSize);
+ List resList=baseDao.pageQueryRegisterUser(customerId,gridId,agencyIdPath,firstRegister);
+ PageInfo pageInfo = new PageInfo<>(resList);
+ return new PageData<>(resList, pageInfo.getTotal());
+ }
}
diff --git a/epmet-user/epmet-user-server/src/main/resources/mapper/RegisterRelationDao.xml b/epmet-user/epmet-user-server/src/main/resources/mapper/RegisterRelationDao.xml
index c43cea28cc..f2e0506de3 100644
--- a/epmet-user/epmet-user-server/src/main/resources/mapper/RegisterRelationDao.xml
+++ b/epmet-user/epmet-user-server/src/main/resources/mapper/RegisterRelationDao.xml
@@ -97,5 +97,20 @@
AND grid_id = #{gridId}
-
+
From 30c353f013d243b83309381bbca992294447d1da Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Fri, 5 May 2023 12:27:15 +0800
Subject: [PATCH 02/68] bugfix
---
.../result/OrganizationMessageResultDTO.java | 4 ++++
.../OrganizationMessageController.java | 5 ++++-
.../service/OrganizationMessageService.java | 5 +++++
.../impl/OrganizationMessageServiceImpl.java | 18 ++++++++++--------
.../mapper/OrganizationMessageDao.xml | 2 ++
5 files changed, 25 insertions(+), 9 deletions(-)
diff --git a/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java b/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
index 08b6d88924..86ec079f87 100644
--- a/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
+++ b/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
@@ -1,9 +1,11 @@
package com.epmet.dto.result;
+import com.epmet.dto.OrganizationMessagePublishRangeDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
+import java.util.List;
/**
* @Description 烟台消息管理,列表查询
@@ -70,5 +72,7 @@ public class OrganizationMessageResultDTO {
* 共发送出多少条消息
*/
private Integer totalReceiver;
+
+ private List rangeList;
}
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/controller/OrganizationMessageController.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/controller/OrganizationMessageController.java
index ea14265f47..fac7d6d6d2 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/controller/OrganizationMessageController.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/controller/OrganizationMessageController.java
@@ -67,7 +67,10 @@ public class OrganizationMessageController {
formDTO.setCustomerId(tokenDto.getCustomerId());
formDTO.setPublishStaffId(tokenDto.getUserId());
ValidatorUtils.validateEntity(formDTO, OrganizationMessageFormDTO.AddShowGroup.class);
- return new Result().ok(organizationMessageService.publish(formDTO));
+ String messageId=organizationMessageService.publish(formDTO);
+ // 发送消息 发布范围下有哪些网格,网格下所有的注册居民,每人发送一条消息
+ organizationMessageService.sendUserMsg(messageId,formDTO.getContent(),formDTO.getPublishStaffId(),formDTO.getRangeList(),formDTO.getCustomerId());
+ return new Result().ok(messageId);
}
}
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/OrganizationMessageService.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/OrganizationMessageService.java
index 18299bb1c5..8932b557b4 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/OrganizationMessageService.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/OrganizationMessageService.java
@@ -3,9 +3,12 @@ package com.epmet.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.dto.OrganizationMessageFormDTO;
+import com.epmet.dto.OrganizationMessagePublishRangeDTO;
import com.epmet.dto.result.OrganizationMessageResultDTO;
import com.epmet.entity.OrganizationMessageEntity;
+import java.util.List;
+
/**
* 组织发布消息(烟台)
*
@@ -39,4 +42,6 @@ public interface OrganizationMessageService extends BaseService rangeList, String customerId);
}
\ No newline at end of file
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
index 616228fc59..51b1924af7 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
@@ -15,10 +15,7 @@ import com.epmet.commons.tools.redis.common.CustomerOrgRedis;
import com.epmet.commons.tools.redis.common.CustomerStaffRedis;
import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache;
import com.epmet.commons.tools.redis.common.bean.GridInfoCache;
-import com.epmet.commons.tools.utils.ConvertUtils;
-import com.epmet.commons.tools.utils.EpmetRequestHolder;
-import com.epmet.commons.tools.utils.PidUtils;
-import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.utils.*;
import com.epmet.dao.OrganizationMessageDao;
import com.epmet.dao.OrganizationMessagePublishRangeDao;
import com.epmet.dao.UserMessageDao;
@@ -79,7 +76,7 @@ public class OrganizationMessageServiceImpl extends BaseServiceImpl list = baseDao.pageList(EpmetRequestHolder.getLoginUserCustomerId(),staffOrgIdPath, publishDitch, orgId, startDate, endDate,null);
PageInfo pageInfo = new PageInfo<>(list);
- return new PageData<>(list, pageInfo.getTotal());
+ return new PageData<>(list, pageInfo.getTotal(),pageSize);
}
/**
@@ -92,7 +89,13 @@ public class OrganizationMessageServiceImpl extends BaseServiceImpl list = baseDao.pageList(EpmetRequestHolder.getLoginUserCustomerId(),null, null, null, null, null,messageId);
if(CollectionUtils.isNotEmpty(list)){
- return list.get(NumConstant.ZERO);
+ OrganizationMessageResultDTO resultDTO=list.get(NumConstant.ZERO);
+ LambdaQueryWrapper queryWrapper=new LambdaQueryWrapper<>();
+ queryWrapper.eq(OrganizationMessagePublishRangeEntity::getMessageId,messageId)
+ .orderByAsc(OrganizationMessagePublishRangeEntity::getCreatedTime);
+ List rangeList=organizationMessagePublishRangeDao.selectList(queryWrapper);
+ resultDTO.setRangeList(ConvertUtils.sourceToTarget(rangeList,OrganizationMessagePublishRangeDTO.class));
+ return resultDTO;
}
return null;
}
@@ -138,13 +141,12 @@ public class OrganizationMessageServiceImpl extends BaseServiceImpl rangeList, String customerId) {
String result = "success";
int totalMsg = NumConstant.ZERO;
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml
index 8e8bd51ad6..a1e5dcb6c8 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/resources/mapper/OrganizationMessageDao.xml
@@ -30,6 +30,7 @@
om.PUBLISH_TIME as publishTime,
om.PUBLISH_STAFF_ID as publishStaffId,
om.PUBLISH_ORG_ID as publishStaffName,
+ om.PUBLISH_ORG_ID as publishOrgId,
om.PUBLISH_ORG_ID_PATH as publishOrgIdPath,
OM.PUBLISH_ORG_NAME as publishOrgName,
om.SEND_MSG_RES as sendMsgRes,
@@ -58,6 +59,7 @@
and om.id =#{messageId}
+ group by om.id
order by om.PUBLISH_TIME desc
\ No newline at end of file
From 330e2bfc8211ac5decac0892d4101f572a78c222 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Fri, 5 May 2023 14:10:59 +0800
Subject: [PATCH 03/68] /message/organization/message/list;NullPointerException
---
.../epmet/service/impl/OrganizationMessageServiceImpl.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
index 51b1924af7..29c9a9bf48 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
@@ -9,6 +9,8 @@ import com.epmet.commons.tools.constant.NumConstant;
import com.epmet.commons.tools.constant.StrConstant;
import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult;
import com.epmet.commons.tools.enums.OrgTypeEnum;
+import com.epmet.commons.tools.exception.EpmetErrorCode;
+import com.epmet.commons.tools.exception.EpmetException;
import com.epmet.commons.tools.exception.ExceptionUtils;
import com.epmet.commons.tools.page.PageData;
import com.epmet.commons.tools.redis.common.CustomerOrgRedis;
@@ -72,6 +74,9 @@ public class OrganizationMessageServiceImpl extends BaseServiceImpl pageList(Integer pageNo, Integer pageSize, String publishDitch, String orgId, String startDate, String endDate) {
CustomerStaffInfoCacheResult staffInfoCacheResult = CustomerStaffRedis.getStaffInfo(EpmetRequestHolder.getLoginUserCustomerId(), EpmetRequestHolder.getLoginUserId());
+ if (null == staffInfoCacheResult) {
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "customerId:" + EpmetRequestHolder.getLoginUserCustomerId() + "staffId:" + EpmetRequestHolder.getLoginUserId(), "获取工作人员信息异常");
+ }
String staffOrgIdPath = PidUtils.convertPid2OrgIdPath(staffInfoCacheResult.getAgencyId(), staffInfoCacheResult.getAgencyPIds());
PageHelper.startPage(pageNo, pageSize);
List list = baseDao.pageList(EpmetRequestHolder.getLoginUserCustomerId(),staffOrgIdPath, publishDitch, orgId, startDate, endDate,null);
From b511b7a6671ef1d09d9495ef53bd8f24c4cdbdf4 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Fri, 5 May 2023 14:27:50 +0800
Subject: [PATCH 04/68] FINISH_SEND_TIME
---
.../com/epmet/dto/result/OrganizationMessageResultDTO.java | 6 ++++++
.../java/com/epmet/entity/OrganizationMessageEntity.java | 5 +++++
.../epmet/service/impl/OrganizationMessageServiceImpl.java | 1 +
.../src/main/resources/mapper/OrganizationMessageDao.xml | 1 +
4 files changed, 13 insertions(+)
diff --git a/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java b/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
index 86ec079f87..94b89ded76 100644
--- a/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
+++ b/epmet-module/epmet-message/epmet-message-client/src/main/java/com/epmet/dto/result/OrganizationMessageResultDTO.java
@@ -73,6 +73,12 @@ public class OrganizationMessageResultDTO {
*/
private Integer totalReceiver;
+ /**
+ * 发送完成时间
+ */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private Date finishSendTime;
+
private List rangeList;
}
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java
index 416f66793b..15c07c0851 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/entity/OrganizationMessageEntity.java
@@ -74,4 +74,9 @@ public class OrganizationMessageEntity extends BaseEpmetEntity {
* 共发送出多少条消息
*/
private Integer totalReceiver;
+
+ /**
+ * 发送完成时间
+ */
+ private Date finishSendTime;
}
diff --git a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
index 29c9a9bf48..65580da84c 100644
--- a/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
+++ b/epmet-module/epmet-message/epmet-message-server/src/main/java/com/epmet/service/impl/OrganizationMessageServiceImpl.java
@@ -209,6 +209,7 @@ public class OrganizationMessageServiceImpl extends BaseServiceImpl
Date: Sat, 6 May 2023 10:52:52 +0800
Subject: [PATCH 05/68] =?UTF-8?q?=E9=80=9A=E8=AE=AF=E5=BD=95=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E7=83=9F=E5=8F=B0=E9=9C=80=E6=B1=82=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/epmet/dto/form/AddStaffV2FromDTO.java | 34 +++++++++++++++++++
.../epmet/dto/form/StaffSubmitFromDTO.java | 33 ++++++++++++++++++
.../java/com/epmet/dto/CustomerStaffDTO.java | 25 ++++++++++++++
.../com/epmet/entity/CustomerStaffEntity.java | 28 +++++++++++++++
.../impl/CustomerStaffServiceImpl.java | 24 +++++++++++++
5 files changed, 144 insertions(+)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddStaffV2FromDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddStaffV2FromDTO.java
index 7bc3b93076..4250c5ca61 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddStaffV2FromDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddStaffV2FromDTO.java
@@ -78,4 +78,38 @@ public class AddStaffV2FromDTO implements Serializable {
* 烟台用:当前登录用户
*/
private String currentUserId;
+
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+ /**
+ * 身份证
+ */
+ private String idCard;
+
+ /**
+ * 居住地址
+ */
+ private String address;
+
}
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffSubmitFromDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffSubmitFromDTO.java
index f39bde7aab..a3ecf0f06f 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffSubmitFromDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/StaffSubmitFromDTO.java
@@ -74,4 +74,37 @@ public class StaffSubmitFromDTO implements Serializable {
* 社会自组织: community_org
*/
private String deptType;
+
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+ /**
+ * 身份证
+ */
+ private String idCard;
+
+ /**
+ * 居住地址
+ */
+ private String address;
}
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java
index cd042877ab..fddf4fc83d 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java
@@ -150,4 +150,29 @@ public class CustomerStaffDTO implements Serializable {
*/
private String idCard;
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+
+
}
\ No newline at end of file
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/CustomerStaffEntity.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/CustomerStaffEntity.java
index aa19464f9e..3d26a85c76 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/CustomerStaffEntity.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/CustomerStaffEntity.java
@@ -111,4 +111,32 @@ public class CustomerStaffEntity extends BaseEpmetEntity {
* 身份证号
*/
private String idCard;
+
+
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+
+
+
}
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
index 1ff4560c99..0212da4168 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
@@ -370,6 +370,30 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl
Date: Sat, 6 May 2023 11:02:07 +0800
Subject: [PATCH 06/68] =?UTF-8?q?=E5=86=B2=E7=AA=81=E8=A7=A3=E5=86=B3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/java/com/epmet/dto/CustomerStaffDTO.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java
index 32f05ca6e6..ce231a91f4 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/CustomerStaffDTO.java
@@ -149,7 +149,6 @@ public class CustomerStaffDTO implements Serializable {
* 身份证号
*/
private String idCard;
- private String culture;
private Date birthday;
/**
From 52c573be1847ed0815d992568ee854d90b03b0e0 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 13:04:35 +0800
Subject: [PATCH 07/68] =?UTF-8?q?ic=5Fproperty=5Fmanagement=E8=A1=A8?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=81=94=E7=B3=BB=E4=BA=BA=EF=BC=8C=E8=81=94?=
=?UTF-8?q?=E7=B3=BB=E7=94=B5=E8=AF=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../epmet/dto/IcPropertyManagementDTO.java | 10 ++++++++
.../dto/form/IcPropertyManagementFormDTO.java | 12 +++++++++
.../PropertyManagementController.java | 15 +++++++++--
.../entity/IcPropertyManagementEntity.java | 9 +++++++
.../impl/PropertyManagementServiceImpl.java | 25 ++++++++++++++++---
5 files changed, 66 insertions(+), 5 deletions(-)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcPropertyManagementDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcPropertyManagementDTO.java
index a276e36387..171cbeb01c 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcPropertyManagementDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcPropertyManagementDTO.java
@@ -48,6 +48,16 @@ public class IcPropertyManagementDTO implements Serializable {
*/
private String customerId;
+ /**
+ * 烟台需求:物业联系人姓名
+ */
+ private String contactName;
+
+ /**
+ * 烟台需求:物业联系人电话
+ */
+ private String contactMobile;
+
/**
* 删除标识 0未删除、1已删除
*/
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcPropertyManagementFormDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcPropertyManagementFormDTO.java
index bbc2cd7152..220a2b7488 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcPropertyManagementFormDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcPropertyManagementFormDTO.java
@@ -52,6 +52,18 @@ public class IcPropertyManagementFormDTO implements Serializable {
@Length(max = 50, message = "物业名称不能超过50个字", groups = {AddShowGroup.class})
private String name;
+ /**
+ * 烟台需求:物业联系人姓名
+ */
+ @Length(max = 30, message = "物业联系人不能超过30个字", groups = {AddShowGroup.class, UpdateShowGroup.class})
+ private String contactName;
+
+ /**
+ * 烟台需求:物业联系人电话
+ */
+ @Length(max = 30, message = "联系电话不能超过30个字",groups = {AddShowGroup.class, UpdateShowGroup.class})
+ private String contactMobile;
+
private String customerId;
@NotNull(message = "pageNo不能为空", groups = PageGroup.class)
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java
index ba24389143..047a98d802 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java
@@ -49,8 +49,9 @@ public class PropertyManagementController {
@Autowired
private PropertyManagementService propertyManagementService;
+
/**
- * 分页查询物业列表
+ * 物业管理-分页查询物业列表
*/
@PostMapping("page")
public Result> page(@RequestBody IcPropertyManagementFormDTO formDTO){
@@ -68,7 +69,7 @@ public class PropertyManagementController {
}
/**
- * 新增物业
+ * 物业管理-新增物业
* 新增小区页面,添加小区也调用此接口
* @param tokenDTO
* @param formDTO
@@ -84,6 +85,11 @@ public class PropertyManagementController {
return new Result().ok(map);
}
+ /**
+ * 物业管理-修改
+ * @param formDTO
+ * @return
+ */
@PostMapping("update")
public Result update(@RequestBody IcPropertyManagementFormDTO formDTO){
//效验数据
@@ -92,6 +98,11 @@ public class PropertyManagementController {
return new Result();
}
+ /**
+ * 物业管理-删除
+ * @param formDTO
+ * @return
+ */
@PostMapping("delete")
public Result delete(@RequestBody IcPropertyManagementFormDTO formDTO){
//效验数据
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcPropertyManagementEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcPropertyManagementEntity.java
index 239fce61cc..c0ea9df16d 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcPropertyManagementEntity.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcPropertyManagementEntity.java
@@ -40,4 +40,13 @@ public class IcPropertyManagementEntity extends BaseEpmetEntity {
*/
private String name;
private String customerId;
+ /**
+ * 烟台需求:物业联系人姓名
+ */
+ private String contactName;
+
+ /**
+ * 烟台需求:物业联系人电话
+ */
+ private String contactMobile;
}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
index 41d2f7bfbc..cb782f36d7 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
@@ -1,6 +1,7 @@
package com.epmet.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.epmet.commons.tools.exception.EpmetErrorCode;
import com.epmet.commons.tools.exception.EpmetException;
import com.epmet.commons.tools.page.PageData;
@@ -22,6 +23,7 @@ import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.ArrayList;
+import java.util.Date;
import java.util.List;
@Slf4j
@@ -73,6 +75,10 @@ public class PropertyManagementServiceImpl implements PropertyManagementService
return icPropertyManagementEntity.getId();
}
+ /**
+ * 物业管理-修改
+ * @param formDTO
+ */
@Override
@Transactional(rollbackFor = Exception.class)
public void update(IcPropertyManagementFormDTO formDTO) {
@@ -80,8 +86,14 @@ public class PropertyManagementServiceImpl implements PropertyManagementService
if (null != entity) {
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"物业名称已存在","物业名称已存在");
}
- IcPropertyManagementEntity icPropertyManagementEntity = ConvertUtils.sourceToTarget(formDTO, IcPropertyManagementEntity.class);
- icPropertyManagementDao.updateById(icPropertyManagementEntity);
+ LambdaUpdateWrapper updateWrapper=new LambdaUpdateWrapper<>();
+ updateWrapper.eq(IcPropertyManagementEntity::getId,formDTO.getId())
+ .set(IcPropertyManagementEntity::getName,formDTO.getName())
+ .set(IcPropertyManagementEntity::getContactName,formDTO.getContactName())
+ .set(IcPropertyManagementEntity::getContactMobile,formDTO.getContactMobile())
+ .set(IcPropertyManagementEntity::getUpdatedTime,new Date())
+ .set(IcPropertyManagementEntity::getUpdatedBy,EpmetRequestHolder.getLoginUserId());
+ icPropertyManagementDao.update(null,updateWrapper);
}
/**
@@ -99,11 +111,18 @@ public class PropertyManagementServiceImpl implements PropertyManagementService
icPropertyManagementDao.deleteById(formDTO.getId());
}
+ /**
+ * 物业管理-列表查询
+ * @param pageNo
+ * @param pageSize
+ * @param name
+ * @return
+ */
@Override
public PageData page(Integer pageNo, Integer pageSize, String name) {
PageHelper.startPage(pageNo,pageSize);
List list=icPropertyManagementDao.queryList(EpmetRequestHolder.getLoginUserCustomerId(),name);
PageInfo pageInfo = new PageInfo<>(list);
- return new PageData<>(list, pageInfo.getTotal());
+ return new PageData<>(list, pageInfo.getTotal(),pageSize);
}
}
From 8ae98006d230d3f8c95b33e9cd18aa468629d632 Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sat, 6 May 2023 13:27:12 +0800
Subject: [PATCH 08/68] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=AF=A6=E6=83=85?=
=?UTF-8?q?=E3=80=81=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../dto/epmetuser/CustomerStaffDTO.java | 35 +++++++++++++++++
.../dto/govorg/form/StaffDetailV2FormDTO.java | 39 +++++++++++++++++++
.../epmet/dto/result/StaffInitResultDTO.java | 29 ++++++++++++++
.../impl/CustomerStaffServiceImpl.java | 13 +++++++
4 files changed, 116 insertions(+)
diff --git a/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/epmetuser/CustomerStaffDTO.java b/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/epmetuser/CustomerStaffDTO.java
index dec7a89cc7..61df5ba791 100644
--- a/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/epmetuser/CustomerStaffDTO.java
+++ b/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/epmetuser/CustomerStaffDTO.java
@@ -134,4 +134,39 @@ public class CustomerStaffDTO implements Serializable {
*/
private String password;
+ /**
+ * 烟台用:当前登录用户
+ */
+ private String currentUserId;
+
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+ /**
+ * 身份证
+ */
+ private String idCard;
+
+
+
}
diff --git a/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/govorg/form/StaffDetailV2FormDTO.java b/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/govorg/form/StaffDetailV2FormDTO.java
index ea1763af18..5e75cbdeab 100644
--- a/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/govorg/form/StaffDetailV2FormDTO.java
+++ b/epmet-module/data-aggregator/data-aggregator-client/src/main/java/com/epmet/dataaggre/dto/govorg/form/StaffDetailV2FormDTO.java
@@ -48,4 +48,43 @@ public class StaffDetailV2FormDTO implements Serializable {
private List szsqRoles;
private String customerId;
+ /**
+ * 烟台用:当前登录用户
+ */
+ private String currentUserId;
+
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+ /**
+ * 身份证
+ */
+ private String idCard;
+
+ /**
+ * 居住地址
+ */
+ private String address;
+
+
}
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/StaffInitResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/StaffInitResultDTO.java
index 87b641b564..90e325a2f1 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/StaffInitResultDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/StaffInitResultDTO.java
@@ -55,4 +55,33 @@ public class StaffInitResultDTO implements Serializable {
* xxx-xxx
*/
private String agencyName;
+
+
+ /**
+ * 烟台需求:党组织职务
+ */
+ private String partyPosition;
+
+ /**
+ * 烟台需求:村居委员职务
+ */
+ private String viliagePosition;
+
+ /**
+ * 烟台需求:工作职责
+ */
+ private String duty;
+
+ /**
+ * 烟台需求:备注
+ */
+ private String remark;
+ /**
+ * 文化程度
+ */
+ private String culture;
+
+ private String address;
+
+
}
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
index 0212da4168..8f308d06ac 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
@@ -304,6 +304,12 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl
Date: Sat, 6 May 2023 13:29:43 +0800
Subject: [PATCH 09/68] =?UTF-8?q?gov/org/propertymanagement/page=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E8=81=94=E7=B3=BB=E4=BA=BA=EF=BC=8C=E8=81=94=E7=B3=BB?=
=?UTF-8?q?=E7=94=B5=E8=AF=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/epmet/controller/PropertyManagementController.java | 3 ++-
.../main/java/com/epmet/dao/IcPropertyManagementDao.java | 5 ++++-
.../java/com/epmet/service/PropertyManagementService.java | 2 +-
.../epmet/service/impl/PropertyManagementServiceImpl.java | 2 +-
.../src/main/resources/mapper/IcPropertyManagementDao.xml | 6 ++++++
5 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java
index 047a98d802..d65ba66296 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/PropertyManagementController.java
@@ -56,7 +56,8 @@ public class PropertyManagementController {
@PostMapping("page")
public Result> page(@RequestBody IcPropertyManagementFormDTO formDTO){
ValidatorUtils.validateEntity(formDTO,IcPropertyManagementFormDTO.PageGroup.class);
- return new Result>().ok(propertyManagementService.page(formDTO.getPageNo(),formDTO.getPageSize(),formDTO.getName()));
+ return new Result>().ok(propertyManagementService.page(formDTO.getPageNo(),formDTO.getPageSize(),formDTO.getName(),
+ formDTO.getContactName(),formDTO.getContactMobile()));
}
/**
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/IcPropertyManagementDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/IcPropertyManagementDao.java
index 915b2f6d7d..69124d0459 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/IcPropertyManagementDao.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/IcPropertyManagementDao.java
@@ -59,5 +59,8 @@ public interface IcPropertyManagementDao extends BaseDao selectPropertyNameList(String neighborhoodId);
- List queryList(@Param("customerId") String customerId,@Param("name")String name);
+ List queryList(@Param("customerId") String customerId,
+ @Param("name")String name,
+ @Param("contactName") String contactName,
+ @Param("contactMobile") String contactMobile);
}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/PropertyManagementService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/PropertyManagementService.java
index f3f77cde27..cae9715bd1 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/PropertyManagementService.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/PropertyManagementService.java
@@ -39,5 +39,5 @@ public interface PropertyManagementService {
void update(IcPropertyManagementFormDTO formDTO);
void delete(IcPropertyManagementFormDTO formDTO);
- PageData page(Integer pageNo, Integer pageSize, String name);
+ PageData page(Integer pageNo, Integer pageSize, String name,String contactName,String contactMobile);
}
\ No newline at end of file
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
index cb782f36d7..643cdbacb9 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
@@ -119,7 +119,7 @@ public class PropertyManagementServiceImpl implements PropertyManagementService
* @return
*/
@Override
- public PageData page(Integer pageNo, Integer pageSize, String name) {
+ public PageData page(Integer pageNo, Integer pageSize, String name,String contactName,String contactMobile) {
PageHelper.startPage(pageNo,pageSize);
List list=icPropertyManagementDao.queryList(EpmetRequestHolder.getLoginUserCustomerId(),name);
PageInfo pageInfo = new PageInfo<>(list);
diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcPropertyManagementDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcPropertyManagementDao.xml
index 045514482f..2035e53020 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcPropertyManagementDao.xml
+++ b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcPropertyManagementDao.xml
@@ -80,6 +80,12 @@
and m.name like concat('%',#{name},'%')
+
+ and m.CONTACT_NAME like concat('%',#{contactName},'%')
+
+
+ and m.CONTACT_MOBILE like concat('%',#{contactMobile},'%')
+
order by m.CREATED_TIME desc
\ No newline at end of file
From 31fee9c480500ecdbc4aa1ca3e9ee3e4d88f9210 Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sat, 6 May 2023 14:26:36 +0800
Subject: [PATCH 10/68] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E9=9C=80=E6=B1=82?=
=?UTF-8?q?=E3=80=81=E6=96=B0=E5=A2=9E=E7=BB=84=E7=BB=87=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../epmet/dto/form/AddAgencyV2FormDTO.java | 26 ++++++++++++++++++
.../epmet/entity/CustomerAgencyEntity.java | 27 +++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddAgencyV2FormDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddAgencyV2FormDTO.java
index 63bf3c6e55..1427330c53 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddAgencyV2FormDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/AddAgencyV2FormDTO.java
@@ -124,4 +124,30 @@ public class AddAgencyV2FormDTO implements Serializable {
*/
@Length(max = 500,message ="最多输入500字",groups =DefaultUserShowGroup.class )
private String remark;
+
+ /**
+ * 村居/社区书记姓名
+ */
+ private String secretaryName;
+ /**
+ * 村居/社区书记电话
+ */
+ private String secretaryMobile;
+ /**
+ * 值班电话
+ */
+ private String dutyMobile;
+ /**
+ * 统一社会信用代码
+ */
+ private String unifiedSocialCreditCode;
+ /**
+ * 统一社会信用代码证书(图片附件)
+ */
+ private String unifiedSocialCreditCodeCertificate;
+
+ /**
+ * 详细地址
+ */
+ private String fullAddress;
}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerAgencyEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerAgencyEntity.java
index a2668ae5fd..236a8c3181 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerAgencyEntity.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CustomerAgencyEntity.java
@@ -149,4 +149,31 @@ public class CustomerAgencyEntity extends BaseEpmetEntity {
*/
private String remark;
+
+ /**
+ * 村居/社区书记姓名
+ */
+ private String secretaryName;
+ /**
+ * 村居/社区书记电话
+ */
+ private String secretaryMobile;
+ /**
+ * 值班电话
+ */
+ private String dutyMobile;
+ /**
+ * 统一社会信用代码
+ */
+ private String unifiedSocialCreditCode;
+ /**
+ * 统一社会信用代码证书(图片附件)
+ */
+ private String unifiedSocialCreditCodeCertificate;
+
+ /**
+ * 详细地址
+ */
+ private String fullAddress;
+
}
From 2a2511d3e12135455b23fe6d2d7c5f9181b39d8f Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 14:33:08 +0800
Subject: [PATCH 11/68] =?UTF-8?q?gov/org/propertymanagement/page=E6=96=B0?=
=?UTF-8?q?=E5=A2=9E=E8=81=94=E7=B3=BB=E4=BA=BA=EF=BC=8C=E8=81=94=E7=B3=BB?=
=?UTF-8?q?=E7=94=B5=E8=AF=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/epmet/service/impl/PropertyManagementServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
index 643cdbacb9..e816556e07 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/PropertyManagementServiceImpl.java
@@ -121,7 +121,7 @@ public class PropertyManagementServiceImpl implements PropertyManagementService
@Override
public PageData page(Integer pageNo, Integer pageSize, String name,String contactName,String contactMobile) {
PageHelper.startPage(pageNo,pageSize);
- List list=icPropertyManagementDao.queryList(EpmetRequestHolder.getLoginUserCustomerId(),name);
+ List list=icPropertyManagementDao.queryList(EpmetRequestHolder.getLoginUserCustomerId(),name,contactName,contactMobile);
PageInfo pageInfo = new PageInfo<>(list);
return new PageData<>(list, pageInfo.getTotal(),pageSize);
}
From 0efcc3578f48c3b0e8221af89475eb5a275598d5 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 14:58:57 +0800
Subject: [PATCH 12/68] =?UTF-8?q?=E6=A5=BC=E6=A0=8B=E5=8D=95=E5=85=83?=
=?UTF-8?q?=E9=95=BF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/application.yml | 2 +-
.../CommunityBuildingManagerPageFormDTO.java | 80 ++++++++++
.../result/CommunityBuildingManagerDTO.java | 110 +++++++++++++
.../yt/CommunityBuildingManagerResultDTO.java | 102 +++++++++++++
.../CommunityBuildingManagerController.java | 111 ++++++++++++++
.../dao/CommunityBuildingManagerDao.java | 50 ++++++
.../CommunityBuildingManagerEntity.java | 86 +++++++++++
.../CommunityBuildingManagerService.java | 66 ++++++++
.../CommunityBuildingManagerServiceImpl.java | 144 ++++++++++++++++++
.../mapper/CommunityBuildingManagerDao.xml | 94 ++++++++++++
10 files changed, 844 insertions(+), 1 deletion(-)
create mode 100644 epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/yt/CommunityBuildingManagerPageFormDTO.java
create mode 100644 epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/CommunityBuildingManagerDTO.java
create mode 100644 epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java
create mode 100644 epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CommunityBuildingManagerController.java
create mode 100644 epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CommunityBuildingManagerDao.java
create mode 100644 epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CommunityBuildingManagerEntity.java
create mode 100644 epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CommunityBuildingManagerService.java
create mode 100644 epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java
create mode 100644 epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CommunityBuildingManagerDao.xml
diff --git a/epmet-cloud-generator/src/main/resources/application.yml b/epmet-cloud-generator/src/main/resources/application.yml
index 86b39b69c8..186ba27276 100644
--- a/epmet-cloud-generator/src/main/resources/application.yml
+++ b/epmet-cloud-generator/src/main/resources/application.yml
@@ -9,7 +9,7 @@ spring:
type: com.alibaba.druid.pool.DruidDataSource
#MySQL配置
driverClassName: com.mysql.jdbc.Driver
- url: jdbc:mysql://118.190.150.119:43306/epmet_gov_org?useUnicode=true&characterEncoding=UTF-8&useSSL=false
+ url: jdbc:mysql://192.168.1.140:3306/epmet_gov_org?useUnicode=true&characterEncoding=UTF-8&useSSL=false
username: root
password: root
#oracle配置
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/yt/CommunityBuildingManagerPageFormDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/yt/CommunityBuildingManagerPageFormDTO.java
new file mode 100644
index 0000000000..f4fd8bbbda
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/yt/CommunityBuildingManagerPageFormDTO.java
@@ -0,0 +1,80 @@
+package com.epmet.dto.form.yt;
+
+import com.epmet.commons.tools.dto.form.PageFormDTO;
+import lombok.Data;
+
+/**
+ * @Description
+ * @Author yzm
+ * @Date 2023/5/6 13:53
+ */
+@Data
+public class CommunityBuildingManagerPageFormDTO extends PageFormDTO {
+ // start
+ private String customerId;
+ private String staffId;
+ /**
+ * 工作人员所属组织的org_id_path
+ * 列表数据应查询本组织及下级
+ * 网格的全路径,包含网格id
+ */
+ private String orgIdPath;
+ // end
+
+
+ /**
+ * 姓名
+ */
+ private String name;
+
+ /**
+ * 联系电话
+ */
+ private String phone;
+
+ /**
+ * 身份证号
+ */
+ private String idCard;
+
+ /**
+ * 类型:0楼长;1单元长
+ */
+ private String type;
+
+ /**
+ * 所属区县id;取名字关联customer_agency
+ */
+ private String districtId;
+
+ /**
+ * 所属街道id;取名字关联customer_agency
+ */
+ private String streetId;
+
+ /**
+ * 所属社区id;取名字关联customer_agency
+ */
+ private String communityId;
+
+ /**
+ * 所属网格id;取名字关联customer_grid
+ */
+ private String gridId;
+
+ /**
+ * 所属小区id
+ */
+ private String viliageId;
+
+ /**
+ * 所属楼栋id
+ */
+ private String buildingId;
+
+ /**
+ * 所属单元id; 单元长时必填此列
+ */
+ private String unitId;
+}
+
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/CommunityBuildingManagerDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/CommunityBuildingManagerDTO.java
new file mode 100644
index 0000000000..062fe0b7b7
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/CommunityBuildingManagerDTO.java
@@ -0,0 +1,110 @@
+package com.epmet.dto.result;
+
+import com.epmet.commons.tools.validator.group.CustomerClientShowGroup;
+import lombok.Data;
+import org.hibernate.validator.constraints.Length;
+
+import javax.validation.constraints.NotBlank;
+import java.io.Serializable;
+
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+@Data
+public class CommunityBuildingManagerDTO implements Serializable {
+
+ private static final long serialVersionUID = -2526419541953300212L;
+ public interface AddShowGroup extends CustomerClientShowGroup {
+ }
+
+ public interface UpdateShowGroup extends CustomerClientShowGroup {
+ }
+ /**
+ * 主键(烟台需求)
+ */
+ @NotBlank(message ="id不能为空" ,groups = {UpdateShowGroup.class})
+ private String id;
+
+ /**
+ * 客户Id customer.id
+ */
+ private String customerId;
+
+ /**
+ * 姓名
+ */
+ @Length(max = 50,message = "姓名最多输入50字",groups = {AddShowGroup.class,UpdateShowGroup.class})
+ @NotBlank(message ="姓名不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String name;
+
+ /**
+ * 联系电话
+ */
+ @Length(max = 50,message = "联系电话最多输入50字",groups = {AddShowGroup.class,UpdateShowGroup.class})
+ @NotBlank(message ="联系电话不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String phone;
+
+ /**
+ * 身份证号
+ */
+ @Length(max = 50,message = "身份证号最多输入50字",groups = {AddShowGroup.class,UpdateShowGroup.class})
+ @NotBlank(message ="身份证号不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String idCard;
+
+ /**
+ * 类型:0楼长;1单元长
+ */
+ @NotBlank(message ="类型不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String type;
+
+ /**
+ * 所属区县id;取名字关联customer_agency
+ */
+ @NotBlank(message ="所属区县不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String districtId;
+
+ /**
+ * 所属街道id;取名字关联customer_agency
+ */
+ @NotBlank(message ="所属街道不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String streetId;
+
+ /**
+ * 所属社区id;取名字关联customer_agency
+ */
+ @NotBlank(message ="所属社区不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String communityId;
+
+ /**
+ * 所属网格id;取名字关联customer_grid
+ */
+ @NotBlank(message ="所属网格不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String gridId;
+
+ /**
+ * 网格的全路径,包含网格id
+ */
+ private String orgIdPath;
+
+ /**
+ * 所属小区id
+ */
+ @NotBlank(message ="所属小区不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String viliageId;
+
+ /**
+ * 所属楼栋id
+ */
+ @NotBlank(message ="楼栋不能为空" ,groups = {AddShowGroup.class,UpdateShowGroup.class})
+ private String buildingId;
+
+ /**
+ * 所属单元id; 单元长时必填此列
+ */
+ private String unitId;
+
+}
\ No newline at end of file
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java
new file mode 100644
index 0000000000..1d2df38f08
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java
@@ -0,0 +1,102 @@
+package com.epmet.dto.result.yt;
+
+import lombok.Data;
+
+import java.io.Serializable;
+
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+@Data
+public class CommunityBuildingManagerResultDTO implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 主键(烟台需求)
+ */
+ private String id;
+
+ /**
+ * 客户Id customer.id
+ */
+ private String customerId;
+
+ /**
+ * 姓名
+ */
+ private String name;
+
+ /**
+ * 联系电话
+ */
+ private String phone;
+
+ /**
+ * 身份证号
+ */
+ private String idCard;
+
+ /**
+ * 类型:0楼长;1单元长
+ */
+ private String type;
+
+ /**
+ * 所属区县id;取名字关联customer_agency
+ */
+ private String districtId;
+ private String districtName;
+ /**
+ * 所属街道id;取名字关联customer_agency
+ */
+ private String streetId;
+ private String streetName;
+
+ /**
+ * 所属社区id;取名字关联customer_agency
+ */
+ private String communityId;
+ private String communityName;
+
+ /**
+ * 所属网格id;取名字关联customer_grid
+ */
+ private String gridId;
+ private String gridName;
+
+ /**
+ * 网格的全路径,包含网格id
+ */
+ private String orgIdPath;
+
+ /**
+ * 所属小区id
+ */
+ private String viliageId;
+ /**
+ * 所属小区id
+ */
+ private String viliageName;
+
+ /**
+ * 所属楼栋id
+ */
+ private String buildingId;
+ private String buildingName;
+
+ /**
+ * 所属单元id; 单元长时必填此列
+ */
+ private String unitId;
+ /**
+ * 所属单元id; 单元长时必填此列
+ */
+ private String unitName;
+
+
+}
\ No newline at end of file
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CommunityBuildingManagerController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CommunityBuildingManagerController.java
new file mode 100644
index 0000000000..264e37c895
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CommunityBuildingManagerController.java
@@ -0,0 +1,111 @@
+package com.epmet.controller;
+
+import com.epmet.commons.tools.annotation.LoginUser;
+import com.epmet.commons.tools.aop.NoRepeatSubmit;
+import com.epmet.commons.tools.exception.EpmetErrorCode;
+import com.epmet.commons.tools.exception.EpmetException;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.security.dto.TokenDto;
+import com.epmet.commons.tools.utils.Result;
+import com.epmet.commons.tools.validator.ValidatorUtils;
+import com.epmet.dto.form.yt.CommunityBuildingManagerPageFormDTO;
+import com.epmet.dto.result.CommunityBuildingManagerDTO;
+import com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO;
+import com.epmet.service.CommunityBuildingManagerService;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.util.CollectionUtils;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+@RestController
+@RequestMapping("communityBuildingManager")
+public class CommunityBuildingManagerController {
+
+ @Autowired
+ private CommunityBuildingManagerService communityBuildingManagerService;
+
+ /**
+ * 列表分页查询
+ * @param formDTO
+ * @return
+ */
+ @RequestMapping("page")
+ public Result> page(@LoginUser TokenDto tokenDto, @RequestBody CommunityBuildingManagerPageFormDTO formDTO){
+ formDTO.setCustomerId(tokenDto.getCustomerId());
+ formDTO.setStaffId(tokenDto.getUserId());
+ PageData page = communityBuildingManagerService.page(formDTO);
+ return new Result>().ok(page);
+ }
+
+ /**
+ * 查看详情
+ * @param id
+ * @return
+ */
+ @RequestMapping(value = "detail/{id}",method = {RequestMethod.POST})
+ public Result get(@PathVariable("id") String id){
+ CommunityBuildingManagerResultDTO data = communityBuildingManagerService.get(id);
+ return new Result().ok(data);
+ }
+
+ /**
+ * 新增楼长/单元长
+ * todo: 同步到具体的楼栋
+ * @param dto
+ * @return
+ */
+ @NoRepeatSubmit
+ @PostMapping("save")
+ public Result save(@LoginUser TokenDto tokenDto,@RequestBody CommunityBuildingManagerDTO dto){
+ dto.setCustomerId(tokenDto.getCustomerId());
+ ValidatorUtils.validateEntity(dto, CommunityBuildingManagerDTO.AddShowGroup.class);
+ //类型:0楼长;1单元长
+ if("1".equals(dto.getType())&& StringUtils.isBlank(dto.getUnitId())){
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"单元长必须选择所属单元","单元长必须选择所属单元");
+ }
+ communityBuildingManagerService.save(dto);
+ return new Result();
+ }
+
+ /**
+ * 编辑楼长/单元长
+ * todo: 同步到具体的楼栋
+ * @param dto
+ * @return
+ */
+ @NoRepeatSubmit
+ @PostMapping("update")
+ public Result update(@RequestBody CommunityBuildingManagerDTO dto){
+ ValidatorUtils.validateEntity(dto, CommunityBuildingManagerDTO.UpdateShowGroup.class);
+ //类型:0楼长;1单元长
+ if("1".equals(dto.getType())&& StringUtils.isBlank(dto.getUnitId())){
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"单元长必须选择所属单元","单元长必须选择所属单元");
+ }
+ communityBuildingManagerService.update(dto);
+ return new Result();
+ }
+
+ /**
+ * 批量删除楼长/单元长
+ * todo: 同时清空楼栋表里的信息
+ * @param ids
+ * @return
+ */
+ @PostMapping("delete")
+ public Result delete(@RequestBody List ids){
+ if(!CollectionUtils.isEmpty(ids)){
+ communityBuildingManagerService.delete(ids);
+ }
+ return new Result();
+ }
+
+}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CommunityBuildingManagerDao.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CommunityBuildingManagerDao.java
new file mode 100644
index 0000000000..e6c19b0d26
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/dao/CommunityBuildingManagerDao.java
@@ -0,0 +1,50 @@
+package com.epmet.dao;
+
+import com.epmet.commons.mybatis.dao.BaseDao;
+import com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO;
+import com.epmet.entity.CommunityBuildingManagerEntity;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+@Mapper
+public interface CommunityBuildingManagerDao extends BaseDao {
+ /**
+ * 楼长单元长分页列表查询
+ * @param customerId
+ * @param orgIdPath
+ * @param name
+ * @param phone
+ * @param idCard
+ * @param type
+ * @param districtId
+ * @param streetId
+ * @param communityId
+ * @param gridId
+ * @param viliageId
+ * @param buildingId
+ * @param unitId
+ * @return
+ */
+ List pageList(@Param("customerId") String customerId,
+ @Param("orgIdPath")String orgIdPath,
+ @Param("name")String name,
+ @Param("phone")String phone,
+ @Param("idCard")String idCard,
+ @Param("type")String type,
+ @Param("districtId")String districtId,
+ @Param("streetId")String streetId,
+ @Param("communityId")String communityId,
+ @Param("gridId")String gridId,
+ @Param("viliageId")String viliageId,
+ @Param("buildingId")String buildingId,
+ @Param("unitId")String unitId,
+ @Param("id")String id);
+}
\ No newline at end of file
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CommunityBuildingManagerEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CommunityBuildingManagerEntity.java
new file mode 100644
index 0000000000..c2ac9184b9
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/CommunityBuildingManagerEntity.java
@@ -0,0 +1,86 @@
+package com.epmet.entity;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.epmet.commons.mybatis.entity.BaseEpmetEntity;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+@Data
+@EqualsAndHashCode(callSuper=false)
+@TableName("community_building_manager")
+public class CommunityBuildingManagerEntity extends BaseEpmetEntity {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * 客户Id customer.id
+ */
+ private String customerId;
+
+ /**
+ * 姓名
+ */
+ private String name;
+
+ /**
+ * 联系电话
+ */
+ private String phone;
+
+ /**
+ * 身份证号
+ */
+ private String idCard;
+
+ /**
+ * 类型:0楼长;1单元长
+ */
+ private String type;
+
+ /**
+ * 所属区县id;取名字关联customer_agency
+ */
+ private String districtId;
+
+ /**
+ * 所属街道id;取名字关联customer_agency
+ */
+ private String streetId;
+
+ /**
+ * 所属社区id;取名字关联customer_agency
+ */
+ private String communityId;
+
+ /**
+ * 所属网格id;取名字关联customer_grid
+ */
+ private String gridId;
+
+ /**
+ * 网格的全路径,包含网格id
+ */
+ private String orgIdPath;
+
+ /**
+ * 所属小区id
+ */
+ private String viliageId;
+
+ /**
+ * 所属楼栋id
+ */
+ private String buildingId;
+
+ /**
+ * 所属单元id; 单元长时必填此列
+ */
+ private String unitId;
+
+}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CommunityBuildingManagerService.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CommunityBuildingManagerService.java
new file mode 100644
index 0000000000..b67d4d0d35
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/CommunityBuildingManagerService.java
@@ -0,0 +1,66 @@
+package com.epmet.service;
+
+import com.epmet.commons.mybatis.service.BaseService;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.dto.form.yt.CommunityBuildingManagerPageFormDTO;
+import com.epmet.dto.result.CommunityBuildingManagerDTO;
+import com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO;
+import com.epmet.entity.CommunityBuildingManagerEntity;
+
+import java.util.List;
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+public interface CommunityBuildingManagerService extends BaseService {
+
+ /**
+ * 默认分页
+ *
+ * @param formDTO
+ * @return PageData
+ * @author generator
+ * @date 2023-05-06
+ */
+ PageData page(CommunityBuildingManagerPageFormDTO formDTO);
+
+ /**
+ * 查看详情
+ *
+ * @param id
+ * @return CommunityBuildingManagerResultDTO
+ * @author generator
+ * @date 2023-05-06
+ */
+ CommunityBuildingManagerResultDTO get(String id);
+
+ /**
+ * 新增楼长/单元长
+ * todo: 同步到具体的楼栋表
+ *
+ * @param dto
+ * @return
+ */
+ void save(CommunityBuildingManagerDTO dto);
+
+ /**
+ * 编辑楼长/单元长
+ * todo: 同步到具体的楼栋
+ *
+ * @param dto
+ * @return
+ */
+ void update(CommunityBuildingManagerDTO dto);
+
+ /**
+ * 批量删除楼长/单元长
+ * todo: 同时清空楼栋表里的信息
+ *
+ * @param ids
+ * @return
+ */
+ void delete(List ids);
+}
\ No newline at end of file
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java
new file mode 100644
index 0000000000..4693ce14b3
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java
@@ -0,0 +1,144 @@
+package com.epmet.service.impl;
+
+import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
+import com.epmet.commons.tools.constant.NumConstant;
+import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult;
+import com.epmet.commons.tools.exception.EpmetErrorCode;
+import com.epmet.commons.tools.exception.EpmetException;
+import com.epmet.commons.tools.page.PageData;
+import com.epmet.commons.tools.redis.common.CustomerStaffRedis;
+import com.epmet.commons.tools.utils.ConvertUtils;
+import com.epmet.commons.tools.utils.EpmetRequestHolder;
+import com.epmet.commons.tools.utils.PidUtils;
+import com.epmet.commons.tools.utils.SpringContextUtils;
+import com.epmet.dao.CommunityBuildingManagerDao;
+import com.epmet.dto.CustomerGridDTO;
+import com.epmet.dto.form.yt.CommunityBuildingManagerPageFormDTO;
+import com.epmet.dto.result.CommunityBuildingManagerDTO;
+import com.epmet.dto.result.yt.CommunityBuildingManagerResultDTO;
+import com.epmet.entity.CommunityBuildingManagerEntity;
+import com.epmet.service.CommunityBuildingManagerService;
+import com.epmet.service.CustomerGridService;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.util.CollectionUtils;
+
+import java.util.List;
+
+/**
+ * 楼长单元长信息表(烟台)
+ *
+ * @author generator generator@elink-cn.com
+ * @since v1.0.0 2023-05-06
+ */
+@Service
+public class CommunityBuildingManagerServiceImpl extends BaseServiceImpl implements CommunityBuildingManagerService {
+
+ /**
+ * 列表分页查询
+ *
+ * @param formDTO
+ * @return
+ */
+ @Override
+ public PageData page(CommunityBuildingManagerPageFormDTO formDTO) {
+ // 默认查询本组织及下级
+ CustomerStaffInfoCacheResult staffInfoCacheResult = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId());
+ if (null == staffInfoCacheResult) {
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "查询工作人员信息异常staffId:" + formDTO.getStaffId(), "查询工作人员信息异常");
+ }
+ formDTO.setOrgIdPath(PidUtils.convertPid2OrgIdPath(staffInfoCacheResult.getAgencyId(), staffInfoCacheResult.getAgencyPIds()));
+ PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize());
+ List resList = baseDao.pageList(formDTO.getCustomerId(),
+ formDTO.getOrgIdPath(),
+ formDTO.getName(),
+ formDTO.getPhone(),
+ formDTO.getIdCard(),
+ formDTO.getType(),
+ formDTO.getDistrictId(),
+ formDTO.getStreetId(),
+ formDTO.getCommunityId(),
+ formDTO.getGridId(),
+ formDTO.getViliageId(),
+ formDTO.getBuildingId(),
+ formDTO.getUnitId(), null);
+ PageInfo pageInfo = new PageInfo<>(resList);
+ return new PageData<>(resList, pageInfo.getTotal());
+ }
+
+ /**
+ * 查看详情
+ *
+ * @param id
+ * @return
+ */
+ @Override
+ public CommunityBuildingManagerResultDTO get(String id) {
+ List resList = baseDao.pageList(EpmetRequestHolder.getLoginUserCustomerId(),
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null,
+ null, id);
+ if (CollectionUtils.isEmpty(resList)) {
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "community_building_manager表记录不存在:id:" + id, "记录不存在");
+ }
+ return resList.get(NumConstant.ZERO);
+ }
+
+ /**
+ * 新增楼长/单元长
+ * todo: 同步到具体的楼栋表
+ *
+ * @param addFormDto
+ * @return
+ */
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void save(CommunityBuildingManagerDTO addFormDto) {
+ // 唯一性判断,同一个楼可以有多个楼长吗?待定。。。
+ CommunityBuildingManagerEntity entity = ConvertUtils.sourceToTarget(addFormDto, CommunityBuildingManagerEntity.class);
+ CustomerGridDTO gridDTO = SpringContextUtils.getBean(CustomerGridService.class).get(addFormDto.getGridId());
+ entity.setOrgIdPath(PidUtils.convertPid2OrgIdPath(gridDTO.getId(), gridDTO.getPids()));
+ insert(entity);
+ }
+
+ /**
+ * 编辑楼长/单元长
+ * todo: 同步到具体的楼栋
+ *
+ * @param updateFormDto
+ * @return
+ */
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void update(CommunityBuildingManagerDTO updateFormDto) {
+ CommunityBuildingManagerEntity entity = ConvertUtils.sourceToTarget(updateFormDto, CommunityBuildingManagerEntity.class);
+ CustomerGridDTO gridDTO = SpringContextUtils.getBean(CustomerGridService.class).get(updateFormDto.getGridId());
+ entity.setOrgIdPath(PidUtils.convertPid2OrgIdPath(gridDTO.getId(), gridDTO.getPids()));
+ updateById(entity);
+ }
+
+ /**
+ * 批量删除楼长/单元长
+ * todo: 同时清空楼栋表里的信息
+ *
+ * @param ids
+ * @return
+ */
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public void delete(List ids) {
+ baseDao.deleteBatchIds(ids);
+ }
+
+}
\ No newline at end of file
diff --git a/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CommunityBuildingManagerDao.xml b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CommunityBuildingManagerDao.xml
new file mode 100644
index 0000000000..74b789763b
--- /dev/null
+++ b/epmet-module/gov-org/gov-org-server/src/main/resources/mapper/CommunityBuildingManagerDao.xml
@@ -0,0 +1,94 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From 6349bdc821d42a926785efe12841e56fcafaaa32 Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sat, 6 May 2023 14:59:05 +0800
Subject: [PATCH 13/68] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E9=9C=80=E6=B1=82?=
=?UTF-8?q?=E3=80=81=E6=96=B0=E5=A2=9E=E5=B0=8F=E5=8C=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/epmet/dto/IcNeighborHoodDTO.java | 16 ++++++++++++++++
.../dto/form/IcNeighborHoodAddFormDTO.java | 17 ++++++++++++++++-
.../com/epmet/entity/IcNeighborHoodEntity.java | 17 +++++++++++++++++
3 files changed, 49 insertions(+), 1 deletion(-)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcNeighborHoodDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcNeighborHoodDTO.java
index 8e39699670..66c41f6342 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcNeighborHoodDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/IcNeighborHoodDTO.java
@@ -165,4 +165,20 @@ public class IcNeighborHoodDTO implements Serializable {
*/
private String buildingName;
+ /**
+ * 烟台需求:自然村/小区
+ */
+ private String viliageType;
+ /**
+ * 烟台需求:面积
+ */
+ private String area;
+ /**
+ * 烟台需求:开放类型
+ */
+ private String openType;
+ /**
+ * 烟台需求:建筑年代
+ */
+ private String buildYear;
}
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcNeighborHoodAddFormDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcNeighborHoodAddFormDTO.java
index 854462c6e1..f975c75048 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcNeighborHoodAddFormDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcNeighborHoodAddFormDTO.java
@@ -113,6 +113,21 @@ public class IcNeighborHoodAddFormDTO extends PageFormDTO {
* 实有楼栋数
*/
private Integer realBuilding;
-
+ /**
+ * 烟台需求:自然村/小区
+ */
+ private String viliageType;
+ /**
+ * 烟台需求:面积
+ */
+ private String area;
+ /**
+ * 烟台需求:开放类型
+ */
+ private String openType;
+ /**
+ * 烟台需求:建筑年代
+ */
+ private String buildYear;
}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcNeighborHoodEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcNeighborHoodEntity.java
index 26e278fd16..2d67d4259b 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcNeighborHoodEntity.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcNeighborHoodEntity.java
@@ -121,4 +121,21 @@ public class IcNeighborHoodEntity extends BaseEpmetEntity {
* 二维码地址
*/
private String qrcodeUrl;
+
+ /**
+ * 烟台需求:自然村/小区
+ */
+ private String viliageType;
+ /**
+ * 烟台需求:面积
+ */
+ private String area;
+ /**
+ * 烟台需求:开放类型
+ */
+ private String openType;
+ /**
+ * 烟台需求:建筑年代
+ */
+ private String buildYear;
}
From 1d6f0a78549c9c02f05cdfd3e63bbeb19df314a5 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 15:25:18 +0800
Subject: [PATCH 14/68] =?UTF-8?q?=E6=A5=BC=E6=A0=8B=E5=8D=95=E5=85=83?=
=?UTF-8?q?=E9=95=BFfix?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java | 3 ---
.../service/impl/CommunityBuildingManagerServiceImpl.java | 2 +-
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java
index 1d2df38f08..ffb2fc69c8 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/yt/CommunityBuildingManagerResultDTO.java
@@ -78,9 +78,6 @@ public class CommunityBuildingManagerResultDTO implements Serializable {
* 所属小区id
*/
private String viliageId;
- /**
- * 所属小区id
- */
private String viliageName;
/**
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java
index 4693ce14b3..0d7593f50c 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CommunityBuildingManagerServiceImpl.java
@@ -65,7 +65,7 @@ public class CommunityBuildingManagerServiceImpl extends BaseServiceImpl pageInfo = new PageInfo<>(resList);
- return new PageData<>(resList, pageInfo.getTotal());
+ return new PageData<>(resList, pageInfo.getTotal(),formDTO.getPageSize());
}
/**
From 6453e1c29626c844a9a89ee3e0ad4bfefafa47ef Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 15:43:52 +0800
Subject: [PATCH 15/68] =?UTF-8?q?=E5=8C=BA=E5=8E=BF=E3=80=81=E8=A1=97?=
=?UTF-8?q?=E9=81=93=E3=80=81=E7=A4=BE=E5=8C=BA=E4=B8=8B=E6=8B=89=E6=A1=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../controller/CustomerAgencyController.java | 54 +++++++++++++++++++
.../impl/CustomerAgencyServiceImpl.java | 20 +++----
2 files changed, 65 insertions(+), 9 deletions(-)
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java
index 3d26395c0e..fad4233d80 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerAgencyController.java
@@ -19,6 +19,9 @@ package com.epmet.controller;
import com.epmet.commons.tools.annotation.LoginUser;
import com.epmet.commons.tools.constant.AppClientConstant;
+import com.epmet.commons.tools.enums.OrgLevelEnum;
+import com.epmet.commons.tools.exception.EpmetErrorCode;
+import com.epmet.commons.tools.exception.EpmetException;
import com.epmet.commons.tools.exception.RenException;
import com.epmet.commons.tools.page.PageData;
import com.epmet.commons.tools.security.dto.TokenDto;
@@ -41,6 +44,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
+import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -564,4 +568,54 @@ public class CustomerAgencyController {
return new Result>().ok(customerAgencyService.getCommunityList(dto));
}
+ /**
+ * 返回区县列表
+ * @param tokenDto
+ * @return
+ */
+ @PostMapping("districtList")
+ public Result> districtList(@LoginUser TokenDto tokenDto){
+ Map params=new HashMap<>();
+ params.put("CUSTOMER_ID",tokenDto.getCustomerId());
+ params.put("LEVEL",OrgLevelEnum.DISTRICT.getCode());
+ params.put("PID",null);
+ return new Result>().ok(customerAgencyService.list(params));
+ }
+
+ /**
+ * 返回街道列表,必传区县
+ * @param tokenDto
+ * @param districtId
+ * @return
+ */
+ @PostMapping("streetList/{districtId}")
+ public Result> streetList(@LoginUser TokenDto tokenDto,@PathVariable("districtId")String districtId){
+ if(StringUtils.isBlank(districtId)){
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"districtId为空","请先选择区县");
+ }
+ Map params=new HashMap<>();
+ params.put("CUSTOMER_ID",tokenDto.getCustomerId());
+ params.put("LEVEL",OrgLevelEnum.STREET.getCode());
+ params.put("PID",districtId);
+ return new Result>().ok(customerAgencyService.list(params));
+ }
+
+ /**
+ * 返回社区列表,街道必传
+ * @param tokenDto
+ * @param streetId
+ * @return
+ */
+ @PostMapping("communityList/{streetId}")
+ public Result> communityList(@LoginUser TokenDto tokenDto,@PathVariable("streetId")String streetId){
+ if(StringUtils.isBlank(streetId)){
+ throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(),"streetId为空","请先选择街道");
+ }
+ Map params=new HashMap<>();
+ params.put("CUSTOMER_ID",tokenDto.getCustomerId());
+ params.put("LEVEL",OrgLevelEnum.COMMUNITY.getCode());
+ params.put("PID",streetId);
+ return new Result>().ok(customerAgencyService.list(params));
+ }
+
}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerAgencyServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerAgencyServiceImpl.java
index 4585f7481d..87f0555690 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerAgencyServiceImpl.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/CustomerAgencyServiceImpl.java
@@ -18,7 +18,6 @@
package com.epmet.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.epmet.commons.mybatis.service.impl.BaseServiceImpl;
@@ -45,7 +44,6 @@ import com.epmet.constant.CustomerGridConstant;
import com.epmet.dao.*;
import com.epmet.dto.*;
import com.epmet.dto.form.*;
-import com.epmet.dto.region.LogOperationResultDTO;
import com.epmet.dto.result.*;
import com.epmet.entity.CustomerAgencyEntity;
import com.epmet.entity.CustomerDepartmentEntity;
@@ -136,12 +134,16 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl getWrapper(Map params) {
- String id = (String) params.get(FieldConstant.ID_HUMP);
-
- QueryWrapper wrapper = new QueryWrapper<>();
- wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
-
+ private LambdaQueryWrapper getWrapper(Map map) {
+ String id = map.containsKey(FieldConstant.ID_HUMP) ? (String) map.get(FieldConstant.ID_HUMP) : null;
+ String customerId = map.containsKey("CUSTOMER_ID") ? (String) map.get("CUSTOMER_ID") : null;
+ String level = map.containsKey("LEVEL") ? (String) map.get("LEVEL") : null;
+ String pid = map.containsKey("PID") ? (String) map.get("PID") : null;
+ LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>();
+ wrapper.eq(StringUtils.isNotBlank(id), CustomerAgencyEntity::getId, id)
+ .eq(StringUtils.isNotBlank(customerId), CustomerAgencyEntity::getCustomerId, customerId)
+ .eq(StringUtils.isNotBlank(level), CustomerAgencyEntity::getLevel, level)
+ .eq(StringUtils.isNotBlank(pid), CustomerAgencyEntity::getPid, pid);
return wrapper;
}
@@ -1244,7 +1246,7 @@ public class CustomerAgencyServiceImpl extends BaseServiceImpl agencyList, List gridList) {
From 6f58e991382e0f2490b5e88c3a886bc12f4b206e Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sat, 6 May 2023 16:10:43 +0800
Subject: [PATCH 16/68] =?UTF-8?q?=E6=88=BF=E5=B1=8B=E6=96=B0=E5=A2=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/java/com/epmet/dto/form/IcHouseAddFormDTO.java | 8 ++++++++
.../src/main/java/com/epmet/entity/IcHouseEntity.java | 8 ++++++++
2 files changed, 16 insertions(+)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcHouseAddFormDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcHouseAddFormDTO.java
index aa4e6a999b..11d5ce0295 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcHouseAddFormDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcHouseAddFormDTO.java
@@ -112,5 +112,13 @@ public class IcHouseAddFormDTO implements Serializable {
* 房屋可编辑编码
*/
private String coding;
+ /**
+ * 所在楼层
+ */
+ private String floor;
+ /**
+ * 面积
+ */
+ private String area;
}
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java
index 96e993c865..983b876709 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/entity/IcHouseEntity.java
@@ -136,4 +136,12 @@ public class IcHouseEntity extends BaseEpmetEntity {
* 房屋可编辑编码
*/
private String coding;
+ /**
+ * 所在楼层
+ */
+ private String floor;
+ /**
+ * 面积
+ */
+ private String area;
}
From d3009dfeaf3c9819ca4d92a60d4a60e2d019d97e Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 18:01:52 +0800
Subject: [PATCH 17/68] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=92=8C=E7=BC=96?=
=?UTF-8?q?=E8=BE=91=E5=B1=85=E6=B0=91=EF=BC=8C=E8=AF=81=E4=BB=B6=E7=B1=BB?=
=?UTF-8?q?=E5=9E=8B=E5=BF=85=E5=A1=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../epmet/processor/YanTaiTripReportSyncProcessor.java | 4 +---
.../com/epmet/service/impl/IcResiUserServiceImpl.java | 8 ++++----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/processor/YanTaiTripReportSyncProcessor.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/processor/YanTaiTripReportSyncProcessor.java
index 6b1d4a028d..1bb4afd991 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/processor/YanTaiTripReportSyncProcessor.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/processor/YanTaiTripReportSyncProcessor.java
@@ -6,17 +6,15 @@ import com.epmet.service.DataSyncConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
-import org.springframework.stereotype.Component;
import static com.epmet.constant.EpidemicConstant.JOB_TYPE_TRIP_REPORT;
-import static com.epmet.constant.EpidemicConstant.JOB_TYPE_VACCINE;
/**
* @Description 烟台行程上报数据同步处理器
* @Author zxc
* @Date 2022/11/22 14:08
*/
-@Component
+// @Component
@Slf4j
public class YanTaiTripReportSyncProcessor extends AbstractDataSyncJobProcessor {
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java
index b10ab41c03..98c22b85ff 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserServiceImpl.java
@@ -366,8 +366,8 @@ public class IcResiUserServiceImpl extends BaseServiceImpl
Date: Sat, 6 May 2023 18:28:45 +0800
Subject: [PATCH 18/68] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=84=E7=BB=87?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/epmet/dto/form/EditAgencyFormDTO.java | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/EditAgencyFormDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/EditAgencyFormDTO.java
index 2d0da966d0..af4e9a36e2 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/EditAgencyFormDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/EditAgencyFormDTO.java
@@ -113,4 +113,30 @@ public class EditAgencyFormDTO implements Serializable {
@Length(max = 500,message = "最多输入500字",groups =DefaultUserShowGroup.class )
private String remark;
+
+ /**
+ * 村居/社区书记姓名
+ */
+ private String secretaryName;
+ /**
+ * 村居/社区书记电话
+ */
+ private String secretaryMobile;
+ /**
+ * 值班电话
+ */
+ private String dutyMobile;
+ /**
+ * 统一社会信用代码
+ */
+ private String unifiedSocialCreditCode;
+ /**
+ * 统一社会信用代码证书(图片附件)
+ */
+ private String unifiedSocialCreditCodeCertificate;
+
+ /**
+ * 详细地址
+ */
+ private String fullAddress;
}
\ No newline at end of file
From 05f60d37787427a90f37dc378997f54eeba3409e Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sat, 6 May 2023 18:31:14 +0800
Subject: [PATCH 19/68] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../epmet/dto/result/AgencysResultDTO.java | 26 +++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/AgencysResultDTO.java b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/AgencysResultDTO.java
index f95c6349a4..7ca182856f 100644
--- a/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/AgencysResultDTO.java
+++ b/epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/result/AgencysResultDTO.java
@@ -137,4 +137,30 @@ public class AgencysResultDTO implements Serializable {
private String remark;
private String coordinates;
+
+ /**
+ * 村居/社区书记姓名
+ */
+ private String secretaryName;
+ /**
+ * 村居/社区书记电话
+ */
+ private String secretaryMobile;
+ /**
+ * 值班电话
+ */
+ private String dutyMobile;
+ /**
+ * 统一社会信用代码
+ */
+ private String unifiedSocialCreditCode;
+ /**
+ * 统一社会信用代码证书(图片附件)
+ */
+ private String unifiedSocialCreditCodeCertificate;
+
+ /**
+ * 详细地址
+ */
+ private String fullAddress;
}
\ No newline at end of file
From 1de597c2c244c6bf87ccd461bdc4a11d5ad50c3d Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 18:48:06 +0800
Subject: [PATCH 20/68] dictOption/{dictType}
---
.../controller/SysDictDataController.java | 13 ++++++++
.../com/epmet/service/SysDictDataService.java | 2 ++
.../service/impl/SysDictDataServiceImpl.java | 31 +++++++++++++++++++
3 files changed, 46 insertions(+)
diff --git a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/controller/SysDictDataController.java b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/controller/SysDictDataController.java
index ce18026bf8..1a51f32c0e 100644
--- a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/controller/SysDictDataController.java
+++ b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/controller/SysDictDataController.java
@@ -20,6 +20,7 @@ import com.epmet.commons.tools.validator.group.DefaultGroup;
import com.epmet.commons.tools.validator.group.UpdateGroup;
import com.epmet.dto.SysDictDataDTO;
import com.epmet.service.SysDictDataService;
+import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -118,6 +119,18 @@ public class SysDictDataController {
return new Result>().ok(sysDictDataService.getNationOption());
}
+ /**
+ * 字典下拉框接口
+ * @param dictType
+ * @return
+ */
+ @PostMapping("dictOption/{dictType}")
+ public Result> getDictOption(@PathVariable("dictType")String dictType) {
+ if(StringUtils.isBlank(dictType)){
+ return new Result<>();
+ }
+ return new Result>().ok(sysDictDataService.getDictOption(dictType));
+ }
/**
* @Description 人员关系
* @Param
diff --git a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/SysDictDataService.java b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/SysDictDataService.java
index 6277ab6d2f..52de66b46d 100644
--- a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/SysDictDataService.java
+++ b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/SysDictDataService.java
@@ -92,4 +92,6 @@ public interface SysDictDataService extends BaseService {
List dictListTree(String dictType);
List getDictDataList(String dictType);
+
+ List getDictOption(String dictType);
}
diff --git a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java
index a7b6bff903..52c44b78f6 100644
--- a/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java
+++ b/epmet-admin/epmet-admin-server/src/main/java/com/epmet/service/impl/SysDictDataServiceImpl.java
@@ -19,13 +19,17 @@ import com.epmet.commons.tools.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.commons.tools.utils.TreeUtils;
import com.epmet.dao.SysDictDataDao;
+import com.epmet.dao.SysDictTypeDao;
import com.epmet.dto.SysDictDataDTO;
import com.epmet.entity.SysDictDataEntity;
+import com.epmet.entity.SysDictTypeEntity;
import com.epmet.service.SysDictDataService;
import org.apache.commons.lang3.StringUtils;
+import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
+import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
@@ -38,6 +42,9 @@ import java.util.stream.Collectors;
*/
@Service
public class SysDictDataServiceImpl extends BaseServiceImpl implements SysDictDataService {
+ @Autowired
+ private SysDictTypeDao sysDictTypeDao;
+
@Override
public PageData page(Map params) {
@@ -230,4 +237,28 @@ public class SysDictDataServiceImpl extends BaseServiceImpl getDictOption(String dictType) {
+ LambdaQueryWrapper queryWrapper=new LambdaQueryWrapper<>();
+ queryWrapper.eq(SysDictTypeEntity::getDictType,dictType);
+ SysDictTypeEntity sysDictTypeEntity=sysDictTypeDao.selectOne(queryWrapper);
+ if(null==sysDictTypeEntity){
+ return new ArrayList<>();
+ }
+ LambdaQueryWrapper wrapper = new LambdaQueryWrapper<>();
+ wrapper.eq(SysDictDataEntity::getDictTypeId,sysDictTypeEntity.getId() );
+ wrapper.orderByAsc(SysDictDataEntity::getSort);
+ List list = baseDao.selectList(wrapper);
+ return list.stream().map(item -> {
+ OptionResultDTO dto = new OptionResultDTO();
+ dto.setValue(item.getDictValue());
+ dto.setLabel(item.getDictLabel());
+ return dto;
+ }).collect(Collectors.toList());
+ }
}
From 049c9b47af35b34ff4e996f7e286f5e621364a89 Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sat, 6 May 2023 19:38:53 +0800
Subject: [PATCH 21/68] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AE=A2=E6=88=B7?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/epmet/service/impl/CustomerStaffServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
index 8f308d06ac..213f990d83 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/CustomerStaffServiceImpl.java
@@ -389,7 +389,7 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl
Date: Sat, 6 May 2023 20:43:04 +0800
Subject: [PATCH 22/68] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E5=B1=85=E6=B0=91?=
=?UTF-8?q?=E4=BF=A1=E6=81=AF=E5=A2=9E=E5=8A=A0=E9=87=8D=E7=82=B9=E4=BA=BA?=
=?UTF-8?q?=E7=BE=A4=E3=80=81=E5=9B=BD=E7=B1=8D=E3=80=81=E4=BA=BA=E5=8F=A3?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E3=80=81=E6=95=B4=E6=B2=BB=E9=9D=A2=E8=B2=8C?=
=?UTF-8?q?=EF=BC=9B=E4=BF=AE=E6=94=B9=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B?=
=?UTF-8?q?=E5=80=BC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/epmet/dto/IcResiUserDTO.java | 25 +++++++++++++++++++
.../com/epmet/entity/IcResiUserEntity.java | 24 ++++++++++++++++--
2 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
index bf93b3b225..d16310d77c 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
@@ -105,6 +105,11 @@ public class IcResiUserDTO implements Serializable {
*/
private String idCard;
+ /**
+ * 证件类型。烟台需求:来源于字典表dict_type=yt_id_card_type;1:身份证号;2:护照;3:港澳通行证;4:军人证;5:台胞证;6:其他
+ */
+ private String idCardType;
+
/**
* 出生日期
*/
@@ -125,6 +130,26 @@ public class IcResiUserDTO implements Serializable {
*/
private String contactsMobile;
+ /**
+ * 烟台需求:重点人群;名称对应字典表,dict_type:yt_key_point_user_type
+ */
+ private String keyPointUserType;
+
+ /**
+ * 烟台需求:国籍
+ */
+ private String nationality;
+
+ /**
+ * 烟台需求:人口类型;名称对应字典表,dict_type:yt_population_type
+ */
+ private String populationType;
+
+ /**
+ * 烟台需求:政治面貌;名称对应字典表,dict_type:yt_politics_status
+ */
+ private String politicsStatus;
+
/**
* 九小场所url
*/
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
index a78fae885d..eda20ac933 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
@@ -102,7 +102,7 @@ public class IcResiUserEntity extends BaseEpmetEntity {
private String idCard;
/**
- * 证件类型。1:身份证号;2:护照
+ * 证件类型。烟台需求:来源于字典表dict_type=yt_id_card_type;1:身份证号;2:护照;3:港澳通行证;4:军人证;5:台胞证;6:其他
*/
private String idCardType;
@@ -126,7 +126,27 @@ public class IcResiUserEntity extends BaseEpmetEntity {
*/
private String contactsMobile;
- /**
+ /**
+ * 烟台需求:重点人群;名称对应字典表,dict_type:yt_key_point_user_type
+ */
+ private String keyPointUserType;
+
+ /**
+ * 烟台需求:国籍
+ */
+ private String nationality;
+
+ /**
+ * 烟台需求:人口类型;名称对应字典表,dict_type:yt_population_type
+ */
+ private String populationType;
+
+ /**
+ * 烟台需求:政治面貌;名称对应字典表,dict_type:yt_politics_status
+ */
+ private String politicsStatus;
+
+ /**
* 九小场所url
*/
private String ninePlace;
From 6e771a6d2db0211d300adde4001173f8acd71f5c Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sat, 6 May 2023 21:15:07 +0800
Subject: [PATCH 23/68] =?UTF-8?q?=E7=83=9F=E5=8F=B0=E9=9C=80=E6=B1=82?=
=?UTF-8?q?=EF=BC=9A=E4=B8=8E=E6=88=B7=E4=B8=BB=E5=85=B3=E7=B3=BB=EF=BC=88?=
=?UTF-8?q?60=EF=BC=89=E5=AF=B9=E5=BA=94=E5=AD=97=E5=85=B8=E8=A1=A8dict=5F?=
=?UTF-8?q?type:yt=5FHouseholder=5Frelationship=5Ftype?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/java/com/epmet/dto/IcResiUserDTO.java | 5 +++++
.../src/main/java/com/epmet/entity/IcResiUserEntity.java | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
index d16310d77c..3098207e44 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
@@ -490,6 +490,11 @@ public class IcResiUserDTO implements Serializable {
*/
private String jtxxRemakes;
+ /**
+ * 烟台需求:与户主关系(60)对应字典表dict_type:yt_Householder_relationship_type
+ */
+ private String yt_yhzgx;
+
/**
* 用户状态【0:正常;1:迁出;2:注销】
*/
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
index eda20ac933..33037d487c 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
@@ -480,6 +480,11 @@ public class IcResiUserEntity extends BaseEpmetEntity {
*/
private String jtxxRemakes;
+ /**
+ * 烟台需求:与户主关系(60)对应字典表dict_type:yt_Householder_relationship_type
+ */
+ private String yt_yhzgx;
+
/**
* 用户状态【0:正常;1:迁出;2:注销】
*/
From 00de29ab2806b8e45ea4dac7385c5add38bb7267 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sun, 7 May 2023 09:17:26 +0800
Subject: [PATCH 24/68] =?UTF-8?q?=E6=88=B7=E7=B1=8D=E6=89=80=E5=9C=A8?=
=?UTF-8?q?=E5=9C=B0=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=B3=A8=E9=87=8A=EF=BC=8C?=
=?UTF-8?q?=E5=AF=B9=E5=BA=94=E6=B5=AA=E6=BD=AE=E9=82=A3=E7=9A=84=E6=88=B7?=
=?UTF-8?q?=E7=B1=8D=E8=AF=A6=E7=BB=86=E5=9C=B0=E5=9D=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/java/com/epmet/dto/IcResiUserDTO.java | 4 ++--
.../src/main/java/com/epmet/entity/IcResiUserEntity.java | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
index 3098207e44..31a6740e6b 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
@@ -426,9 +426,9 @@ public class IcResiUserDTO implements Serializable {
private String jg;
/**
- * 户籍所在地
+ * 户籍所在地;烟台需求:对应户籍详细地址
*/
- private String hjszd;
+ private String hjszd;
/**
* 现居住地
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
index 33037d487c..427d18a897 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
@@ -415,9 +415,9 @@ public class IcResiUserEntity extends BaseEpmetEntity {
*/
private String jg;
- /**
- * 户籍所在地
- */
+ /**
+ * 户籍所在地;烟台需求:对应户籍详细地址
+ */
private String hjszd;
/**
From c4dd042be2033c924a1d6d8f67544863f2a395fa Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sun, 7 May 2023 09:19:52 +0800
Subject: [PATCH 25/68] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AFic=5F?=
=?UTF-8?q?resi=5Fuser=E5=A2=9E=E5=8A=A0=E6=88=B7=E7=B1=8D=E3=80=81?=
=?UTF-8?q?=E5=B1=85=E4=BD=8F=E7=AD=8921=E5=88=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/com/epmet/dto/IcResiUserDTO.java | 105 ++++++++++++++++++
.../com/epmet/entity/IcResiUserEntity.java | 105 ++++++++++++++++++
2 files changed, 210 insertions(+)
diff --git a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
index 31a6740e6b..62541c7469 100644
--- a/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
+++ b/epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserDTO.java
@@ -440,6 +440,111 @@ public class IcResiUserDTO implements Serializable {
*/
private String rhzk;
+ /**
+ * 烟台需求:是否现居住;0否;1是,对应字典表dict_type:
+ */
+ private String isNowLive;
+
+ /**
+ * 烟台需求:居住省
+ */
+ private String livingProvince;
+
+ /**
+ * 烟台需求:居住市
+ */
+ private String livingCity;
+
+ /**
+ * 烟台需求:居住区
+ */
+ private String livingArea;
+
+ /**
+ * 烟台需求:居住街道
+ */
+ private String livingStreet;
+
+ /**
+ * 烟台需求:居住社区
+ */
+ private String livingCommunity;
+
+ /**
+ * 烟台需求:居住小区
+ */
+ private String livingViliageName;
+
+ /**
+ * 烟台需求:居住楼号
+ */
+ private String livingBuildingNo;
+
+ /**
+ * 烟台需求:居住单元号
+ */
+ private String livingUnitNo;
+
+ /**
+ * 烟台需求:居住房间号
+ */
+ private String livingHouseNo;
+
+ /**
+ * 烟台需求:户籍所在省
+ */
+ private String registerProvince;
+
+ /**
+ * 烟台需求:户籍所在市
+ */
+ private String registerCity;
+
+ /**
+ * 烟台需求:户籍所在区县
+ */
+ private String registerArea;
+
+ /**
+ * 烟台需求:户籍所在街道
+ */
+ private String registerStreet;
+
+ /**
+ * 烟台需求:户籍所在社区
+ */
+ private String registerCommunity;
+
+ /**
+ * 烟台需求:户籍所在小区名称
+ */
+ private String registerViliageName;
+
+ /**
+ * 烟台需求:户籍楼号
+ */
+ private String registerBuildingNo;
+
+ /**
+ * 烟台需求:户籍单元号
+ */
+ private String registerUnitNo;
+
+ /**
+ * 烟台需求:户籍房间号
+ */
+ private String registerHouseNo;
+
+ /**
+ * 烟台需求:户别;对应字典表dict_type:yt_household_category
+ */
+ private String householdCategory;
+
+ /**
+ * 烟台需求:户号
+ */
+ private String houseHoldId;
+
/**
* 居住信息备注
*/
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
index 427d18a897..961f69dfe9 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserEntity.java
@@ -430,6 +430,111 @@ public class IcResiUserEntity extends BaseEpmetEntity {
*/
private String rhzk;
+ /**
+ * 烟台需求:是否现居住;0否;1是,对应字典表dict_type:
+ */
+ private String isNowLive;
+
+ /**
+ * 烟台需求:居住省
+ */
+ private String livingProvince;
+
+ /**
+ * 烟台需求:居住市
+ */
+ private String livingCity;
+
+ /**
+ * 烟台需求:居住区
+ */
+ private String livingArea;
+
+ /**
+ * 烟台需求:居住街道
+ */
+ private String livingStreet;
+
+ /**
+ * 烟台需求:居住社区
+ */
+ private String livingCommunity;
+
+ /**
+ * 烟台需求:居住小区
+ */
+ private String livingViliageName;
+
+ /**
+ * 烟台需求:居住楼号
+ */
+ private String livingBuildingNo;
+
+ /**
+ * 烟台需求:居住单元号
+ */
+ private String livingUnitNo;
+
+ /**
+ * 烟台需求:居住房间号
+ */
+ private String livingHouseNo;
+
+ /**
+ * 烟台需求:户籍所在省
+ */
+ private String registerProvince;
+
+ /**
+ * 烟台需求:户籍所在市
+ */
+ private String registerCity;
+
+ /**
+ * 烟台需求:户籍所在区县
+ */
+ private String registerArea;
+
+ /**
+ * 烟台需求:户籍所在街道
+ */
+ private String registerStreet;
+
+ /**
+ * 烟台需求:户籍所在社区
+ */
+ private String registerCommunity;
+
+ /**
+ * 烟台需求:户籍所在小区名称
+ */
+ private String registerViliageName;
+
+ /**
+ * 烟台需求:户籍楼号
+ */
+ private String registerBuildingNo;
+
+ /**
+ * 烟台需求:户籍单元号
+ */
+ private String registerUnitNo;
+
+ /**
+ * 烟台需求:户籍房间号
+ */
+ private String registerHouseNo;
+
+ /**
+ * 烟台需求:户别;对应字典表dict_type:yt_household_category
+ */
+ private String householdCategory;
+
+ /**
+ * 烟台需求:户号
+ */
+ private String houseHoldId;
+
/**
* 居住信息备注
*/
From f9031d61c540a0d96b7338927a5ccef40bdc4e48 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sun, 7 May 2023 10:01:52 +0800
Subject: [PATCH 26/68] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9A=84=E4=B8=8E=E6=88=B7=E4=B8=BB=E5=85=B3?=
=?UTF-8?q?=E7=B3=BB=E3=80=81=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B=E3=80=81?=
=?UTF-8?q?=E9=87=8D=E7=82=B9=E4=BA=BA=E7=BE=A4=E3=80=81=E4=BA=BA=E5=8F=A3?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E3=80=81=E6=94=BF=E6=B2=BB=E9=9D=A2=E8=B2=8C?=
=?UTF-8?q?=E3=80=81=E6=98=AF=E5=90=A6=E7=8E=B0=E5=B1=85=E4=BD=8F=E3=80=81?=
=?UTF-8?q?=E6=88=B7=E5=88=AB,=E8=AF=95=E8=AF=95=E5=8F=AF=E4=B8=8D?=
=?UTF-8?q?=E5=8F=AF=E4=BB=A5=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../impl/IcResiUserImportServiceImpl.java | 30 +++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java
index e0b5c91837..71dd1ada0c 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java
@@ -6,7 +6,6 @@ import cn.afterturn.easypoi.excel.entity.ExportParams;
import cn.hutool.core.bean.BeanUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.EasyExcelFactory;
-import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.epmet.bean.ResiImportCategoryData;
@@ -1457,11 +1456,38 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res
optionTypeName = "所属支部";
options = this.listBranchOptions();
break;
+ case "/sys/dict/data/dictOption/yt_Householder_relationship_type":
+ optionTypeName = "与户主关系";
+ options = null;
+ break;
+ case "/sys/dict/data/dictOption/yt_id_card_type":
+ optionTypeName = "证件类型";
+ options = null;
+ break;
+ case "/sys/dict/data/dictOption/yt_key_point_user_type":
+ optionTypeName = "重点人群";
+ options = null;
+ break;
+ case "/sys/dict/data/dictOption/yt_population_type":
+ optionTypeName = "人口类型";
+ options = null;
+ break;
+ case "/sys/dict/data/dictOption/yt_politics_status":
+ optionTypeName = "政治面貌";
+ options = null;
+ break;
+ case "/sys/dict/data/dictOption/yt_is_now_live":
+ optionTypeName = "是否现居住";
+ options = null;
+ break;
+ case "/sys/dict/data/dictOption/yt_household_category":
+ optionTypeName = "户别";
+ options = null;
+ break;
default:
log.warn("listRemoteOptions url is not supported");
}
-
if (options == null) {
return null;
}
From 44a487f2059c918ea33ac732daf698629c932fe5 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sun, 7 May 2023 10:06:28 +0800
Subject: [PATCH 27/68] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=9A=84=E4=B8=8E=E6=88=B7=E4=B8=BB=E5=85=B3?=
=?UTF-8?q?=E7=B3=BB=E3=80=81=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B=E3=80=81?=
=?UTF-8?q?=E9=87=8D=E7=82=B9=E4=BA=BA=E7=BE=A4=E3=80=81=E4=BA=BA=E5=8F=A3?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E3=80=81=E6=94=BF=E6=B2=BB=E9=9D=A2=E8=B2=8C?=
=?UTF-8?q?=E3=80=81=E6=98=AF=E5=90=A6=E7=8E=B0=E5=B1=85=E4=BD=8F=E3=80=81?=
=?UTF-8?q?=E6=88=B7=E5=88=AB,=E8=AF=95=E8=AF=95=E5=8F=AF=E4=B8=8D?=
=?UTF-8?q?=E5=8F=AF=E4=BB=A5=E5=AF=BC=E5=87=BA2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../com/epmet/feign/EpmetAdminOpenFeignClient.java | 9 +++++++++
.../EpmetAdminOpenFeignClientFallback.java | 12 ++++++++++++
.../service/impl/IcResiUserImportServiceImpl.java | 14 +++++++-------
3 files changed, 28 insertions(+), 7 deletions(-)
diff --git a/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/EpmetAdminOpenFeignClient.java b/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/EpmetAdminOpenFeignClient.java
index 59eb1e1e40..3999b45089 100644
--- a/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/EpmetAdminOpenFeignClient.java
+++ b/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/EpmetAdminOpenFeignClient.java
@@ -105,4 +105,13 @@ public interface EpmetAdminOpenFeignClient {
@PostMapping("/sys/dict/data/dictDataList/{dictType}")
Result> dictDataList(@PathVariable("dictType") String dictType);
+
+ /**
+ * 字典下拉框
+ * 根据dictType查询字典
+ * @param dictType
+ * @return
+ */
+ @PostMapping("/sys/dict/data/dictOption/{dictType}")
+ public Result> getDictOption(@PathVariable("dictType")String dictType);
}
diff --git a/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/fallback/EpmetAdminOpenFeignClientFallback.java b/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/fallback/EpmetAdminOpenFeignClientFallback.java
index 98e7e7f0f0..0184d2a100 100644
--- a/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/fallback/EpmetAdminOpenFeignClientFallback.java
+++ b/epmet-admin/epmet-admin-client/src/main/java/com/epmet/feign/fallback/EpmetAdminOpenFeignClientFallback.java
@@ -65,4 +65,16 @@ public class EpmetAdminOpenFeignClientFallback implements EpmetAdminOpenFeignCli
public Result> dictDataList(String dictType) {
return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "dictDataList", dictType);
}
+
+ /**
+ * 字典下拉框
+ * 根据dictType查询字典
+ *
+ * @param dictType
+ * @return
+ */
+ @Override
+ public Result> getDictOption(String dictType) {
+ return ModuleUtils.feignConError(ServiceConstant.EPMET_ADMIN_SERVER, "getDictOption", dictType);
+ }
}
diff --git a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java
index 71dd1ada0c..80d337f65d 100644
--- a/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java
+++ b/epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcResiUserImportServiceImpl.java
@@ -1458,31 +1458,31 @@ public class IcResiUserImportServiceImpl implements IcResiUserImportService, Res
break;
case "/sys/dict/data/dictOption/yt_Householder_relationship_type":
optionTypeName = "与户主关系";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_Householder_relationship_type"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
case "/sys/dict/data/dictOption/yt_id_card_type":
optionTypeName = "证件类型";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_id_card_type"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
case "/sys/dict/data/dictOption/yt_key_point_user_type":
optionTypeName = "重点人群";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_key_point_user_type"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
case "/sys/dict/data/dictOption/yt_population_type":
optionTypeName = "人口类型";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_population_type"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
case "/sys/dict/data/dictOption/yt_politics_status":
optionTypeName = "政治面貌";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_politics_status"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
case "/sys/dict/data/dictOption/yt_is_now_live":
optionTypeName = "是否现居住";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_is_now_live"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
case "/sys/dict/data/dictOption/yt_household_category":
optionTypeName = "户别";
- options = null;
+ options = getResultDataOrThrowsException(adminOpenFeignClient.getDictOption("yt_household_category"), ServiceConstant.EPMET_ADMIN_SERVER, EpmetErrorCode.SERVER_ERROR.getCode(), null, null);
break;
default:
log.warn("listRemoteOptions url is not supported");
From eee252b0eb40ac46a23e7287b6722c23dab48ad4 Mon Sep 17 00:00:00 2001
From: lichao <326994889@qq.com>
Date: Sun, 7 May 2023 14:25:46 +0800
Subject: [PATCH 28/68] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/java/com/epmet/service/impl/AgencyServiceImpl.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/AgencyServiceImpl.java b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/AgencyServiceImpl.java
index a972cd9797..b39c2e9d66 100644
--- a/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/AgencyServiceImpl.java
+++ b/epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/AgencyServiceImpl.java
@@ -167,6 +167,12 @@ public class AgencyServiceImpl implements AgencyService {
originalEntity.setContacts(formDTO.getContacts());
originalEntity.setMobile(formDTO.getMobile());
originalEntity.setRemark(formDTO.getRemark());
+ originalEntity.setSecretaryName(formDTO.getSecretaryName());
+ originalEntity.setSecretaryMobile(formDTO.getSecretaryMobile());
+ originalEntity.setDutyMobile(formDTO.getDutyMobile());
+ originalEntity.setUnifiedSocialCreditCode(formDTO.getUnifiedSocialCreditCode());
+ originalEntity.setUnifiedSocialCreditCodeCertificate(formDTO.getUnifiedSocialCreditCodeCertificate());
+ originalEntity.setFullAddress(formDTO.getFullAddress());
//利用mybatis 拦截器填充值
originalEntity.setUpdatedTime(null);
originalEntity.setUpdatedBy(null);
From 7a8cd6135ceca65541112a87c8c5e2b670eca681 Mon Sep 17 00:00:00 2001
From: yinzuomei <576302893@qq.com>
Date: Sun, 7 May 2023 14:39:47 +0800
Subject: [PATCH 29/68] =?UTF-8?q?=E5=B1=85=E6=B0=91=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E5=AF=BC=E5=85=A5=EF=BC=8C=E6=A8=A1=E6=9D=BF=E8=B0=83=E6=95=B4?=
=?UTF-8?q?=EF=BC=8C=E4=B8=BA=E6=B5=AA=E6=BD=AE=EF=BC=8C=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E4=BA=86=E5=BE=88=E5=A4=9A=E5=88=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../excel/ic_resi_import_template.xls | Bin 75776 -> 77824 bytes
.../excel/ic_resi_import_template_bak0507.xls | Bin 0 -> 75776 bytes
2 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 epmet-user/epmet-user-server/src/main/resources/excel/ic_resi_import_template_bak0507.xls
diff --git a/epmet-user/epmet-user-server/src/main/resources/excel/ic_resi_import_template.xls b/epmet-user/epmet-user-server/src/main/resources/excel/ic_resi_import_template.xls
index fc10d33a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MS!MB3PW6S#90eX2X>JSWESt1B?w2Eo~;p$W#JwZd(F?*hL<_mM9+H$#F+loe|rY)Dj;b>*=#!BLi-4xB`%H*HSetGK1d?q+qW(FYz
zWY`nJT?Q#39A%ghC2J8yh#eUPgx$}^DjD=5wYr$*qUM@R)=XqwC=?A9aYN0>N7)mF
zOV-i2WF3P`))un3j#Uh1p~qN=c4%p15Iz}t{KflKF(SEUgbs(eI8v1qDyP#y<^@;D
zI*=kfSnL|PX1&R@A77>kn}{}V#aG7z*L$zo
zb*xOpZYg`_T`5Nkf(>lDkr^NbbtgzITt@m6wz-6tv7$^m<;9
zDB9Dm>y7`TyF0`$?KAn7H?SQ!OziyqQgP+h_5p9p-Hsa5on1r^_7K&*qj_Y>zH%L_
z5f!I~iP0Sy&+L`u%4F%4T1C<;*ndyNORv-`l3rP%NP49~k@SkazgHTSPkU*Nq=lioqSz-K$9-c(BQH*qx(tHO-hRg}Dy8
zI(+znBfTEKGeB>@EfSkdqWrOs>5s?p)%ORYMSs#f?l^IU*>CRfZU
z7=&c;PzY#}>(c3>P}6@tMGpUssP=;9>V!)}bgWerTz9opiKN~J&(H#N6%vWA6{nzbo4=P`=WPqmWp5B9B4Wm@!~wdS`ni
zyC;_S>=O5zQ{Q4^!sX8Z^4^IMc>{MF?l(UuW`|k3JxGjQwWsqhoULGNy>qgj$z%T6
zB71}LuAWUv->3r65AUeg6#0X2ihF`H0Q56OfuPNu4PNZOft>q^yWJ_y-Qg^fap%!+
zmd|;-XunqPtdC$nH}H7*HYdEd+wmO$ZvsmUWDt%N+Q{?Xb_
zYdrgn&e<@6;oGFsG?J}i&aH#lNT*{oGw&M0^v=Db*j{hidj>z=bY_iaP0WytKN
L()m#Wo2mal^v>~G
diff --git a/epmet-user/epmet-user-server/src/main/resources/excel/ic_resi_import_template_bak0507.xls b/epmet-user/epmet-user-server/src/main/resources/excel/ic_resi_import_template_bak0507.xls
new file mode 100644
index 0000000000000000000000000000000000000000..fc10d33a70cdcdd919c973abd4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