安全漏洞升级,推送逻辑优化

This commit is contained in:
15856 2024-11-15 09:18:08 +08:00
parent 8ea0eb2fa9
commit b6524e55c9
1 changed files with 2 additions and 1 deletions

View File

@ -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);