Browse Source

疫情防控,小程序通知,添加发送结果,sendRes:发送结果:1成功,0失败 v2

master
yinzuomei 3 years ago
parent
commit
d9ca385b5f
  1. 6
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/VaccinationListResultDTO.java
  2. 9
      epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.71__icnotice_sendres.sql
  3. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/IcEpidemicSpecialAttentionDao.xml

6
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/result/VaccinationListResultDTO.java

@ -41,6 +41,12 @@ public class VaccinationListResultDTO implements Serializable {
* 身份证
*/
private String idCard;
/**
* 真实的身份证
*/
private String realIdCard;
private String sex;
/**

9
epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.71__icnotice_sendres.sql

@ -1 +1,10 @@
ALTER TABLE ic_notice ADD COLUMN SEND_RES VARCHAR ( 1 ) NOT NULL DEFAULT '1' COMMENT '发送结果:1成功,0失败' after ORG_NAME;
update ic_notice n
set n.SEND_RES='1'
where n.USER_ID is not null
and n.USER_ID !='';
update ic_notice n
set n.SEND_RES='0'
where (n.USER_ID is null
or n.USER_ID ='');

2
epmet-user/epmet-user-server/src/main/resources/mapper/IcEpidemicSpecialAttentionDao.xml

@ -71,6 +71,7 @@
a.`NAME`,
a.MOBILE,
a.ID_CARD,
a.ID_CARD as realIdCard,
IFNULL(a.reason,'') AS reason,
a.REMARK,
b.VILLAGE_ID,
@ -124,6 +125,7 @@
a.`NAME`,
a.MOBILE,
a.ID_CARD,
a.ID_CARD as realIdCard,
a.REMARK,
a.REASON,
b.VILLAGE_ID,

Loading…
Cancel
Save