安全漏洞升级,推送逻辑优化
This commit is contained in:
parent
8ea0eb2fa9
commit
b6524e55c9
|
|
@ -159,6 +159,7 @@ public class LeaseOutDetailsServiceImpl implements LeaseOutDetailsService {
|
|||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public AjaxResult submitOut(LeaseOutDetails record) {
|
||||
log.error("check0001");
|
||||
int res = 0;
|
||||
try {
|
||||
// 1、判断是否重复提交
|
||||
|
|
@ -177,7 +178,7 @@ public class LeaseOutDetailsServiceImpl implements LeaseOutDetailsService {
|
|||
} else {
|
||||
res = checkStorageNum(record);
|
||||
}
|
||||
|
||||
log.error("check0002");
|
||||
if (res > 0) {
|
||||
// 3、插入出库记录,修改库存,修改机具状态
|
||||
res = insertRecords(record);
|
||||
|
|
|
|||
Loading…
Reference in New Issue