|
@@ -114,7 +114,7 @@ public class QmsQueueListServiceImpl implements IQmsQueueListService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Transactional
|
|
|
- public int addQueueList(BigDecimal resultId){
|
|
|
+ public synchronized int addQueueList(BigDecimal resultId){
|
|
|
//通过订单查询有几种物资
|
|
|
Map<String, Object> mesMap = qmsQueueListMapper.getMaterialNumByOrderId(resultId);
|
|
|
int materialNum = DataChange.dataToBigDecimal(mesMap.get("materialNum")).intValue();
|