|
@@ -18,10 +18,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
import java.math.BigDecimal;
|
|
|
import java.text.ParseException;
|
|
|
import java.text.SimpleDateFormat;
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-import java.util.Stack;
|
|
|
+import java.util.*;
|
|
|
import java.util.regex.Matcher;
|
|
|
import java.util.regex.Pattern;
|
|
|
|
|
@@ -609,6 +606,11 @@ public class AmsContractTruckPriceServiceImpl implements IAmsContractTruckPriceS
|
|
|
|
|
|
@Override
|
|
|
public List<Map<String, Object>> getInwardContractPrice(Map<String, Object> mapValue) {
|
|
|
+ String material="";
|
|
|
+// if (mapValue.get("materialNames")!=null && mapValue.get("materialNames").toString().contains("、")) {
|
|
|
+// material= mapValue.get("materialNames").toString();
|
|
|
+// mapValue.put("materialNames",null);
|
|
|
+// }
|
|
|
List<Map<String,Object>>mapList = amsContractTruckPriceMapper.getInwardContractPrice(mapValue);
|
|
|
for (Map<String,Object>map:mapList
|
|
|
) {
|
|
@@ -633,6 +635,13 @@ public class AmsContractTruckPriceServiceImpl implements IAmsContractTruckPriceS
|
|
|
}else if(((BigDecimal)map.get("type")).intValue() == 6){
|
|
|
map.put("type","元/趟");
|
|
|
}
|
|
|
+// if (material!=null &&
|
|
|
+// material.contains("、") &&
|
|
|
+// material.equals(materialNames)) {
|
|
|
+// List<Map<String, Object>> newMapList=new ArrayList<>();
|
|
|
+// newMapList.add(map);
|
|
|
+// return newMapList;
|
|
|
+// }
|
|
|
}
|
|
|
return mapList;
|
|
|
}
|