|
@@ -15,6 +15,7 @@
|
|
|
<result column="totalFee" property="totalFee"/>
|
|
|
<result column="codeUrl" property="codeUrl"/>
|
|
|
<result column="orderStatus" property="orderStatus"/>
|
|
|
+ <result column="status" property="status"/>
|
|
|
<result column="paymentType" property="paymentType"/>
|
|
|
<result column="productCouponIds" property="productCouponIds"/>
|
|
|
<result column="contract" property="contract"/>
|
|
@@ -57,6 +58,7 @@
|
|
|
<if test="orderStatus != null">
|
|
|
and orderStatus = #{orderStatus}
|
|
|
</if>
|
|
|
+ and status = #{status}
|
|
|
<if test="paymentType != null">
|
|
|
and paymentType = #{paymentType}
|
|
|
</if>
|
|
@@ -90,6 +92,7 @@
|
|
|
<if test="orderStatus != null">
|
|
|
and orderStatus = #{orderStatus}
|
|
|
</if>
|
|
|
+ and status = #{status}
|
|
|
<if test="paymentType != null">
|
|
|
and paymentType = #{paymentType}
|
|
|
</if>
|
|
@@ -123,6 +126,7 @@
|
|
|
<if test="p.orderStatus != null">
|
|
|
and orderStatus = #{p.orderStatus}
|
|
|
</if>
|
|
|
+ and status = #{p.status}
|
|
|
<if test="p.paymentType != null">
|
|
|
and paymentType = #{p.paymentType}
|
|
|
</if>
|
|
@@ -160,6 +164,14 @@
|
|
|
UPDATE workark_orderInfo SET contract = #{contract} WHERE id = #{id}
|
|
|
</update>
|
|
|
|
|
|
+ <update id="updateTotalFee" parameterType="com.bosshand.virgo.api.workark.model.OrderInfo">
|
|
|
+ UPDATE workark_orderInfo SET totalFee=#{totalFee} WHERE id=#{id}
|
|
|
+ </update>
|
|
|
+
|
|
|
+ <update id="updateStatus" parameterType="com.bosshand.virgo.api.workark.model.OrderInfo">
|
|
|
+ UPDATE workark_orderInfo SET status = #{status} WHERE id = #{id}
|
|
|
+ </update>
|
|
|
+
|
|
|
<delete id="delete">
|
|
|
DELETE FROM workark_orderInfo WHERE id = #{id}
|
|
|
</delete>
|