作者 xudada

运单放行BUG

... ... @@ -472,7 +472,7 @@ public class LiftBar {
command.setInGrossWeight(inWt);
command.setGoodsWeight(goodsWt);
command.setActualGoodsWeight(diffVal);
if(list_infos.size()>1){
if(list_infos.size()>0){
command.setMasterList(Arrays.toString(toStrArry(list_infos)));
}
logic.commandLogService.insert(command);
... ...
... ... @@ -80,7 +80,7 @@ public class ResMessageServiceImpl implements ResMessageService {
public static String[] toStrArry(List<LAND_BUSINEESTYPE_LIST_INFO> list_infos){
List<String> manifestList=new ArrayList<String>();
for(LAND_BUSINEESTYPE_LIST_INFO land:list_infos){
manifestList.add(land.getAwba());
manifestList.add(land.getAwba().replace("-",""));
}
//manifestList = manifestList.replace("-", "").replace(",", ",");
String[] maifest = manifestList.toArray(new String[manifestList.size()]);
... ...