1.修改APP特征列表查询条件 2.修改配置导出action列title
This commit is contained in:
@@ -72,7 +72,7 @@ public class BaseCfg<T> extends BaseEntity<T> implements Cloneable{
|
||||
* GK类型
|
||||
*/
|
||||
@Expose
|
||||
@ExcelField(title="action",dictType="SERVICE_ACTION",sort=2)
|
||||
@ExcelField(title="block_type",dictType="SERVICE_ACTION",sort=2)
|
||||
protected Integer action;
|
||||
/**
|
||||
* 有效标识
|
||||
|
||||
@@ -982,7 +982,7 @@
|
||||
AND r.CFG_TYPE like concat(concat('%',#{cfgType,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="cfgKeywords != null and cfgKeywords != ''">
|
||||
AND r.CFG_KEYWORDS like concat(concat('%',#{cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
AND REPLACE(r.CFG_KEYWORDS,'***and***','|') like concat(concat('%',#{cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="district != null and district != ''">
|
||||
AND r.DISTRICT =#{district,jdbcType=VARCHAR}
|
||||
@@ -1481,7 +1481,7 @@
|
||||
AND r.CFG_TYPE like concat(concat('%',#{cfgType,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="cfgKeywords != null and cfgKeywords != ''">
|
||||
AND r.CFG_KEYWORDS like concat(concat('%',#{cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
AND REPLACE(r.CFG_KEYWORDS,'***and***','|') like concat(concat('%',#{cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="district != null and district != ''">
|
||||
AND r.DISTRICT =#{district,jdbcType=VARCHAR}
|
||||
|
||||
@@ -271,27 +271,30 @@
|
||||
AND r.AREA_EFFECTIVE_IDS like concat(concat('%',#{areaEffectiveIds,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="complexStrCfg!=null">
|
||||
AND a.compile_id in (select f.compile_id from app_complex_feature_cfg f
|
||||
AND r.compile_id in (select f.compile_id from app_complex_feature_cfg f
|
||||
<where>
|
||||
<if test="complexStrCfg.cfgKeywords != null and complexStrCfg.cfgKeywords != ''">
|
||||
and f.cfg_keywords like concat(concat('%',#{complexStrCfg.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
REPLACE(f.cfg_keywords ,'***and***','|') like concat(concat('%',#{complexStrCfg.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="complexStrCfg.district != null and complexStrCfg.district != ''">
|
||||
and f.district like concat(concat('%',#{complexStrCfg.district,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
</where>
|
||||
</where>
|
||||
)
|
||||
</if>
|
||||
<if test="strCfg!=null">
|
||||
AND a.compile_id in (select f.compile_id from app_string_feature_cfg f
|
||||
AND r.compile_id in (select f.compile_id from app_string_feature_cfg f
|
||||
<where>
|
||||
<if test="strCfg.cfgKeywords != null and strCfg.cfgKeywords != ''">
|
||||
and f.cfg_keywords like concat(concat('%',#{strCfg.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
REPLACE(f.cfg_keywords ,'***and***','|') like concat(concat('%',#{strCfg.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
<if test="strCfg.district != null and strCfg.district != ''">
|
||||
and f.district like concat(concat('%',#{strCfg.district,jdbcType=VARCHAR}),'%')
|
||||
</where>
|
||||
)
|
||||
</if>
|
||||
<if test="ipCfg!=null">
|
||||
AND r.compile_id in (select f.compile_id from app_ip_range_cfg f
|
||||
<where>
|
||||
<if test="ipCfg.destIpAddress != null and ipCfg.destIpAddress != ''">
|
||||
f.dest_ip_address = #{ipCfg.destIpAddress,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</where>
|
||||
</where>
|
||||
)
|
||||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
|
||||
Reference in New Issue
Block a user