diff --git a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml
index ab2d66ef7450390d2610bf2b3a75dd021703b651..9f6f8f6ee1307b818ae5a0bdc5be2e60bfb8d16c 100644
--- a/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml
+++ b/src/main/java/neatlogic/module/deploy/dao/mapper/DeployAppConfigMapper.xml
@@ -47,9 +47,10 @@ limitations under the License.
- AND IF(
- daca.app_system_id > 0,
- daca.action_type = 'operation'
+ AND
+ (daca.app_system_id is null
+ OR
+ (daca.action_type = 'operation'
AND daca.action IN
('all'
,
@@ -67,8 +68,9 @@ limitations under the License.
#{item}
- ),
- 1 = 1)
+ )
+ )
+ )
@@ -944,7 +946,10 @@ limitations under the License.
- AND daca.action_type = 'operation'
+ AND
+ (daca.app_system_id is null
+ OR
+ (daca.action_type = 'operation'
AND daca.action IN
('all'
,
@@ -963,6 +968,8 @@ limitations under the License.
)
+ )
+ )