|
@@ -297,16 +297,19 @@ public class TmstruckEnfactoryResultServiceImpl implements ITmstruckEnfactoryRes
|
|
|
if(checkMeasureCommission == 1 && DataChange.dataToBigDecimal(map.get("orderType")).intValue() == 1){
|
|
|
//查询是否拼装
|
|
|
Map<String, Object> isSpellingMap = tmstruckEnfactoryResultMapper.getSteelIsSpelling(resultTotalId);
|
|
|
- int isSpelling = DataChange.dataToBigDecimal(isSpellingMap.get("isSpelling")).intValue();
|
|
|
- if(isSpelling == 1){
|
|
|
- //拼装移出队列
|
|
|
- tmstruckEnfactoryResultMapper.deleteQQSL(isSpellingMap.get("listId"));
|
|
|
- }else {
|
|
|
- //单拼移出队列
|
|
|
- tmstruckEnfactoryResultMapper.deleteQQL(isSpellingMap.get("listId"));
|
|
|
+ if (isSpellingMap != null) {
|
|
|
+ int isSpelling = DataChange.dataToBigDecimal(isSpellingMap.get("isSpelling")).intValue();
|
|
|
+ if(isSpelling == 1){
|
|
|
+ //拼装移出队列
|
|
|
+ tmstruckEnfactoryResultMapper.deleteQQSL(isSpellingMap.get("listId"));
|
|
|
+ }else {
|
|
|
+ //单拼移出队列
|
|
|
+ tmstruckEnfactoryResultMapper.deleteQQL(isSpellingMap.get("listId"));
|
|
|
+ }
|
|
|
+ //修改排队实绩表
|
|
|
+ tmstruckEnfactoryResultMapper.updateQQR(isSpellingMap.get("resultId"));
|
|
|
}
|
|
|
- //修改排队实绩表
|
|
|
- tmstruckEnfactoryResultMapper.updateQQR(isSpellingMap.get("resultId"));
|
|
|
+
|
|
|
}
|
|
|
return checkMeasureCommission;
|
|
|
}
|