|
@@ -156,7 +156,7 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
- public int insertSelectiveNew(BigDecimal orderId) throws Exception {
|
|
|
+ public synchronized int insertSelectiveNew(BigDecimal orderId) throws Exception {
|
|
|
List<Map<String,Object>> weightTaskResultIdList = bmstruckDetailsOrderMapper.getSteelWeightTaskResultId(orderId);
|
|
|
Map<String,Object> priceMap = getPriceId(orderId);
|
|
|
if (priceMap == null || priceMap.size() == 0) {
|
|
@@ -676,7 +676,7 @@ public class BmstruckDetailsOrderServiceImpl implements IBmstruckDetailsOrderSer
|
|
|
*/
|
|
|
@Transactional
|
|
|
@Override
|
|
|
- public int updateDetailsOrder(Map<String, Object> mapValue) {
|
|
|
+ public synchronized int updateDetailsOrder(Map<String, Object> mapValue) {
|
|
|
BigDecimal orderId = DataChange.dataToBigDecimal(mapValue.get("orderId"));
|
|
|
BigDecimal priceId = DataChange.dataToBigDecimal(mapValue.get("priceId"));
|
|
|
try {
|