1
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.jarvis.mapper.OrderRowsMapper">
|
||||
|
||||
<resultMap type="OrderRows" id="OrderRowsResult">
|
||||
<result property="id" column="id"/>
|
||||
<result property="orderId" column="order_id"/>
|
||||
@@ -271,4 +270,38 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="cid1 != null">cid1 = #{cid1},</if>
|
||||
<if test="cid2 != null">cid2 = #{cid2},</if>
|
||||
<if test="cid3 != null">cid3 = #{cid3},</if>
|
||||
<if
|
||||
<if test="subUnionId != null and subUnionId != ''">sub_union_id = #{subUnionId},</if>
|
||||
<if test="unionTag != null and unionTag != ''">union_tag = #{unionTag},</if>
|
||||
<if test="popId != null">pop_id = #{popId},</if>
|
||||
<if test="ext1 != null and ext1 != ''">ext1 = #{ext1},</if>
|
||||
<if test="payMonth != null and payMonth != ''">pay_month = #{payMonth},</if>
|
||||
<if test="cpActId != null">cp_act_id = #{cpActId},</if>
|
||||
<if test="unionRole != null">union_role = #{unionRole},</if>
|
||||
<if test="giftCouponOcsAmount != null">gift_coupon_ocs_amount = #{giftCouponOcsAmount},</if>
|
||||
<if test="giftCouponKey != null and giftCouponKey != ''">gift_coupon_key = #{giftCouponKey},</if>
|
||||
<if test="balanceExt != null and balanceExt != ''">balance_ext = #{balanceExt},</if>
|
||||
<if test="sign != null and sign != ''">sign = #{sign},</if>
|
||||
<if test="proPriceAmount != null">pro_price_amount = #{proPriceAmount},</if>
|
||||
<if test="rid != null">rid = #{rid},</if>
|
||||
<if test="goodsInfoId != null">goods_info_id = #{goodsInfoId},</if>
|
||||
<if test="expressStatus != null">express_status = #{expressStatus},</if>
|
||||
<if test="channelId != null">channel_id = #{channelId},</if>
|
||||
<if test="skuTag != null and skuTag != ''">sku_tag = #{skuTag},</if>
|
||||
<if test="itemId != null and itemId != ''">item_id = #{itemId},</if>
|
||||
<if test="callerItemId != null and callerItemId != ''">caller_item_id = #{callerItemId},</if>
|
||||
<if test="orderTag != null and orderTag != ''">order_tag = #{orderTag},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deleteOrderRowsById" parameterType="String">
|
||||
delete from order_rows where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deleteOrderRowsByIds" parameterType="String">
|
||||
delete from order_rows where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user