1.修改appcfgDao.xml错误

This commit is contained in:
zhanghongqing
2018-08-21 17:49:42 +08:00
parent 81705b18cb
commit c98d319eda
2 changed files with 966 additions and 986 deletions

View File

@@ -28,6 +28,7 @@
<result column="is_hexbin" property="isHexbin" jdbcType="INTEGER" /> <result column="is_hexbin" property="isHexbin" jdbcType="INTEGER" />
<result column="area_effective_ids" property="areaEffectiveIds" jdbcType="VARCHAR" /> <result column="area_effective_ids" property="areaEffectiveIds" jdbcType="VARCHAR" />
<result column="ratelimit" property="ratelimit" jdbcType="INTEGER" /> <result column="ratelimit" property="ratelimit" jdbcType="INTEGER" />
<result column="do_log" property="doLog" jdbcType="INTEGER" />
<result column="function_id" property="functionId" jdbcType="INTEGER" /> <result column="function_id" property="functionId" jdbcType="INTEGER" />
<result column="user_region1" property="userRegion1" jdbcType="VARCHAR" /> <result column="user_region1" property="userRegion1" jdbcType="VARCHAR" />
<result column="user_region2" property="userRegion2" jdbcType="VARCHAR" /> <result column="user_region2" property="userRegion2" jdbcType="VARCHAR" />
@@ -260,6 +261,7 @@
<result column="function_id" property="functionId" jdbcType="INTEGER" /> <result column="function_id" property="functionId" jdbcType="INTEGER" />
</resultMap> </resultMap>
<sql id="AppPolicyCfg_Column" > <sql id="AppPolicyCfg_Column" >
r.CFG_ID, r.APP_CODE,r.BEHAV_CODE,r.SPEC_SERVICE_ID,r.CFG_DESC,r.ACTION,r.IS_VALID,r.IS_AUDIT, r.CFG_ID, r.APP_CODE,r.BEHAV_CODE,r.SPEC_SERVICE_ID,r.CFG_DESC,r.ACTION,r.IS_VALID,r.IS_AUDIT,
r.CREATOR_ID,r.CREATE_TIME,r.EDITOR_ID,r.EDIT_TIME,r.AUDITOR_ID,r.AUDIT_TIME, r.CREATOR_ID,r.CREATE_TIME,r.EDITOR_ID,r.EDIT_TIME,r.AUDITOR_ID,r.AUDIT_TIME,
@@ -412,7 +414,7 @@
WHERE CFG_ID = #{cfgId,jdbcType=BIGINT} WHERE CFG_ID = #{cfgId,jdbcType=BIGINT}
</select> </select>
<select id="findAppPolicyList" resultMap="AppPolicyCfgMap"> <select id="findAppPolicyList" resultMap="AppPolicyCfgMap" parameterType="com.nis.domain.configuration.AppPolicyCfg" >
select select
<include refid="AppPolicyCfg_Column"/> <include refid="AppPolicyCfg_Column"/>
<trim prefix="," prefixOverrides=","> <trim prefix="," prefixOverrides=",">
@@ -525,7 +527,7 @@
</where> </where>
) )
</if> </if>
<if test="(ntcSubscribeIdCfg.cfgKeywords != null and ntcSubscribeIdCfg.cfgKeywords != '') "> <if test="ntcSubscribeIdCfg!= null">
AND r.compile_id in (select f.compile_id from ntc_subscribe_id_cfg f AND r.compile_id in (select f.compile_id from ntc_subscribe_id_cfg f
<where> <where>
<if test="ntcSubscribeIdCfg.cfgKeywords != null and ntcSubscribeIdCfg.cfgKeywords != ''"> <if test="ntcSubscribeIdCfg.cfgKeywords != null and ntcSubscribeIdCfg.cfgKeywords != ''">

File diff suppressed because it is too large Load Diff