代码更新
This commit is contained in:
@@ -545,7 +545,7 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
jsonCool.put("io_type", "1");
|
||||
jsonCool.put("material_id", mater_jo.getString("material_id"));
|
||||
jsonCool.put("pcsn", parent_container_name);
|
||||
jsonCool.put("bill_status", "50");
|
||||
jsonCool.put("bill_status", "10");
|
||||
jsonCool.put("task_id", task_id);
|
||||
jsonCool.put("qty_unit_id", "1");
|
||||
jsonCool.put("start_point_code", cool_ivt.getString("full_point_code"));
|
||||
@@ -576,7 +576,7 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
if (ObjectUtil.isEmpty(struct)) {
|
||||
throw new BadRequestException("该箱子已出库,不在库内!");
|
||||
}
|
||||
if (!struct.getString("lock_type").equals("3")) {
|
||||
if (!struct.getString("lock_type").equals("1")) {
|
||||
throw new BadRequestException("该木箱正在出库中!");
|
||||
}
|
||||
|
||||
@@ -740,6 +740,7 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
try {
|
||||
// String is_mesTolms = SpringContextHolder.getBean(ParamServiceImpl.class).findByCode("is_mesTolms").getValue();
|
||||
// if (StrUtil.equals(is_mesTolms, "1")) {
|
||||
|
||||
String isUnPlanProductionBox = param.getString("isUnPlanProductionBox"); // 是否计划外子卷
|
||||
String QuanlityInBox = param.getString("QuanlityInBox"); // 产品编码
|
||||
String QualityGuaranPeriod = param.getString("QualityGuaranPeriod"); // 保质期
|
||||
@@ -820,8 +821,8 @@ public class MesToLmsServiceImpl implements MesToLmsService {
|
||||
jo.put("width_standard",width_standard);
|
||||
jo.put("thickness_request",thickness_request);
|
||||
jo.put("status", "0");
|
||||
jo.put("create_id", "2");
|
||||
jo.put("create_name", "MES用户");
|
||||
jo.put("create_id", "1");
|
||||
jo.put("create_name", "管理员");
|
||||
jo.put("create_time", DateUtil.now());
|
||||
WQLObject tab = WQLObject.getWQLObject("PDM_BI_SubPackageRelation");
|
||||
tab.insert(jo);
|
||||
|
||||
Reference in New Issue
Block a user