全量同步/批量下发/定时任务域名相关自定义处理BUG更改
This commit is contained in:
@@ -1144,6 +1144,32 @@
|
||||
</if> -->
|
||||
</where>
|
||||
</select>
|
||||
<select id="getCompileIdWithKeyword" resultType="com.nis.domain.configuration.BaseStringCfg" >
|
||||
SELECT
|
||||
a.compile_id compileId,
|
||||
<if test="tableName == 'app_domain_cfg'">
|
||||
a.domain cfgKeywords
|
||||
</if>
|
||||
<if test="tableName != 'app_domain_cfg'">
|
||||
a.cfg_keywords cfgKeywords
|
||||
</if>
|
||||
FROM ${tableName} a
|
||||
<where>
|
||||
and a.compile_id in
|
||||
<foreach collection="compileIds" index="index" item="compileId" open="(" separator="," close=")">
|
||||
#{compileId}
|
||||
</foreach>
|
||||
<!-- <if test="compileId != null">
|
||||
AND a.compile_id =#{compileId}
|
||||
</if>
|
||||
<if test="functionId != null">
|
||||
AND a.function_id =#{functionId}
|
||||
</if>
|
||||
<if test="serviceId!= null">
|
||||
AND a.service_id =#{serviceId}
|
||||
</if> -->
|
||||
</where>
|
||||
</select>
|
||||
<select id="getComplexStrList" resultMap="complexCfgMap" parameterType="com.nis.domain.configuration.CfgIndexInfo">
|
||||
SELECT
|
||||
<include refid="ComplexCfg_Column" />
|
||||
|
||||
Reference in New Issue
Block a user