opt: 生箔大车车号设置

This commit is contained in:
2024-11-07 14:03:01 +08:00
parent b0da486f75
commit 6ca912a498

View File

@@ -224,9 +224,12 @@ public class RawFoilServiceImpl implements RawFoilService {
if (ObjectUtil.isEmpty(point_code2_jo)) {
throw new BadRequestException("未查询到可用的点位类型为入箱的烘箱对接位!");
}
String bigType = whereJson.getString("big_type");
// 起点和终点确定 生成任务
JSONObject param = new JSONObject();
if (ObjectUtil.isNotEmpty(bigType) && "1".equals(bigType)) {
param.put("car_no", "99");
}
param.put("point_code1", jsonIvt.getString("empty_point_code"));
param.put("point_code2", jsonSb.getString("point_code") + "_K");
param.put("point_code3", jsonSb.getString("point_code") + "_M");