opt:优化提示
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user