查询总数 错误bug
This commit is contained in:
+6
-1
@@ -35,7 +35,12 @@
|
||||
LEFT JOIN ts_user tu ON project_manager = tu.USID
|
||||
WHERE
|
||||
(
|
||||
id NOT IN ( SELECT project_id FROM sar_stand_project_relation )
|
||||
<if test="flag == 1">
|
||||
id NOT IN ( SELECT project_id FROM sar_stand_project_relation )
|
||||
</if>
|
||||
<if test="flag == 2">
|
||||
id IN ( SELECT project_id FROM sar_stand_project_relation )
|
||||
</if>
|
||||
<if test="qu != null">
|
||||
<if test="qu.projectNumber != null">
|
||||
AND project_number LIKE concat(concat('%',#{qu.projectNumber}),'%')
|
||||
|
||||
Reference in New Issue
Block a user