资质证书预警修改,新增预警次数,

master
anthonywj 2 years ago
parent cf4d989544
commit 6029a906f5

@ -99,4 +99,8 @@ public class SupCertRemindMsgEntity {
@TableField(value = "remark")
private String remark;
}
@TableField(value = "remindCount")
private int remindCount;
}

@ -132,6 +132,6 @@ public class InvRemindMsgResponse {
*/
private String zczbhhzbapzbh;
private Integer remindCount;
private int remindCount;
}

@ -92,5 +92,10 @@ public class SupCertRemindMsgResponse {
*
*/
private String certName;
/**
*
*/
private int remindCount;
}

@ -179,7 +179,7 @@ public class SupCertRemindMsgImpl implements SupCertRemindMsgService {
msgEntity.setHandleMsg(null); //处理方式重置为空
msgEntity.setUpdateTime(new Date());
msgEntity.setNextRemindTime(new Date());
msgEntity.setRemindCount(msgEntity.getRemindCount() + 1);
if (null == msgEntity.getId()) {
log.info("新增资质预警:{}", JSONUtil.toJsonStr(msgEntity));
supCertRemindMsgDao.insert(msgEntity);

@ -104,6 +104,8 @@ CALL Pro_Temp_ColumnWork('sup_product', 'allowNoProduct', 'tinyint', 1);
CALL Pro_Temp_ColumnWork('sup_product', 'allowNoSerial', 'tinyint', 1);
CALL Pro_Temp_ColumnWork('inv_remind_msg', 'remindCount', 'int', 1);
CALL Pro_Temp_ColumnWork('sup_cert_remind_msg', 'remindCount', 'int', 1);

Loading…
Cancel
Save