|
@@ -18,10 +18,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="createTime" column="create_time" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="failMsg" column="fail_msg" />
|
|
|
+ <result property="parcelQuantity" column="parcel_quantity" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsStoreOrderDfVo">
|
|
|
- select order_id, order_code, app_key, app_secret, login_account, monthly_card, express_product_code,total_price, platform_price, status, create_time, update_time,fail_msg from fs_store_order_df
|
|
|
+ select order_id, order_code, app_key, app_secret, login_account, monthly_card, express_product_code,total_price,
|
|
|
+ platform_price, status, create_time, update_time,fail_msg ,parcel_quantity from fs_store_order_df
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsStoreOrderDfList" parameterType="FsStoreOrderDf" resultMap="FsStoreOrderDfResult">
|
|
@@ -37,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="platformPrice != null "> and platform_price = #{platformPrice}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="failMsg != null and failMsg != ''"> and fail_msg like concat(#{failMsg},'%')</if>
|
|
|
+ <if test="parcelQuantity != null"> and parcel_quantity = #{parcelQuantity}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -61,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="failMsg != null">fail_msg,</if>
|
|
|
+ <if test="parcelQuantity != null">parcel_quantity,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderId != null">#{orderId},</if>
|
|
@@ -76,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="failMsg != null">#{failMsg},</if>
|
|
|
+ <if test="parcelQuantity != null">#{parcelQuantity},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -94,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
<if test="failMsg != null and failMsg != ''">fail_msg = #{failMsg},</if>
|
|
|
+ <if test="parcelQuantity != null">parcel_quantity = #{parcelQuantity},</if>
|
|
|
</trim>
|
|
|
where order_id = #{orderId}
|
|
|
</update>
|