Commit 46e36cb8 by zhangxingmin

push

parent 40a2f2a0
......@@ -234,9 +234,9 @@ public class ApiSalaryServiceImpl implements ApiSalaryService {
if (salary == null) {
throw new BusinessException("薪资单信息不存在");
}
if (SalaryStatusEnum.DTJ.getItemValue().equals(salary.getStatus())
|| SalaryStatusEnum.TH.getItemValue().equals(salary.getStatus())) {
throw new BusinessException("非待提交或者退回状态不能提交核对");
if (!(SalaryStatusEnum.DTJ.getItemValue().equals(salary.getStatus())
|| SalaryStatusEnum.TH.getItemValue().equals(salary.getStatus()))) {
throw new BusinessException("只有待提交或者退回状态,才能提交核对");
}
//重新提交->待核对状态
salary.setStatus(SalaryStatusEnum.DHD.getItemValue());
......
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