|
@ -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()); |
|
|