|
@@ -88,7 +88,7 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public int insertSelective(BigDecimal orderId) throws Exception {
|
|
|
+ public synchronized int insertSelective(BigDecimal orderId) throws Exception {
|
|
|
System.out.println(orderId + "生成计费详单");
|
|
|
List<Map<String,Object>> weightTaskResultIdList = bmstruckDetailsOrderMapper.getSteelWeightTaskResultId(orderId);
|
|
|
Map<String,Object> priceMap = getPriceId(orderId);
|
|
@@ -1078,7 +1078,7 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public int insertPriceValue(List<Map<String, Object>> mapList) {
|
|
|
+ public synchronized int insertPriceValue(List<Map<String, Object>> mapList) {
|
|
|
for (Map<String, Object> map : mapList) {
|
|
|
Integer placeId =(Integer) map.get("placeId");
|
|
|
//根据位置ID去查询是否有单价存在,如果有就跳过
|