From 0f25b9414e7ee0c56bf325b6c0bfb677efa96fb5 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 4 Jul 2022 17:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B3=E8=B4=AD=E8=BD=A6=E6=91=84=E5=83=8F?= =?UTF-8?q?=E5=A4=B4sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/resourceCar/ResourceCarDao.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/renren-admin/src/main/resources/mapper/resourceCar/ResourceCarDao.xml b/renren-admin/src/main/resources/mapper/resourceCar/ResourceCarDao.xml index 27707402..7c061865 100644 --- a/renren-admin/src/main/resources/mapper/resourceCar/ResourceCarDao.xml +++ b/renren-admin/src/main/resources/mapper/resourceCar/ResourceCarDao.xml @@ -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}