Compare commits
2 Commits
ac1a767a29
...
a0f85ea367
| Author | SHA1 | Date |
|---|---|---|
|
|
a0f85ea367 | |
|
|
7de3dca2a3 |
|
|
@ -497,6 +497,11 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
|
||||||
if (salarySendInfo == null) {
|
if (salarySendInfo == null) {
|
||||||
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(100511, "工资单信息不存在"));
|
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(100511, "工资单信息不存在"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!Objects.equals(salarySendInfo.getSendStatus(), 1)) {
|
||||||
|
throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(100511, "工资单信息不存在"));
|
||||||
|
}
|
||||||
|
|
||||||
Long employeeId = salarySendInfo.getEmployeeId();
|
Long employeeId = salarySendInfo.getEmployeeId();
|
||||||
if (currentEmployeeId.compareTo(employeeId) != 0) {
|
if (currentEmployeeId.compareTo(employeeId) != 0) {
|
||||||
|
|
||||||
|
|
@ -1386,7 +1391,6 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Map<String, Object> withdraw(SalarySendWithdrawParam param) {
|
public Map<String, Object> withdraw(SalarySendWithdrawParam param) {
|
||||||
if (param.getSalarySendId() == null) {
|
if (param.getSalarySendId() == null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue