申购车摄像头sql
This commit is contained in:
parent
02cad2750c
commit
0f25b9414e
|
@ -104,7 +104,7 @@
|
|||
AND car.user_id = #{userId}
|
||||
AND res.dept_id = #{deptId}
|
||||
AND car.del_flag = 0
|
||||
UNION
|
||||
UNION (
|
||||
SELECT
|
||||
car.id AS "id",
|
||||
res.id AS "resourceId",
|
||||
|
@ -123,8 +123,8 @@
|
|||
AND car.resource_id = res.id
|
||||
AND car.resource_id = 8888888880000000001
|
||||
AND car.user_id = #{userId}
|
||||
AND res.dept_id = #{deptId}
|
||||
AND car.del_flag = 0
|
||||
AND res.dept_id = 1067246875800000066
|
||||
AND car.del_flag = 0)
|
||||
LIMIT ${pageNum}, ${pageSize}
|
||||
</select>
|
||||
|
||||
|
|
Loading…
Reference in New Issue