@ -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;
@ -92,5 +92,10 @@ public class SupCertRemindMsgResponse {
* 资质证书名称
private String certName;
/**
* 提醒次数
@ -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);