Browse Source

调整

master
wxz 2 years ago
parent
commit
c11afec4bd
  1. 4
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/LingShanSpecialCrowdListResultDTO.java
  2. 3
      epmet-user/epmet-user-server/src/main/java/com/epmet/controller/LingShanSpecialCrowdController.java
  3. 2
      epmet-user/epmet-user-server/src/main/java/com/epmet/excel/handler/AbstractLingShanSpecialCrowdExcelImportListener.java
  4. 1
      epmet-user/epmet-user-server/src/main/resources/mapper/LingshanSpecialCrowdPersonTypeDao.xml

4
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/LingShanSpecialCrowdListResultDTO.java

@ -16,10 +16,10 @@ public class LingShanSpecialCrowdListResultDTO {
private String idCard; private String idCard;
private String address; private String address;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd")
private Date createdTime; private Date createdTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonFormat(pattern = "yyyy-MM-dd")
private Date updatedTime; private Date updatedTime;
} }

3
epmet-user/epmet-user-server/src/main/java/com/epmet/controller/LingShanSpecialCrowdController.java

@ -1,5 +1,6 @@
package com.epmet.controller; package com.epmet.controller;
import com.epmet.commons.tools.annotation.MaskResponse;
import com.epmet.commons.tools.exception.EpmetErrorCode; import com.epmet.commons.tools.exception.EpmetErrorCode;
import com.epmet.commons.tools.exception.EpmetException; import com.epmet.commons.tools.exception.EpmetException;
import com.epmet.commons.tools.page.PageData; import com.epmet.commons.tools.page.PageData;
@ -173,6 +174,8 @@ public class LingShanSpecialCrowdController {
* @date: 2023/4/20 5:42 PM * @date: 2023/4/20 5:42 PM
*/ */
@GetMapping("listSpecialCrowd") @GetMapping("listSpecialCrowd")
@MaskResponse(fieldNames = {"name", "mobile", "idCard"},
fieldsMaskType = { MaskResponse.MASK_TYPE_CHINESE_NAME, MaskResponse.MASK_TYPE_MOBILE, MaskResponse.MASK_TYPE_ID_CARD })
public Result<PageData<LingShanSpecialCrowdListResultDTO>> listSpecialCrowds(@RequestParam(value = "orgId", required = false) String orgId, public Result<PageData<LingShanSpecialCrowdListResultDTO>> listSpecialCrowds(@RequestParam(value = "orgId", required = false) String orgId,
@RequestParam(value = "orgType", required = false) String orgType, @RequestParam(value = "orgType", required = false) String orgType,
@RequestParam(value = "specialType", required = false) String specialType, @RequestParam(value = "specialType", required = false) String specialType,

2
epmet-user/epmet-user-server/src/main/java/com/epmet/excel/handler/AbstractLingShanSpecialCrowdExcelImportListener.java

@ -250,7 +250,7 @@ public abstract class AbstractLingShanSpecialCrowdExcelImportListener<T extends
* @date: 2023/4/18 3:42 PM * @date: 2023/4/18 3:42 PM
*/ */
protected void saveBatch() { protected void saveBatch() {
String orgIdPath = PidUtils.convertPid2OrgIdPath(currentStaffInfo.getFromOrgId(), currentStaffInfo.getAgencyPIds()); String orgIdPath = PidUtils.convertPid2OrgIdPath(currentStaffInfo.getAgencyId(), currentStaffInfo.getAgencyPIds());
String customerId = EpmetRequestHolder.getLoginUserCustomerId(); String customerId = EpmetRequestHolder.getLoginUserCustomerId();
Date now = new Date(); Date now = new Date();
Iterator<T> it = getOriginDatas().iterator(); Iterator<T> it = getOriginDatas().iterator();

1
epmet-user/epmet-user-server/src/main/resources/mapper/LingshanSpecialCrowdPersonTypeDao.xml

@ -64,6 +64,7 @@
and r.MOBILE like CONCAT('%', mobile, '%') and r.MOBILE like CONCAT('%', mobile, '%')
</if> </if>
</where> </where>
order by t.UPDATED_TIME desc
</select> </select>

Loading…
Cancel
Save