daixiantong 4 lat temu
rodzic
commit
b6112b6481
2 zmienionych plików z 5 dodań i 1 usunięć
  1. +1
    -1
      src/main/java/com/taauav/admin/mapper/TauvInspectDriverMapper.xml
  2. +4
    -0
      src/main/java/com/taauav/front/service/impl/UserInspectQuestionServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/admin/mapper/TauvInspectDriverMapper.xml Wyświetl plik

@@ -100,7 +100,7 @@
LEFT JOIN tauv_driver AS r ON d.`driver_id` = r.`id`
LEFT JOIN sys_city AS c ON d.`driver_area` = c.`id`
LEFT JOIN tauv_equipment AS e ON d.`equipment_id` = e.`id`
WHERE d.`mark` = 1 AND r.`mark` = 1 AND c.`mark` = 1
WHERE d.`mark` = 1 AND r.`mark` = 1
<if test="type != null and type == 1">
AND d.`status` = 4
</if>

+ 4
- 0
src/main/java/com/taauav/front/service/impl/UserInspectQuestionServiceImpl.java Wyświetl plik

@@ -269,6 +269,8 @@ public class UserInspectQuestionServiceImpl extends BaseServiceImpl<UserInspectQ
}
entity.setStatus(3);
entity.setNote(inspectQuestionFinishedDto.getNote());
entity.setHandlerUser(ShiroUtils.getAdminId());
entity.setHandlerTime(DateUtil.now());
result = this.editData(entity);
}
} else {
@@ -278,6 +280,8 @@ public class UserInspectQuestionServiceImpl extends BaseServiceImpl<UserInspectQ
}
entity.setStatus(3);
entity.setNote(inspectQuestionFinishedDto.getNote());
entity.setHandlerUser(ShiroUtils.getAdminId());
entity.setHandlerTime(DateUtil.now());
result = this.editData(entity);
}
if (!result) {

Ładowanie…
Anuluj
Zapisz