Commit 0d891056 by jianan

保费到期提醒10

parent 2668783a
...@@ -73,7 +73,8 @@ public class RenewalPolicyReportService { ...@@ -73,7 +73,8 @@ public class RenewalPolicyReportService {
row.setSignDate(p.getSignDate()); row.setSignDate(p.getSignDate());
row.setIssueDate(p.getIssueDate()); row.setIssueDate(p.getIssueDate());
row.setCoolingOffEndDate(p.getCoolingOffEndDate()); row.setCoolingOffEndDate(p.getCoolingOffEndDate());
row.setDueDate(java.sql.Date.valueOf(item.getDueDate())); row.setDueDate(java.util.Date.from(item.getDueDate()
.atStartOfDay(java.time.ZoneId.systemDefault()).toInstant()));
row.setIssueNumber(Objects.toString(p.getIssueNumber(), null)); row.setIssueNumber(Objects.toString(p.getIssueNumber(), null));
row.setPaymentFrequency(p.getPaymentFrequency()); row.setPaymentFrequency(p.getPaymentFrequency());
row.setIsPrepay(p.getIsPrepay()); row.setIsPrepay(p.getIsPrepay());
......
package com.yd.csf.service.model; package com.yd.csf.service.model;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
...@@ -56,13 +57,15 @@ public class RenewalRemindBatch implements Serializable { ...@@ -56,13 +57,15 @@ public class RenewalRemindBatch implements Serializable {
private Integer skippedCount; private Integer skippedCount;
/** /**
* 实际收件人邮箱(逗号分隔快照) * 实际收件人邮箱(逗号分隔快照);状态切换时允许置空
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED)
private String recipients; private String recipients;
/** /**
* 附件文件名 * 附件文件名;状态切换时允许置空
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED)
private String fileName; private String fileName;
/** /**
...@@ -71,13 +74,15 @@ public class RenewalRemindBatch implements Serializable { ...@@ -71,13 +74,15 @@ public class RenewalRemindBatch implements Serializable {
private String status; private String status;
/** /**
* 失败原因摘要 * 失败原因摘要;重跑成功后允许置空
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED)
private String errorMsg; private String errorMsg;
/** /**
* 发送时间 * 发送时间;FAIL 时允许置空
*/ */
@TableField(updateStrategy = FieldStrategy.IGNORED)
private LocalDateTime sendTime; private LocalDateTime sendTime;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment