黑名单退场bug修复
This commit is contained in:
parent
6113f6279a
commit
13cf189faa
@ -56,6 +56,9 @@ public class WorkerBlacklistServiceImpl extends ServiceImpl<WorkerBlacklistMappe
|
||||
if (workerInfo != null) {
|
||||
workerBlacklist.setIdCard(workerInfo.getIdCard());
|
||||
workerBlacklist.setWorkerName(workerInfo.getWorkerName());
|
||||
if (workerInfo.getInserviceType() == 2) {
|
||||
throw new OpenAlertException("该人员已退场");
|
||||
}
|
||||
}
|
||||
workerBlacklistMapper.insert(workerBlacklist);
|
||||
if (Objects.equals(workerBlacklist.getIsExit(), 1)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user