Browse Source

人员导出信息新增字段

feature/codemove
Jackwang 3 years ago
parent
commit
614d4f7ccf
  1. 5
      epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/dto/EpidemicRecordListDTO.java
  2. 3
      epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/excel/EpidecmicUserNewExcel.java
  3. 19
      epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

5
epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/dto/EpidemicRecordListDTO.java

@ -219,4 +219,7 @@ public class EpidemicRecordListDTO implements Serializable {
private String checkStateName; private String checkStateName;
private String allDeptNames; private String allDeptNames;
}
//房屋地址
private String houseAddress;
}

3
epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/excel/EpidecmicUserNewExcel.java

@ -114,7 +114,10 @@ public class EpidecmicUserNewExcel{
private String destinationAddressName; private String destinationAddressName;
@Excel(name = "拟去往目的地详细地址") @Excel(name = "拟去往目的地详细地址")
private String destinationAddressDetail; private String destinationAddressDetail;
@Excel(name = "房屋地址")
private String houseAddress;
@Excel(name = "是否接种",replace = { "未接种_0", "接种中_1", "接种完成_2"}) @Excel(name = "是否接种",replace = { "未接种_0", "接种中_1", "接种完成_2"})
private Integer vaccinationState; private Integer vaccinationState;
} }

19
epdc-cloud-vim-yushan/src/main/resources/mapper/epidemic/EpidemicUserInfoDao.xml

@ -49,7 +49,24 @@
ui.LIVE_ADDRESS_NAME, ui.LIVE_ADDRESS_NAME,
ui.HOUSEHOLD_REGISTER_NAME householdRegisterName, ui.HOUSEHOLD_REGISTER_NAME householdRegisterName,
if(ui.check_state='0','已检测','未检测') as checkStateName, if(ui.check_state='0','已检测','未检测') as checkStateName,
ui.ALL_DEPT_NAMES ui.ALL_DEPT_NAMES,
ui.WORK_UNITS,
ui.HOUSE_ADDRESS,
ui.PLOT,
ui.BUILDING_NO,
ui.UNIT,
ui.ROOM_NO,
ui.BIRTHDAY,
case ui.GENDER
when '0' then '女'
when '1' then '男'
else ui.GENDER
end as GENDER,
ui.HOUSEHOLD_REGISTER_NAME,
ui.OUT_LIVE_ADDRESS_DETAIL
from epidemic_user_info ui from epidemic_user_info ui
where ui.DEL_FLAG='0' where ui.DEL_FLAG='0'
<if test="haveDept != null and haveDept != '' and haveDept== '1'.toString()"> <if test="haveDept != null and haveDept != '' and haveDept== '1'.toString()">

Loading…
Cancel
Save