修改字符串配置编译ID

修改更新sql
This commit is contained in:
wangxin
2018-02-26 13:53:37 +08:00
parent 0da7f0b5fa
commit f83f0a7a16
2 changed files with 107 additions and 91 deletions

View File

@@ -45,7 +45,7 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
/**
* 编译id
*/
protected Integer compile_id ;
protected Long compileId ;
/**
* 表达式类型
*/
@@ -109,5 +109,19 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
super.initDefaultValue();
this.isHexbin = 0;
}
/**
* compile_id
* @return compile_id
*/
public Long getCompileId() {
return compileId;
}
/**
* @param compile_id the compile_id to set
*/
public void setCompileId(Long compileId) {
this.compileId = compileId;
}
}

View File

@@ -399,6 +399,7 @@
<update id="updateByPrimaryKeySelective" parameterType="com.nis.domain.configuration.BaseIpCfg" >
update ${tableName}
<set >
<trim suffixOverrides=",">
<if test="cfgDesc != null" >
cfg_desc = #{cfgDesc,jdbcType=VARCHAR},
</if>
@@ -489,6 +490,7 @@
<if test="areaEffectiveIds != null" >
area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}
</if>
</trim>
</set>
where cfg_id = #{cfgId,jdbcType=BIGINT}
</update>