|
@@ -14,6 +14,7 @@
|
|
|
<result column="musical_num_" property="musicalNum" />
|
|
|
<result column="total_amount_" property="totalAmount" />
|
|
|
<result column="payment_status_" property="paymentStatus" />
|
|
|
+ <result column="credentials_" property="credentials" />
|
|
|
<result column="payment_no_" property="paymentNo" />
|
|
|
<result column="memo_" property="memo" />
|
|
|
<result column="credentials_" property="credentials" />
|
|
@@ -49,16 +50,19 @@
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.CooperationShareProfit">
|
|
|
UPDATE cooperation_share_profit <set>
|
|
|
+ <if test="credentials != null and credentials != ''">
|
|
|
+ credentials_ = #{credentials},
|
|
|
+ </if>
|
|
|
<if test="paymentNo != null">
|
|
|
- payment_no_ = #{paymentNo},
|
|
|
+ payment_no_ = #{paymentNo},
|
|
|
</if>
|
|
|
<if test="paymentStatus != null">
|
|
|
- payment_status_ = #{paymentStatus},
|
|
|
+ payment_status_ = #{paymentStatus},
|
|
|
</if>
|
|
|
<if test="memo != null">
|
|
|
- memo_ = #{memo},
|
|
|
+ memo_ = #{memo},
|
|
|
</if>
|
|
|
- update_time_ = NOW()
|
|
|
+ update_time_ = NOW()
|
|
|
</set> WHERE id_ = #{id}
|
|
|
</update>
|
|
|
|