|
@@ -5,6 +5,7 @@
|
|
|
<!--@Table sys_payment_config-->
|
|
|
<id column="id_" jdbcType="INTEGER" property="id"/>
|
|
|
<result column="organ_id_" jdbcType="INTEGER" property="organId"/>
|
|
|
+ <result column="type_" jdbcType="INTEGER" property="type"/>
|
|
|
<result column="organ_name" jdbcType="VARCHAR" property="organName"/>
|
|
|
<result column="per_scale_" jdbcType="INTEGER" property="perScale"/>
|
|
|
<result column="com_scale_" jdbcType="INTEGER" property="comScale"/>
|
|
@@ -17,7 +18,7 @@
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
|
<!--@mbg.generated-->
|
|
|
- id_, organ_id_, per_scale_, com_scale_, course_fee_, instrument_fee_, accessories_fee_,
|
|
|
+ id_, organ_id_,type_, per_scale_, com_scale_, course_fee_, instrument_fee_, accessories_fee_,
|
|
|
other_fee_, create_time_, update_time_
|
|
|
</sql>
|
|
|
<select id="get" parameterType="java.lang.Integer" resultMap="SysPaymentConfig">
|
|
@@ -36,6 +37,9 @@
|
|
|
<!--@mbg.generated-->
|
|
|
insert into sys_payment_config
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="type != null">
|
|
|
+ type_,
|
|
|
+ </if>
|
|
|
<if test="organId != null">
|
|
|
organ_id_,
|
|
|
</if>
|
|
@@ -65,6 +69,9 @@
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="type != null">
|
|
|
+ #{type,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="organId != null">
|
|
|
#{organId,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -98,6 +105,9 @@
|
|
|
<!--@mbg.generated-->
|
|
|
update sys_payment_config
|
|
|
<set>
|
|
|
+ <if test="type != null">
|
|
|
+ type_ = #{organId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="organId != null">
|
|
|
organ_id_ = #{organId,jdbcType=INTEGER},
|
|
|
</if>
|