修改
This commit is contained in:
@@ -223,7 +223,7 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
JSONArray paramArr = new JSONArray();
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("device_code", jsonSb.getString("point_code"));
|
||||
param.put("task_code", task_jo.getString("task_code"));
|
||||
json.put("task_code", task_jo.getString("task_code"));
|
||||
json.put("option ", "2");
|
||||
paramArr.add(json);
|
||||
|
||||
@@ -332,7 +332,7 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
log.info("母卷:"+ContainerName+"被决策入半成品库,请求入半成品库标识改为1");
|
||||
|
||||
JSONObject jsonPoint = pointTab.query("material_code = '" + containerName + "' and is_delete = '0' and is_used = '1'").uniqueResult(0);
|
||||
if (ObjectUtil.isEmpty(jsonPoint)) throw new BadRequestException("母卷不存在");
|
||||
if (ObjectUtil.isEmpty(jsonPoint)) throw new BadRequestException("母卷不存在烘箱对接位上!");
|
||||
|
||||
// 调用接口输入参数
|
||||
jsonParam.put("point_code", jsonPoint.getString("point_code"));
|
||||
|
||||
Reference in New Issue
Block a user