This commit is contained in:
parent
b7c58ecc11
commit
584ebbc562
|
|
@ -75,4 +75,9 @@ public class SalarySysConstant {
|
|||
* 删除薪资档案
|
||||
*/
|
||||
public static final String SALARY_ARCHIVE_DELETE = "salaryArchiveDelete";
|
||||
|
||||
/**
|
||||
* 工资单反馈
|
||||
*/
|
||||
public static final String SALARY_SEND_FEEDBACK = "SALARY_SEND_FEEDBACK";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,4 +75,9 @@ public class AppSettingVO {
|
|||
*/
|
||||
private String salaryArchiveDelete;
|
||||
|
||||
/**
|
||||
* 工资单反馈
|
||||
*/
|
||||
private String salarySendFeedback;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -504,6 +504,15 @@ public class SalarySysConfServiceImpl extends Service implements SalarySysConfSe
|
|||
appSettingVO.setSalaryArchiveDelete(salaryArchiveDeletePO.getConfValue());
|
||||
}
|
||||
|
||||
|
||||
SalarySysConfPO salarySendFeedbackPO = salarySysConfMap.get(SALARY_SEND_FEEDBACK);
|
||||
if (salarySendFeedbackPO == null ) {
|
||||
// 是否开启工资单反馈,默认不开启
|
||||
appSettingVO.setSalarySendFeedback("0");
|
||||
} else {
|
||||
appSettingVO.setSalarySendFeedback(salarySendFeedbackPO.getConfValue());
|
||||
}
|
||||
|
||||
//默认加密开启
|
||||
if (StringUtils.isEmpty(appSettingVO.getIsOpenEncrypt())) {
|
||||
appSettingVO.setIsOpenEncrypt(OpenEnum.OPEN.getValue());
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ public class SalarySystemConfigController {
|
|||
return new ResponseResult<TaxDeclarationFunctionEnum, Boolean>(user).run(getSalarySystemConfigWrapper(user)::operateTaxDeclarationFunction, TaxDeclarationFunctionEnum.parseByValue(param.getOperateTaxDeclaration()));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取系统配置
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue