Kaynağa Gözat

更新

master
三只松鼠 4 yıl önce
ebeveyn
işleme
3aa68c812c
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

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

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

Yükleniyor…
İptal
Kaydet