三只松鼠 pirms 4 gadiem
vecāks
revīzija
3aa68c812c
2 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      src/main/java/com/taauav/app/mapper/InspectAppMapper.xml
  2. +1
    -0
      src/main/java/com/taauav/app/mapper/InspectQuestionMapper.xml

+ 2
- 2
src/main/java/com/taauav/app/mapper/InspectAppMapper.xml Parādīt failu

@@ -8,7 +8,7 @@
INNER JOIN tauv_inspect_driver AS i ON i.inspect_id=a.id
INNER JOIN tauv_driver AS d ON a.driver_id=d.id
INNER JOIN user_admin AS u ON a.create_user=u.id
WHERE a.mark=1 AND d.mark=1 AND u.mark=1
WHERE a.mark=1 AND i.mark=1 AND d.mark=1 AND u.mark=1
ORDER BY a.id DESC
</select>

@@ -18,7 +18,7 @@
INNER JOIN tauv_inspect_driver AS i ON i.inspect_id=a.id
INNER JOIN tauv_driver AS d ON a.driver_id=d.id
INNER JOIN user_admin AS u ON a.create_user=u.id
WHERE a.id=#{inspectId} AND a.mark=1 AND d.mark=1 AND u.mark=1
WHERE a.id=#{inspectId} AND a.mark=1 AND i.mark=1 AND d.mark=1 AND u.mark=1
</select>

</mapper>

+ 1
- 0
src/main/java/com/taauav/app/mapper/InspectQuestionMapper.xml Parādīt failu

@@ -17,6 +17,7 @@
<if test="param.status != null and param.status > 0">
AND q.`status`=#{param.status}
</if>
ORDER BY q.id DESC
</select>

<!-- 获取问题详情 -->

Notiek ielāde…
Atcelt
Saglabāt