修改字符串配置编译ID
修改更新sql
This commit is contained in:
@@ -45,7 +45,7 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
|||||||
/**
|
/**
|
||||||
* 编译id
|
* 编译id
|
||||||
*/
|
*/
|
||||||
protected Integer compile_id ;
|
protected Long compileId ;
|
||||||
/**
|
/**
|
||||||
* 表达式类型
|
* 表达式类型
|
||||||
*/
|
*/
|
||||||
@@ -109,5 +109,19 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
|||||||
super.initDefaultValue();
|
super.initDefaultValue();
|
||||||
this.isHexbin = 0;
|
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 id="updateByPrimaryKeySelective" parameterType="com.nis.domain.configuration.BaseIpCfg" >
|
||||||
update ${tableName}
|
update ${tableName}
|
||||||
<set >
|
<set >
|
||||||
|
<trim suffixOverrides=",">
|
||||||
<if test="cfgDesc != null" >
|
<if test="cfgDesc != null" >
|
||||||
cfg_desc = #{cfgDesc,jdbcType=VARCHAR},
|
cfg_desc = #{cfgDesc,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
@@ -489,6 +490,7 @@
|
|||||||
<if test="areaEffectiveIds != null" >
|
<if test="areaEffectiveIds != null" >
|
||||||
area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}
|
area_effective_ids = #{areaEffectiveIds,jdbcType=VARCHAR}
|
||||||
</if>
|
</if>
|
||||||
|
</trim>
|
||||||
</set>
|
</set>
|
||||||
where cfg_id = #{cfgId,jdbcType=BIGINT}
|
where cfg_id = #{cfgId,jdbcType=BIGINT}
|
||||||
</update>
|
</update>
|
||||||
|
|||||||
Reference in New Issue
Block a user