fix: 代码复原
This commit is contained in:
@@ -28,6 +28,9 @@ import org.nl.common.domain.query.PageQuery;
|
||||
import org.nl.common.enums.PackageInfoIvtEnum;
|
||||
import org.nl.common.utils.SecurityUtils;
|
||||
import org.nl.modules.common.exception.BadRequestException;
|
||||
import org.nl.modules.wql.core.bean.WQLObject;
|
||||
import org.nl.modules.wql.util.SpringContextHolder;
|
||||
import org.nl.system.service.param.impl.SysParamServiceImpl;
|
||||
import org.nl.wms.ext.mes.service.LmsToMesService;
|
||||
import org.nl.wms.sch.manage.TaskStatusEnum;
|
||||
import org.redisson.api.RLock;
|
||||
@@ -843,6 +846,32 @@ public class BstIvtPackageinfoivtServiceImpl extends ServiceImpl<BstIvtPackagein
|
||||
lmsToMesService.getInspectionResult(jo);
|
||||
//子卷下料信息MES传递给LMS
|
||||
iPdmBiContainerinfoService.createSubInfoByContainer(whereJson.getString("container_name"));
|
||||
/*
|
||||
* 自动打标
|
||||
*/
|
||||
// 判断是否自动打标
|
||||
String auto_table = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("AUTO_PRINT_TABLE").getValue();
|
||||
if (auto_table.equals(IOSEnum.IS_NOTANDYES.code("是"))) {
|
||||
// 内标默认打印机
|
||||
String within_table = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("WITHIN_PEINT_TWO").getValue();
|
||||
JSONObject within_print = WQLObject.getWQLObject("pdm_bi_printinfo")
|
||||
.query("print_name = '" + within_table + "'")
|
||||
.uniqueResult(0);
|
||||
// 管标默认打印机
|
||||
String pipe_table = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("PIPE_PEINT_TWO").getValue();
|
||||
JSONObject pipe_print = WQLObject.getWQLObject("pdm_bi_printinfo")
|
||||
.query("print_name = '" + pipe_table + "'")
|
||||
.uniqueResult(0);
|
||||
// 组织数据
|
||||
JSONObject param = new JSONObject();
|
||||
param.put("pcsn", whereJson.getString("container_name"));
|
||||
param.put("print_code", pipe_print.getString("print_id"));
|
||||
printTableTwoService.pipeTable(param);
|
||||
|
||||
param.put("print_code", within_print.getString("print_id"));
|
||||
printTableTwoService.withinTable(param);
|
||||
}
|
||||
|
||||
}
|
||||
updateWrapper.set("container_name", dtoList.get(0).getContainer_name());
|
||||
updateWrapper.set("ivt_status", whereJson.getString("ivt_status"));
|
||||
|
||||
Reference in New Issue
Block a user