Commit 683b9cc1 by 吕明尚

套餐增加排序XML

parent 46d3a60d
......@@ -8,6 +8,7 @@
<result property="id" column="id"/>
<result property="name" column="name"/>
<result property="duration" column="duration"/>
<result property="sort" column="sort"/>
<result property="price" column="price"/>
<result property="packaStartPeriod" column="packa_start_period"/>
<result property="packaEndPeriod" column="packa_end_period"/>
......@@ -24,6 +25,7 @@
name,
duration,
price,
sort,
packa_start_period,
packa_end_period,
first_order_available,
......@@ -67,6 +69,7 @@
<if test="packaStartPeriod != null">packa_start_period,</if>
<if test="packaEndPeriod != null">packa_end_period,</if>
<if test="firstOrderAvailable != null">first_order_available,</if>
<if test="sort != null">sort,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
......@@ -80,6 +83,7 @@
<if test="packaStartPeriod != null">#{packaStartPeriod},</if>
<if test="packaEndPeriod != null">#{packaEndPeriod},</if>
<if test="firstOrderAvailable != null">#{firstOrderAvailable},</if>
<if test="sort != null">#{sort},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
......@@ -97,6 +101,7 @@
<if test="packaStartPeriod != null">packa_start_period = #{packaStartPeriod},</if>
<if test="packaEndPeriod != null">packa_end_period = #{packaEndPeriod},</if>
<if test="firstOrderAvailable != null">first_order_available = #{firstOrderAvailable},</if>
<if test="sort != null">sort = #{sort},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment