|
@ -9,6 +9,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="shippingDeviceId" column="shipping_device_id" /> |
|
|
<result property="shippingDeviceId" column="shipping_device_id" /> |
|
|
<result property="makeNo" column="make_no" /> |
|
|
<result property="makeNo" column="make_no" /> |
|
|
<result property="salesOrderCode" column="sales_order_code" /> |
|
|
<result property="salesOrderCode" column="sales_order_code" /> |
|
|
|
|
|
<result property="outOrderCode" column="out_order_code" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="materialPhotourl" column="material_photoUrl" /> |
|
|
<result property="materialPhotourl" column="material_photoUrl" /> |
|
|
<result property="materialName" column="material_name" /> |
|
|
<result property="materialName" column="material_name" /> |
|
@ -52,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectAfterSalesShippingDeviceVo"> |
|
|
<sql id="selectAfterSalesShippingDeviceVo"> |
|
|
select shipping_device_code, shipping_device_id, make_no,sales_order_code, material_no, material_photoUrl, material_name, material_type, material_class, material_model_code, material_unit, material_brand, material_describe, |
|
|
select shipping_device_code, shipping_device_id, make_no,sales_order_code, out_order_code, material_no, material_photoUrl, material_name, material_type, material_class, material_model_code, material_unit, material_brand, material_describe, |
|
|
device_model_code, device_running_number, make_photoUrl, sn_code, aftersales_photoUrl, factory_date, guarantee_period, guarantee_period_flag, lock_date, lock_date_flag, wastage_expire_date, wastage_expire_flag, |
|
|
device_model_code, device_running_number, make_photoUrl, sn_code, aftersales_photoUrl, factory_date, guarantee_period, guarantee_period_flag, lock_date, lock_date_flag, wastage_expire_date, wastage_expire_flag, |
|
|
component_guarantee_date, component_guarantee_flag, engineer_name, salesman_name, make_name,customer_id, customer_name, maintain_order_code, maintain_time, create_by, create_time, update_by, update_time, |
|
|
component_guarantee_date, component_guarantee_flag, engineer_name, salesman_name, make_name,customer_id, customer_name, maintain_order_code, maintain_time, create_by, create_time, update_by, update_time, |
|
|
add_shipping_device_flag, start_make_time, end_make_time, add_process_issue_record_flag,quality_status from aftersales_shipping_device |
|
|
add_shipping_device_flag, start_make_time, end_make_time, add_process_issue_record_flag,quality_status from aftersales_shipping_device |
|
@ -139,12 +140,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<foreach item="salesOrderCode" collection="array" open="(" separator="," close=")"> |
|
|
<foreach item="salesOrderCode" collection="array" open="(" separator="," close=")"> |
|
|
#{salesOrderCode} |
|
|
#{salesOrderCode} |
|
|
</foreach> |
|
|
</foreach> |
|
|
and add_shipping_device_flag = '1' |
|
|
|
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="selectAllShippingDevices" resultMap="AfterSalesShippingDeviceResult"> |
|
|
<select id="selectAllShippingDevices" resultMap="AfterSalesShippingDeviceResult"> |
|
|
<include refid="selectAfterSalesShippingDeviceVo"/> |
|
|
<include refid="selectAfterSalesShippingDeviceVo"/> |
|
|
where add_shipping_device_flag = '1' |
|
|
|
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="selectBatchShippingDeviceById" parameterType="String" resultMap="AfterSalesShippingDeviceResult"> |
|
|
<select id="selectBatchShippingDeviceById" parameterType="String" resultMap="AfterSalesShippingDeviceResult"> |
|
@ -162,6 +161,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="shippingDeviceId != null and shippingDeviceId != ''">shipping_device_id,</if> |
|
|
<if test="shippingDeviceId != null and shippingDeviceId != ''">shipping_device_id,</if> |
|
|
<if test="salesOrderCode != null">sales_order_code,</if> |
|
|
<if test="salesOrderCode != null">sales_order_code,</if> |
|
|
<if test="makeNo != null">make_no,</if> |
|
|
<if test="makeNo != null">make_no,</if> |
|
|
|
|
|
<if test="outOrderCode != null">out_order_code,</if> |
|
|
<if test="materialNo != null">material_no,</if> |
|
|
<if test="materialNo != null">material_no,</if> |
|
|
<if test="materialPhotourl != null">material_photoUrl,</if> |
|
|
<if test="materialPhotourl != null">material_photoUrl,</if> |
|
|
<if test="materialName != null">material_name,</if> |
|
|
<if test="materialName != null">material_name,</if> |
|
@ -205,6 +205,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="shippingDeviceId != null and shippingDeviceId != ''">#{shippingDeviceId},</if> |
|
|
<if test="shippingDeviceId != null and shippingDeviceId != ''">#{shippingDeviceId},</if> |
|
|
<if test="salesOrderCode != null">#{salesOrderCode},</if> |
|
|
<if test="salesOrderCode != null">#{salesOrderCode},</if> |
|
|
<if test="makeNo != null">#{makeNo},</if> |
|
|
<if test="makeNo != null">#{makeNo},</if> |
|
|
|
|
|
<if test="outOrderCode != null">#{outOrderCode},</if> |
|
|
<if test="materialNo != null">#{materialNo},</if> |
|
|
<if test="materialNo != null">#{materialNo},</if> |
|
|
<if test="materialPhotourl != null">#{materialPhotourl},</if> |
|
|
<if test="materialPhotourl != null">#{materialPhotourl},</if> |
|
|
<if test="materialName != null">#{materialName},</if> |
|
|
<if test="materialName != null">#{materialName},</if> |
|
@ -252,6 +253,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="shippingDeviceId != null and shippingDeviceId != ''">shipping_device_id = #{shippingDeviceId},</if> |
|
|
<if test="shippingDeviceId != null and shippingDeviceId != ''">shipping_device_id = #{shippingDeviceId},</if> |
|
|
<if test="salesOrderCode != null">sales_order_code = #{salesOrderCode},</if> |
|
|
<if test="salesOrderCode != null">sales_order_code = #{salesOrderCode},</if> |
|
|
<if test="makeNo != null">make_no = #{makeNo},</if> |
|
|
<if test="makeNo != null">make_no = #{makeNo},</if> |
|
|
|
|
|
<if test="outOrderCode != null">out_order_code = #{outOrderCode},</if> |
|
|
<if test="materialNo != null">material_no = #{materialNo},</if> |
|
|
<if test="materialNo != null">material_no = #{materialNo},</if> |
|
|
<if test="materialPhotourl != null">material_photoUrl = #{materialPhotourl},</if> |
|
|
<if test="materialPhotourl != null">material_photoUrl = #{materialPhotourl},</if> |
|
|
<if test="materialName != null">material_name = #{materialName},</if> |
|
|
<if test="materialName != null">material_name = #{materialName},</if> |
|
|