fix 好多问题

This commit is contained in:
张江玮
2023-04-03 10:57:01 +08:00
parent e556fd53af
commit b5e11636ff
9 changed files with 185 additions and 149 deletions

View File

@@ -908,6 +908,14 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
WQLObject group_table = WQLObject.getWQLObject("st_buss_vehiclegroup");
//从组盘表里面去获取组盘信息
JSONObject result = group_table.query("vehicle_code = '" + vehicle_code + "'").uniqueResult(0);
if (ObjectUtil.isNotEmpty(result)) {
String product_code = WQLObject
.getWQLObject("md_me_cribbinginfo")
.query("material_id = " + result.getString("material_id"))
.uniqueResult(0)
.getString("product_code");
result.put("product_code", product_code);
}
JSONObject resultJSON = new JSONObject();
resultJSON.put("content", result);
resultJSON.put("status", HttpStatus.OK.value());