|  |  |  | 
|---|
|  |  |  | <result property="sealCount" column="seal_count"/> | 
|---|
|  |  |  | <result property="stockCode" column="stock_code"/> | 
|---|
|  |  |  | <result property="shopId" column="shop_id"/> | 
|---|
|  |  |  | <result property="selfPrice" column="self_price"/> | 
|---|
|  |  |  | <result property="sealesPrice" column="seales_price"/> | 
|---|
|  |  |  | <result property="invitationPrice" column="invitation_price"/> | 
|---|
|  |  |  | <result property="scorePrice" column="score_price"/> | 
|---|
|  |  |  | 
|---|
|  |  |  | <result property="sealCount" column="seal_count"/> | 
|---|
|  |  |  | <result property="stockCode" column="stock_code"/> | 
|---|
|  |  |  | <result property="shopId" column="shop_id"/> | 
|---|
|  |  |  | <result property="selfPrice" column="self_price"/> | 
|---|
|  |  |  | <result property="sealesPrice" column="seales_price"/> | 
|---|
|  |  |  | <result property="invitationPrice" column="invitation_price"/> | 
|---|
|  |  |  | <result property="scorePrice" column="score_price"/> | 
|---|
|  |  |  | 
|---|
|  |  |  | seal_count, | 
|---|
|  |  |  | stock_code, | 
|---|
|  |  |  | shop_id, | 
|---|
|  |  |  | self_price, | 
|---|
|  |  |  | seales_price, | 
|---|
|  |  |  | invitation_price, | 
|---|
|  |  |  | score_price, | 
|---|
|  |  |  | 
|---|
|  |  |  | #{item.sealCount}, | 
|---|
|  |  |  | #{item.stockCode}, | 
|---|
|  |  |  | #{item.shopId}, | 
|---|
|  |  |  | #{item.selfPrice}, | 
|---|
|  |  |  | #{item.sealesPrice}, | 
|---|
|  |  |  | #{item.invitationPrice}, | 
|---|
|  |  |  | #{item.scorePrice}, | 
|---|
|  |  |  | 
|---|
|  |  |  | score_count = #{scoreCount}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <if test="_parameter.containsKey('selfPrice')"> | 
|---|
|  |  |  | self_price = #{selfPrice}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </set> | 
|---|
|  |  |  | WHERE id=#{id} | 
|---|
|  |  |  | 
|---|
|  |  |  | score_count = #{record.scoreCount}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <if test="record.selfPrice != null "> | 
|---|
|  |  |  | self_price = #{record.selfPrice}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </set> | 
|---|
|  |  |  | WHERE id=#{record.id} | 
|---|