Browse Source

更新

master
loujf 2 years ago
parent
commit
fa24316018
  1. 2
      acs/hd/nladmin-system/src/main/java/org/nl/acs/order/service/impl/ProduceshiftorderServiceImpl.java

2
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下发的排产单 //判断是否为wms下发的排产单
String hasWms = acsConfigService.findConfigFromCache().get(AcsConfig.HASWMS); 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(); JSONObject json = new JSONObject();
json.put("producetask_code",dto.getOrder_code()); json.put("producetask_code",dto.getOrder_code());
json.put("device_code",dto.getDevice_code()); json.put("device_code",dto.getDevice_code());

Loading…
Cancel
Save