|
@ -3,7 +3,7 @@ |
|
|
<mapper namespace="com.ccsens.form.persist.mapper.FormModuleConfigOptionMapper"> |
|
|
<mapper namespace="com.ccsens.form.persist.mapper.FormModuleConfigOptionMapper"> |
|
|
<resultMap id="BaseResultMap" type="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
<resultMap id="BaseResultMap" type="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
<id column="id" jdbcType="BIGINT" property="id" /> |
|
|
<result column="form_module_config_id" jdbcType="BIGINT" property="formModuleConfigId" /> |
|
|
<result column="form_module_id" jdbcType="BIGINT" property="formModuleId" /> |
|
|
<result column="parent_id" jdbcType="BIGINT" property="parentId" /> |
|
|
<result column="parent_id" jdbcType="BIGINT" property="parentId" /> |
|
|
<result column="option_key" jdbcType="VARCHAR" property="optionKey" /> |
|
|
<result column="option_key" jdbcType="VARCHAR" property="optionKey" /> |
|
|
<result column="option_value" jdbcType="VARCHAR" property="optionValue" /> |
|
|
<result column="option_value" jdbcType="VARCHAR" property="optionValue" /> |
|
@ -72,8 +72,8 @@ |
|
|
</where> |
|
|
</where> |
|
|
</sql> |
|
|
</sql> |
|
|
<sql id="Base_Column_List"> |
|
|
<sql id="Base_Column_List"> |
|
|
id, form_module_config_id, parent_id, option_key, option_value, sequence, operator, |
|
|
id, form_module_id, parent_id, option_key, option_value, sequence, operator, created_at, |
|
|
created_at, updated_at, rec_status |
|
|
updated_at, rec_status |
|
|
</sql> |
|
|
</sql> |
|
|
<select id="selectByExample" parameterType="com.ccsens.form.bean.po.FormModuleConfigOptionExample" resultMap="BaseResultMap"> |
|
|
<select id="selectByExample" parameterType="com.ccsens.form.bean.po.FormModuleConfigOptionExample" resultMap="BaseResultMap"> |
|
|
select |
|
|
select |
|
@ -106,11 +106,11 @@ |
|
|
</if> |
|
|
</if> |
|
|
</delete> |
|
|
</delete> |
|
|
<insert id="insert" parameterType="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
<insert id="insert" parameterType="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
insert into t_form_module_config_option (id, form_module_config_id, parent_id, |
|
|
insert into t_form_module_config_option (id, form_module_id, parent_id, |
|
|
option_key, option_value, sequence, |
|
|
option_key, option_value, sequence, |
|
|
operator, created_at, updated_at, |
|
|
operator, created_at, updated_at, |
|
|
rec_status) |
|
|
rec_status) |
|
|
values (#{id,jdbcType=BIGINT}, #{formModuleConfigId,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, |
|
|
values (#{id,jdbcType=BIGINT}, #{formModuleId,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT}, |
|
|
#{optionKey,jdbcType=VARCHAR}, #{optionValue,jdbcType=VARCHAR}, #{sequence,jdbcType=INTEGER}, |
|
|
#{optionKey,jdbcType=VARCHAR}, #{optionValue,jdbcType=VARCHAR}, #{sequence,jdbcType=INTEGER}, |
|
|
#{operator,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
#{operator,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|
|
#{recStatus,jdbcType=TINYINT}) |
|
|
#{recStatus,jdbcType=TINYINT}) |
|
@ -121,8 +121,8 @@ |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
id, |
|
|
id, |
|
|
</if> |
|
|
</if> |
|
|
<if test="formModuleConfigId != null"> |
|
|
<if test="formModuleId != null"> |
|
|
form_module_config_id, |
|
|
form_module_id, |
|
|
</if> |
|
|
</if> |
|
|
<if test="parentId != null"> |
|
|
<if test="parentId != null"> |
|
|
parent_id, |
|
|
parent_id, |
|
@ -153,8 +153,8 @@ |
|
|
<if test="id != null"> |
|
|
<if test="id != null"> |
|
|
#{id,jdbcType=BIGINT}, |
|
|
#{id,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="formModuleConfigId != null"> |
|
|
<if test="formModuleId != null"> |
|
|
#{formModuleConfigId,jdbcType=BIGINT}, |
|
|
#{formModuleId,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="parentId != null"> |
|
|
<if test="parentId != null"> |
|
|
#{parentId,jdbcType=BIGINT}, |
|
|
#{parentId,jdbcType=BIGINT}, |
|
@ -194,8 +194,8 @@ |
|
|
<if test="record.id != null"> |
|
|
<if test="record.id != null"> |
|
|
id = #{record.id,jdbcType=BIGINT}, |
|
|
id = #{record.id,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="record.formModuleConfigId != null"> |
|
|
<if test="record.formModuleId != null"> |
|
|
form_module_config_id = #{record.formModuleConfigId,jdbcType=BIGINT}, |
|
|
form_module_id = #{record.formModuleId,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="record.parentId != null"> |
|
|
<if test="record.parentId != null"> |
|
|
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|
|
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|
@ -229,7 +229,7 @@ |
|
|
<update id="updateByExample" parameterType="map"> |
|
|
<update id="updateByExample" parameterType="map"> |
|
|
update t_form_module_config_option |
|
|
update t_form_module_config_option |
|
|
set id = #{record.id,jdbcType=BIGINT}, |
|
|
set id = #{record.id,jdbcType=BIGINT}, |
|
|
form_module_config_id = #{record.formModuleConfigId,jdbcType=BIGINT}, |
|
|
form_module_id = #{record.formModuleId,jdbcType=BIGINT}, |
|
|
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|
|
parent_id = #{record.parentId,jdbcType=BIGINT}, |
|
|
option_key = #{record.optionKey,jdbcType=VARCHAR}, |
|
|
option_key = #{record.optionKey,jdbcType=VARCHAR}, |
|
|
option_value = #{record.optionValue,jdbcType=VARCHAR}, |
|
|
option_value = #{record.optionValue,jdbcType=VARCHAR}, |
|
@ -245,8 +245,8 @@ |
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
update t_form_module_config_option |
|
|
update t_form_module_config_option |
|
|
<set> |
|
|
<set> |
|
|
<if test="formModuleConfigId != null"> |
|
|
<if test="formModuleId != null"> |
|
|
form_module_config_id = #{formModuleConfigId,jdbcType=BIGINT}, |
|
|
form_module_id = #{formModuleId,jdbcType=BIGINT}, |
|
|
</if> |
|
|
</if> |
|
|
<if test="parentId != null"> |
|
|
<if test="parentId != null"> |
|
|
parent_id = #{parentId,jdbcType=BIGINT}, |
|
|
parent_id = #{parentId,jdbcType=BIGINT}, |
|
@ -277,7 +277,7 @@ |
|
|
</update> |
|
|
</update> |
|
|
<update id="updateByPrimaryKey" parameterType="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
<update id="updateByPrimaryKey" parameterType="com.ccsens.form.bean.po.FormModuleConfigOption"> |
|
|
update t_form_module_config_option |
|
|
update t_form_module_config_option |
|
|
set form_module_config_id = #{formModuleConfigId,jdbcType=BIGINT}, |
|
|
set form_module_id = #{formModuleId,jdbcType=BIGINT}, |
|
|
parent_id = #{parentId,jdbcType=BIGINT}, |
|
|
parent_id = #{parentId,jdbcType=BIGINT}, |
|
|
option_key = #{optionKey,jdbcType=VARCHAR}, |
|
|
option_key = #{optionKey,jdbcType=VARCHAR}, |
|
|
option_value = #{optionValue,jdbcType=VARCHAR}, |
|
|
option_value = #{optionValue,jdbcType=VARCHAR}, |
|
|