作者 xudada

运单放行BUG

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