工资单模板信息

This commit is contained in:
Harryxzy 2023-07-03 09:44:10 +08:00
parent 9842784297
commit faa2b9c16e
2 changed files with 10 additions and 0 deletions

View File

@ -54,4 +54,13 @@ public class SalaryTemplateBaseSetDTO {
//消息中心")
private Boolean msgStatus;
// 是否启用工资单定时发送
private Boolean auto_send_status;
// 每月几号自动发送工资单
private String auto_send_day_of_month;
// 发送时间
private String auto_send_time_of_day;
}

View File

@ -153,6 +153,7 @@ public class SalaryTemplateWrapper extends Service {
salaryTemplateBaseSetDTO.setMsgStatus(po.getMsgStatus().equals(SalaryTemplateWhetherEnum.TRUE.getValue()));
salaryTemplateBaseSetDTO.setSalarySob(po.getSalarySobId());
salaryTemplateBaseSetDTO.setSendEmail(po.getSendEmailId());
salaryTemplateBaseSetDTO.setAuto_send_status(po.getAutoSendStatus() == null ? false : po.getAutoSendStatus().equals(SalaryTemplateWhetherEnum.TRUE.getValue()));
// 规则赋值 如果为ALL传 如果为byRule传薪资项目ID
salaryTemplateBaseSetDTO.setReplenishRule(SalaryTemplateReplenishRuleEnum.ALL.getValue().equals(po.getReplenishRule()) ? "" : po.getReplenishRule());
// 规则设置赋值