fix 好多问题
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user