|
|
@@ -446,12 +446,12 @@ public class GxtRepairOrderServiceImpl implements IGxtRepairOrderService
|
|
|
repairOrderPerson.setOrderId(gxtRepairOrder.getId());
|
|
|
List<GxtRepairOrderPerson> repairOrderPersonList = gxtRepairOrderPersonMapper.selectGxtRepairOrderPersonList(repairOrderPerson);
|
|
|
|
|
|
- // 检查列表中是否有任何GxtRepairOrderPerson的selfScore或者score有数据
|
|
|
- for (GxtRepairOrderPerson person : repairOrderPersonList) {
|
|
|
- if (person.getSelfScore() != null || person.getScore() != null) {
|
|
|
- throw new ServiceException("工单中存在工分数据,无法进行作废操作");
|
|
|
- }
|
|
|
- }
|
|
|
+// // 检查列表中是否有任何GxtRepairOrderPerson的selfScore或者score有数据
|
|
|
+// for (GxtRepairOrderPerson person : repairOrderPersonList) {
|
|
|
+// if (person.getSelfScore() != null || person.getScore() != null) {
|
|
|
+// throw new ServiceException("工单中存在工分数据,无法进行作废操作");
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
String nickName = SecurityUtils.getLoginUser().getUser().getNickName();
|
|
|
GxtRepairOrder oldOrder = gxtRepairOrderMapper.selectGxtRepairOrderById(gxtRepairOrder.getId());
|