补充上一版本
This commit is contained in:
committed by
zhaokaiyao@91isoft.com
parent
4478fecf73
commit
995891757d
+4
-4
@@ -61,10 +61,10 @@
|
|||||||
WHERE
|
WHERE
|
||||||
|
|
||||||
<if test="flag == 1">
|
<if test="flag == 1">
|
||||||
library.id NOT IN ( SELECT project_id FROM sar_stand_project_relation )
|
library.id NOT IN ( SELECT DISTINCT project_id FROM sar_stand_project_relation WHERE project_id is NOT NULL )
|
||||||
</if>
|
</if>
|
||||||
<if test="flag == 2">
|
<if test="flag == 2">
|
||||||
library.id IN ( SELECT project_id FROM sar_stand_project_relation )
|
library.id IN ( SELECT DISTINCT project_id FROM sar_stand_project_relation WHERE project_id is NOT NULL )
|
||||||
</if>
|
</if>
|
||||||
<if test="flag == 4">
|
<if test="flag == 4">
|
||||||
1=1
|
1=1
|
||||||
@@ -185,10 +185,10 @@
|
|||||||
ON team.project_code = library.project_number
|
ON team.project_code = library.project_number
|
||||||
WHERE
|
WHERE
|
||||||
<if test="flag == 1">
|
<if test="flag == 1">
|
||||||
library.id NOT IN ( SELECT project_id FROM sar_stand_project_relation )
|
library.id NOT IN ( SELECT DISTINCT project_id FROM sar_stand_project_relation WHERE project_id is NOT NULL )
|
||||||
</if>
|
</if>
|
||||||
<if test="flag == 2">
|
<if test="flag == 2">
|
||||||
library.id IN ( SELECT project_id FROM sar_stand_project_relation )
|
library.id IN ( SELECT DISTINCT project_id FROM sar_stand_project_relation WHERE project_id is NOT NULL )
|
||||||
</if>
|
</if>
|
||||||
<if test="flag == 4">
|
<if test="flag == 4">
|
||||||
1=1
|
1=1
|
||||||
|
|||||||
Reference in New Issue
Block a user