。。。
This commit is contained in:
parent
e8d2ea9df7
commit
c94f0513b4
|
@ -383,7 +383,7 @@
|
||||||
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
||||||
</if>
|
</if>
|
||||||
<if test = "params.resourceType != null and params.resourceType != ''" >
|
<if test = "params.resourceType != null and params.resourceType != ''" >
|
||||||
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
@ -452,7 +452,7 @@
|
||||||
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
||||||
</if>
|
</if>
|
||||||
<if test = "params.resourceType != null and params.resourceType != ''" >
|
<if test = "params.resourceType != null and params.resourceType != ''" >
|
||||||
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
@ -519,7 +519,7 @@
|
||||||
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
||||||
</if>
|
</if>
|
||||||
<if test = "params.resourceType != null and params.resourceType != ''" >
|
<if test = "params.resourceType != null and params.resourceType != ''" >
|
||||||
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
@ -587,7 +587,7 @@
|
||||||
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
|
||||||
</if>
|
</if>
|
||||||
<if test = "params.resourceType != null and params.resourceType != ''" >
|
<if test = "params.resourceType != null and params.resourceType != ''" >
|
||||||
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
Loading…
Reference in New Issue