...
|
...
|
@@ -2,6 +2,7 @@ package com.sy.service.impl; |
|
|
|
|
|
import com.sy.mapper.RESMESSAGEMapper;
|
|
|
import com.sy.model.GatherInfo;
|
|
|
import com.sy.model.LAND_BUSINEESTYPE_LIST_INFO;
|
|
|
import com.sy.model.RESMESSAGE;
|
|
|
import com.sy.service.ResMessageService;
|
|
|
import com.sy.socket.CommandClient;
|
...
|
...
|
@@ -9,6 +10,7 @@ import org.apache.log4j.Logger; |
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Arrays;
|
|
|
import java.util.List;
|
|
|
import java.util.Vector;
|
...
|
...
|
@@ -42,14 +44,18 @@ public class ResMessageServiceImpl implements ResMessageService { |
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public boolean checkManifestRelease(GatherInfo info,String manifestList) {
|
|
|
public boolean checkManifestRelease(GatherInfo info, List<LAND_BUSINEESTYPE_LIST_INFO> list_infos) {
|
|
|
List<String> noRelease = new Vector<>();
|
|
|
if (manifestList.length() < 1) {
|
|
|
if (list_infos.size() < 1) {
|
|
|
CommandClient.Client(info, AWB_EMPTY);
|
|
|
return false;
|
|
|
}
|
|
|
manifestList = manifestList.replace("-", "").replace(",", ",");
|
|
|
String[] maifest = manifestList.split(",");
|
|
|
List<String> manifestList=new ArrayList<String>();
|
|
|
for(LAND_BUSINEESTYPE_LIST_INFO land:list_infos){
|
|
|
manifestList.add(land.getAwba());
|
|
|
}
|
|
|
//manifestList = manifestList.replace("-", "").replace(",", ",");
|
|
|
String[] maifest = manifestList.toArray(new String[manifestList.size()]);
|
|
|
logger.info("运单列表:" + manifestList);
|
|
|
boolean flag = false;
|
|
|
|
...
|
...
|
|