|
@@ -95,6 +95,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<!--<result property="orderMedium" column="order_medium" />-->
|
|
<!--<result property="orderMedium" column="order_medium" />-->
|
|
|
<result property="tagNames" column="tag_names" />
|
|
<result property="tagNames" column="tag_names" />
|
|
|
<result property="erpType" column="erp_type" />
|
|
<result property="erpType" column="erp_type" />
|
|
|
|
|
+ <result property="appRewardFlag" column="app_reward_flag" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsStoreOrderVo">
|
|
<sql id="selectFsStoreOrderVo">
|
|
@@ -109,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
company_id,company_user_id,is_package,package_json,item_json,order_type,package_id,finish_time,delivery_status,
|
|
company_id,company_user_id,is_package,package_json,item_json,order_type,package_id,finish_time,delivery_status,
|
|
|
delivery_pay_status,delivery_time,delivery_pay_time,delivery_pay_money,tui_money,tui_money_status,delivery_import_time,
|
|
delivery_pay_status,delivery_time,delivery_pay_time,delivery_pay_money,tui_money,tui_money_status,delivery_import_time,
|
|
|
tui_user_id,tui_user_money_status,order_create_type,store_house_code,dept_id,is_edit_money,customer_id,is_pay_remain,
|
|
tui_user_id,tui_user_money_status,order_create_type,store_house_code,dept_id,is_edit_money,customer_id,is_pay_remain,
|
|
|
- delivery_send_time,certificates,schedule_id,div_amount, div_huifu_id,zyy_div_amount,zyy_huifu_id,tag_names,erp_type from fs_store_order_scrm
|
|
|
|
|
|
|
+ delivery_send_time,certificates,schedule_id,div_amount, div_huifu_id,zyy_div_amount,zyy_huifu_id,tag_names,erp_type,app_reward_flag from fs_store_order_scrm
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsStoreOrderList" parameterType="FsStoreOrderScrm" resultMap="FsStoreOrderResult">
|
|
<select id="selectFsStoreOrderList" parameterType="FsStoreOrderScrm" resultMap="FsStoreOrderResult">
|
|
@@ -169,6 +170,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="deliveryPayStatus != null "> and delivery_pay_status = #{deliveryPayStatus}</if>
|
|
<if test="deliveryPayStatus != null "> and delivery_pay_status = #{deliveryPayStatus}</if>
|
|
|
<if test="deliveryTime != null "> and delivery_time = #{deliveryTime}</if>
|
|
<if test="deliveryTime != null "> and delivery_time = #{deliveryTime}</if>
|
|
|
<if test="deliveryImportTime != null "> and delivery_import_time = #{deliveryImportTime}</if>
|
|
<if test="deliveryImportTime != null "> and delivery_import_time = #{deliveryImportTime}</if>
|
|
|
|
|
+ <if test="appRewardFlag != null "> and app_reward_flag = #{appRewardFlag}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -271,6 +273,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="zyyHuifuId != null">zyy_huifu_id,</if>
|
|
<if test="zyyHuifuId != null">zyy_huifu_id,</if>
|
|
|
<if test="tagNames != null">tag_names,</if>
|
|
<if test="tagNames != null">tag_names,</if>
|
|
|
<if test="erpType != null">erp_type,</if>
|
|
<if test="erpType != null">erp_type,</if>
|
|
|
|
|
+ <if test="appRewardFlag != null">app_reward_flag,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderCode != null and orderCode != ''">#{orderCode},</if>
|
|
<if test="orderCode != null and orderCode != ''">#{orderCode},</if>
|
|
@@ -363,6 +366,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="cycle != null">#{cycle},</if>
|
|
<if test="cycle != null">#{cycle},</if>
|
|
|
<if test="tagNames != null">#{tagNames},</if>
|
|
<if test="tagNames != null">#{tagNames},</if>
|
|
|
<if test="erpType != null">#{erpType},</if>
|
|
<if test="erpType != null">#{erpType},</if>
|
|
|
|
|
+ <if test="appRewardFlag != null">#{appRewardFlag},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -462,6 +466,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="zyyDivAmount != null and zyyDivAmount != ''">zyy_div_amount = #{zyyDivAmount},</if>
|
|
<if test="zyyDivAmount != null and zyyDivAmount != ''">zyy_div_amount = #{zyyDivAmount},</if>
|
|
|
<if test="tagNames != null and tagNames != ''">tag_names = #{tagNames},</if>
|
|
<if test="tagNames != null and tagNames != ''">tag_names = #{tagNames},</if>
|
|
|
<if test="erpType != null and erpType != ''">erp_type = #{erpType},</if>
|
|
<if test="erpType != null and erpType != ''">erp_type = #{erpType},</if>
|
|
|
|
|
+ <if test="appRewardFlag != null and appRewardFlag != ''">app_reward_flag = #{appRewardFlag},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|