|
@@ -691,6 +691,12 @@ public class AmsContractTruckPriceServiceImpl implements IAmsContractTruckPriceS
|
|
|
amsContractTransportPrice.setPriceId(priceId);
|
|
|
amsContractTransportPrice.setUpdateTime(new Date());
|
|
|
i = amsContractTruckPriceMapper.updateByPrimaryKeySelective(amsContractTransportPrice);
|
|
|
+
|
|
|
+
|
|
|
+ List<Map<String, Object>> selectwz = amsContractTruckPriceMapper.selectwz(mapValue);
|
|
|
+ if (!selectwz.isEmpty() && mapList.isEmpty()){
|
|
|
+ i = amsContaactPriceMaterialMapper.deletePriceByPriceId(mapValue.get("priceId").toString());
|
|
|
+ }
|
|
|
|
|
|
if (mapList!=null && mapList.size()>0) {
|
|
|
i = amsContaactPriceMaterialMapper.deletePriceByPriceId(mapValue.get("priceId").toString());
|