代码更新

This commit is contained in:
2022-09-02 17:11:26 +08:00
parent d6e295ac25
commit 59522e7efd

View File

@@ -740,6 +740,9 @@ public class InspectionsheetmstServiceImpl implements InspectionsheetmstService
*/ */
String is_sendLK = SpringContextHolder.getBean(ParamServiceImpl.class).findByCode("IS_SENDLK").getValue(); String is_sendLK = SpringContextHolder.getBean(ParamServiceImpl.class).findByCode("IS_SENDLK").getValue();
if (StrUtil.equals(is_sendLK, "1")) { if (StrUtil.equals(is_sendLK, "1")) {
boolean is_pgf = materialBaseService.isAlongMaterType(MaterOptTypeEnum.PGF.getCode(), material_id, null);
if (is_pgf) {
WmsToLkServiceImpl wmsToLkService = new WmsToLkServiceImpl(); WmsToLkServiceImpl wmsToLkService = new WmsToLkServiceImpl();
JSONObject param = new JSONObject(); JSONObject param = new JSONObject();
@@ -755,6 +758,7 @@ public class InspectionsheetmstServiceImpl implements InspectionsheetmstService
throw new BadRequestException("发送立库失败:"+result.getString("messsage")); throw new BadRequestException("发送立库失败:"+result.getString("messsage"));
} }
} }
}
} }