|
@@ -98,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="appRewardFlag" column="app_reward_flag" />
|
|
<result property="appRewardFlag" column="app_reward_flag" />
|
|
|
<result property="companyCustomerId" column="company_customer_id" />
|
|
<result property="companyCustomerId" column="company_customer_id" />
|
|
|
<result property="handleCollectionId" column="handle_collection_id" />
|
|
<result property="handleCollectionId" column="handle_collection_id" />
|
|
|
|
|
+ <result property="receiptId" column="receipt_id" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsStoreOrderVo">
|
|
<sql id="selectFsStoreOrderVo">
|
|
@@ -112,7 +113,8 @@ 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,app_reward_flag,company_customer_id,handle_collection_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,receipt_id from fs_store_order_scrm
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsStoreOrderList" parameterType="FsStoreOrderScrm" resultMap="FsStoreOrderResult">
|
|
<select id="selectFsStoreOrderList" parameterType="FsStoreOrderScrm" resultMap="FsStoreOrderResult">
|
|
@@ -279,6 +281,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appRewardFlag != null">app_reward_flag,</if>
|
|
<if test="appRewardFlag != null">app_reward_flag,</if>
|
|
|
<if test="companyCustomerId != null"> company_customer_id,</if>
|
|
<if test="companyCustomerId != null"> company_customer_id,</if>
|
|
|
<if test="handleCollectionId != null"> handle_collection_id,</if>
|
|
<if test="handleCollectionId != null"> handle_collection_id,</if>
|
|
|
|
|
+ <if test="receiptId != null"> receipt_id,</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>
|
|
@@ -374,6 +377,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appRewardFlag != null">#{appRewardFlag},</if>
|
|
<if test="appRewardFlag != null">#{appRewardFlag},</if>
|
|
|
<if test="companyCustomerId != null">#{companyCustomerId},</if>
|
|
<if test="companyCustomerId != null">#{companyCustomerId},</if>
|
|
|
<if test="handleCollectionId != null">#{handleCollectionId},</if>
|
|
<if test="handleCollectionId != null">#{handleCollectionId},</if>
|
|
|
|
|
+ <if test="receiptId != null">#{receiptId},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -476,6 +480,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="appRewardFlag != null and appRewardFlag != ''">app_reward_flag = #{appRewardFlag},</if>
|
|
<if test="appRewardFlag != null and appRewardFlag != ''">app_reward_flag = #{appRewardFlag},</if>
|
|
|
<if test="companyCustomerId != null "> company_customer_id = #{companyCustomerId},</if>
|
|
<if test="companyCustomerId != null "> company_customer_id = #{companyCustomerId},</if>
|
|
|
<if test="handleCollectionId != null "> handle_collection_id = #{handleCollectionId},</if>
|
|
<if test="handleCollectionId != null "> handle_collection_id = #{handleCollectionId},</if>
|
|
|
|
|
+ <if test="receiptId != null "> receipt_id = #{receiptId},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|