|
@@ -692,7 +692,9 @@ public class AmsContractTruckPriceServiceImpl implements IAmsContractTruckPriceS
|
|
|
amsContractTransportPrice.setUpdateTime(new Date());
|
|
|
i = amsContractTruckPriceMapper.updateByPrimaryKeySelective(amsContractTransportPrice);
|
|
|
//把之前的全删了,然后新增
|
|
|
- i = amsContaactPriceMaterialMapper.deletePriceByPriceId(mapValue.get("priceId").toString());
|
|
|
+ if (mapList!=null && mapList.size()>0) {
|
|
|
+ i = amsContaactPriceMaterialMapper.deletePriceByPriceId(mapValue.get("priceId").toString());
|
|
|
+ }
|
|
|
for (Map<String,Object>map:mapList
|
|
|
) {
|
|
|
//新增
|