Commit daac7f6d by zhangxingmin

push

parent 2a37793b
......@@ -256,7 +256,7 @@ public class ApiSalaryServiceImpl implements ApiSalaryService {
throw new BusinessException("薪资单信息不存在");
}
if (!SalaryStatusEnum.DHD.getItemValue().equals(salary.getStatus())) {
throw new BusinessException("非待核对状态不能核对");
throw new BusinessException("必须待核对状态下,才能核对");
}
salary.setStatus(request.getStatus() == 1 ? SalaryStatusEnum.YHD.getItemValue() : SalaryStatusEnum.TH.getItemValue());
salary.setReturnRemark(request.getReturnRemark());
......@@ -276,7 +276,7 @@ public class ApiSalaryServiceImpl implements ApiSalaryService {
throw new BusinessException("薪资单信息不存在");
}
if (!SalaryStatusEnum.YHD.getItemValue().equals(salary.getStatus())) {
throw new BusinessException("非已核对状态不能推送");
throw new BusinessException("必须已核对状态下,才能推送");
}
salary.setStatus(SalaryStatusEnum.YTS.getItemValue());
iSalaryService.saveOrUpdate(salary);
......
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