daixiantong 4年前
コミット
b6112b6481
2個のファイルの変更5行の追加1行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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) {

読み込み中…
キャンセル
保存