dev:烘箱温度回传修改

This commit is contained in:
2024-04-10 14:57:41 +08:00
parent 73cdc561f1
commit 4be28aeb29
3 changed files with 5 additions and 4 deletions

View File

@@ -198,12 +198,12 @@ public class SapToLmsServiceImpl implements SapToLmsService {
} catch (Exception exception) { } catch (Exception exception) {
result.put("TYPE", "E"); result.put("TYPE", "E");
result.put("MESSAGE", "推送失败!" + exception.getMessage()); result.put("MESSAGE", "推送失败!" + exception.getMessage());
log.info("getMaterialInfo的输出参数为------------------------" + result.toString()); log.info("getReCutInfo的输出参数为------------------------" + result.toString());
return result; return result;
} }
result.put("TYPE", "S"); result.put("TYPE", "S");
result.put("MESSAGE", msg); result.put("MESSAGE", msg);
log.info("getMaterialInfo的输出参数为------------------------" + result.toString()); log.info("getReCutInfo的输出参数为------------------------" + result.toString());
return result; return result;
} }

View File

@@ -414,7 +414,8 @@ public class BakingServiceImpl implements BakingService {
hotParam.put("task_id", task_id); hotParam.put("task_id", task_id);
hotParam.put("start_point_code", point_code1); hotParam.put("start_point_code", point_code1);
hotParam.put("end_point_code", point_code2); hotParam.put("end_point_code", point_code2);
hotParam.put("temperature", jsonHotIvt.getString("temperature")); String point_temperature = (String) redisUtils.hget(point_code1, "temperature");
hotParam.put("temperature", point_temperature);
if (ObjectUtil.isEmpty(last_hot_mst)) { if (ObjectUtil.isEmpty(last_hot_mst)) {
hotParam.put("oven_time", "480"); hotParam.put("oven_time", "480");
} else { } else {

View File

@@ -131,7 +131,7 @@ public class RecutPlanServiceImpl implements RecutPlanService {
jsonDtl.put("plan_id", jsonMst.getLongValue("plan_id")); jsonDtl.put("plan_id", jsonMst.getLongValue("plan_id"));
jsonDtl.put("seq_no", i); jsonDtl.put("seq_no", i);
jsonDtl.put("material_id", json.getLongValue("material_id")); jsonDtl.put("material_id", json.getLongValue("material_id"));
jsonDtl.put("package_box_sn", json.getLongValue("package_box_sn")); jsonDtl.put("package_box_sn", json.getString("package_box_sn"));
jsonDtl.put("pcsn", json.getString("sap_pcsn")); jsonDtl.put("pcsn", json.getString("sap_pcsn"));
jsonDtl.put("qty_unit_id", json.getString("qty_unit_id")); jsonDtl.put("qty_unit_id", json.getString("qty_unit_id"));
jsonDtl.put("qty_unit_name", json.getString("qty_unit_name")); jsonDtl.put("qty_unit_name", json.getString("qty_unit_name"));