修改查询到已删除数据问题
This commit is contained in:
parent
ea93d5f209
commit
cde25a64b7
@ -98,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
`rescue_info` ri
|
||||
INNER JOIN rescue_driver_info rdi ON ri.id = rdi.rescue_id AND rdi.driver_accept = '2'
|
||||
WHERE
|
||||
rdi.deleted = '0' and
|
||||
rdi.driver_id =#{driverId} and ri.rescue_status = '2'
|
||||
and ri.driver_id is null
|
||||
ORDER BY rdi.create_time desc
|
||||
|
Loading…
Reference in New Issue
Block a user