opt:优化提示

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-02-19 17:20:45 +08:00
parent 8adb0b2b70
commit a724b754b0
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ public class DruidFilter extends FilterEventAdapter {
}
executeSql = SQLUtils.format(executeSql, JdbcUtils.MYSQL, params);
}
log.info("[----SQL----][update][数据库:{}][ SQL: {} ]",database, executeSql);
log.info("[----SQL----][update][执行结果:{}][数据库:{}][ SQL: {} ]",count,database, executeSql);
}
super.statementExecuteAfter(statement, sql, result);
}

View File

@@ -249,7 +249,7 @@ public class StorPublicServiceImpl implements StorPublicService {
throw new BadRequestException("输入数据异常,请检查");
}
if (jo_in.getDoubleValue("frozen_qty") < 0) {
throw new BadRequestException("冻结数不允许为负数");
throw new BadRequestException("库存冻结数异常,请联系管理员分析处理单据");
}
wql.update(jo_in, "stockrecord_id='" + jo_in.getString("stockrecord_id") + "'");
} else {