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