修改字符串配置编译ID
修改更新sql
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user