diff --git a/acs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/impl/ProduceshiftorderServiceImpl.java b/acs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/impl/ProduceshiftorderServiceImpl.java index 89872a7..bff0711 100644 --- a/acs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/impl/ProduceshiftorderServiceImpl.java +++ b/acs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/impl/ProduceshiftorderServiceImpl.java @@ -171,7 +171,7 @@ public class ProduceshiftorderServiceImpl implements ProduceshiftorderService { //判断是否为wms下发的排产单 String hasWms = acsConfigService.findConfigFromCache().get(AcsConfig.HASWMS); - if (dto.getProduct_code().equals("wms") && hasWms.equals("1")) { + if (StrUtil.isNotEmpty(dto.getProduct_code()) && hasWms.equals("1")) { JSONObject json = new JSONObject(); json.put("producetask_code",dto.getOrder_code()); json.put("device_code",dto.getDevice_code());