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