Browse Source

扣分修改

ouyj 2 weeks ago
parent
commit
99bd07deed

+ 2 - 2
ygtx-gxt/src/main/java/com/ygtx/gxt/task/EquipmentSafeOperationRewardTask.java

@@ -1277,7 +1277,7 @@ public class EquipmentSafeOperationRewardTask {
             // 更新月度统计数据
             updateMonthlyScoreDataForStopScore(repairOrder, perPersonDeduction, currentTime);
                 
-        } else if (overStopStatus == 1) {
+        }/* else if (overStopStatus == 1) {
             // 当维修工单 overStopStatus 为 1 时,表示已超停但没有真实工作人员,使用虚拟扣分
             // 虚拟扣分过程实现:只添加明细记录,不实际更新人员得分
             log.debug("待结单维修工单 {} overStopStatus 为 1,使用虚拟扣分", repairOrder.getWorkOrderProjectNo());
@@ -1287,7 +1287,7 @@ public class EquipmentSafeOperationRewardTask {
                     
             // 添加虚拟扣分明细记录(状态为 1,表示挂起)
             addOrderScoreDetailsForStopScoreRepairNotCompllete(repairOrder, virtualPersons, deductionScore, 3); // 3 代表停机扣分
-        }
+        }*/
     }
 
     /**