|
|
@@ -97,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="erpType" column="erp_type" />
|
|
|
<result property="appRewardFlag" column="app_reward_flag" />
|
|
|
<result property="companyCustomerId" column="company_customer_id" />
|
|
|
+ <result property="handleCollectionId" column="handle_collection_id" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsStoreOrderVo">
|
|
|
@@ -111,7 +112,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,
|
|
|
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,
|
|
|
- delivery_send_time,certificates,schedule_id,div_amount, div_huifu_id,zyy_div_amount,zyy_huifu_id,tag_names,erp_type,app_reward_flag,company_customer_id 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,company_customer_id,handle_collection_id from fs_store_order_scrm
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectFsStoreOrderList" parameterType="FsStoreOrderScrm" resultMap="FsStoreOrderResult">
|
|
|
@@ -172,6 +173,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="deliveryTime != null "> and delivery_time = #{deliveryTime}</if>
|
|
|
<if test="deliveryImportTime != null "> and delivery_import_time = #{deliveryImportTime}</if>
|
|
|
<if test="appRewardFlag != null "> and app_reward_flag = #{appRewardFlag}</if>
|
|
|
+ <if test="handleCollectionId != null "> and handle_collection_id = #{handleCollectionId}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -276,6 +278,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="erpType != null">erp_type,</if>
|
|
|
<if test="appRewardFlag != null">app_reward_flag,</if>
|
|
|
<if test="companyCustomerId != null"> company_customer_id,</if>
|
|
|
+ <if test="handleCollectionId != null"> handle_collection_id,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderCode != null and orderCode != ''">#{orderCode},</if>
|
|
|
@@ -370,6 +373,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="erpType != null">#{erpType},</if>
|
|
|
<if test="appRewardFlag != null">#{appRewardFlag},</if>
|
|
|
<if test="companyCustomerId != null">#{companyCustomerId},</if>
|
|
|
+ <if test="handleCollectionId != null">#{handleCollectionId},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -471,6 +475,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="erpType != null and erpType != ''">erp_type = #{erpType},</if>
|
|
|
<if test="appRewardFlag != null and appRewardFlag != ''">app_reward_flag = #{appRewardFlag},</if>
|
|
|
<if test="companyCustomerId != null "> company_customer_id = #{companyCustomerId},</if>
|
|
|
+ <if test="handleCollectionId != null "> handle_collection_id = #{handleCollectionId},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|