private CallableStatement execute_Insert_Order_Picks_Ti(SaleOutBound saleOutBound) {
CallableStatement call = null;
try {
JdbcUtils.createDriver(yamlProperties.getDriverClassName());
log.info("{} ,{} ", yamlProperties.getDriverClassName(), yamlProperties.getUrl());
Connection connection = YamlProperties.connection;
String sql = "{call pick.insert_order(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}";
call = connection.prepareCall(sql);
call.setLong(InsertOrderPicksTiConstant.P_SESSION_ID, saleOutBound.getSourceId());
call.setLong(InsertOrderPicksTiConstant.P_TXN_HEADER_ID, saleOutBound.getCarryNumberHeaderId());
call.setLong(InsertOrderPicksTiConstant.P_TXN_LINE_ID, saleOutBound.getCarryLineNumberId());
call.setString(InsertOrderPicksTiConstant.P_REQUEST_NUMBER, saleOutBound.getCarryNumber());
记录调用存储过程报异常:在要求输入数字处找到非数字字符
于 2023-03-28 14:23:42 首次发布