|
|
@ -15,6 +15,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="warehouseDeptType" column="warehouse_dept_type" /> |
|
|
|
<result property="supplierCode" column="supplier_code" /> |
|
|
|
<result property="supplierName" column="supplier_name" /> |
|
|
|
<result property="customerContact" column="customer_contact" /> |
|
|
|
<result property="contactNumber" column="contact_number" /> |
|
|
|
<result property="supplierAddress" column="supplier_address" /> |
|
|
|
<result property="notifyArrivedSum" column="notify_arrived_sum" /> |
|
|
|
<result property="actualArrivedSum" column="actual_arrived_sum" /> |
|
|
|
<result property="temporaryQualifiedSum" column="temporary_qualified_sum" /> |
|
|
@ -37,7 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="selectPurchaseStorageVo"> |
|
|
|
select purchase_storage_id, warehouse_storage_code, related_order_code, warehouse_storage_status, warehouse_quality_status, warehouse_storage_type, warehouse_order_type, warehouse_dept_type, supplier_code, supplier_name, notify_arrived_sum, actual_arrived_sum, temporary_qualified_sum, temporary_unqualified_sum, quality_qualified_sum, refunds_exchanges_sum, storage_sum, arrived_time, temporary_time, delivery_inspection_time, quality_time, storage_time, warehouse_employee, warehouse_code, warehouse_name, create_time, create_by, update_by, update_time from purchase_storage |
|
|
|
select purchase_storage_id, warehouse_storage_code, related_order_code, warehouse_storage_status, warehouse_quality_status, warehouse_storage_type, warehouse_order_type, warehouse_dept_type, supplier_code, supplier_name, customer_contact, contact_number, supplier_address, notify_arrived_sum, actual_arrived_sum, temporary_qualified_sum, temporary_unqualified_sum, quality_qualified_sum, refunds_exchanges_sum, storage_sum, arrived_time, temporary_time, delivery_inspection_time, quality_time, storage_time, warehouse_employee, warehouse_code, warehouse_name, create_time, create_by, update_by, update_time from purchase_storage |
|
|
|
</sql> |
|
|
|
|
|
|
|
<select id="selectPurchaseStorageList" parameterType="PurchaseStorage" resultMap="PurchaseStorageResult"> |
|
|
@ -73,6 +76,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="warehouseDeptType != null">warehouse_dept_type,</if> |
|
|
|
<if test="supplierCode != null">supplier_code,</if> |
|
|
|
<if test="supplierName != null">supplier_name,</if> |
|
|
|
<if test="customerContact != null">customer_contact,</if> |
|
|
|
<if test="contactNumber != null">contact_number,</if> |
|
|
|
<if test="supplierAddress != null">supplier_address,</if> |
|
|
|
<if test="notifyArrivedSum != null">notify_arrived_sum,</if> |
|
|
|
<if test="actualArrivedSum != null">actual_arrived_sum,</if> |
|
|
|
<if test="temporaryQualifiedSum != null">temporary_qualified_sum,</if> |
|
|
@ -103,6 +109,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="warehouseDeptType != null">#{warehouseDeptType},</if> |
|
|
|
<if test="supplierCode != null">#{supplierCode},</if> |
|
|
|
<if test="supplierName != null">#{supplierName},</if> |
|
|
|
<if test="customerContact != null">#{customerContact},</if> |
|
|
|
<if test="contactNumber != null">#{contactNumber},</if> |
|
|
|
<if test="supplierAddress != null">#{supplierAddress},</if> |
|
|
|
<if test="notifyArrivedSum != null">#{notifyArrivedSum},</if> |
|
|
|
<if test="actualArrivedSum != null">#{actualArrivedSum},</if> |
|
|
|
<if test="temporaryQualifiedSum != null">#{temporaryQualifiedSum},</if> |
|
|
@ -137,6 +146,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<if test="warehouseDeptType != null">warehouse_dept_type = #{warehouseDeptType},</if> |
|
|
|
<if test="supplierCode != null">supplier_code = #{supplierCode},</if> |
|
|
|
<if test="supplierName != null">supplier_name = #{supplierName},</if> |
|
|
|
<if test="customerContact != null">customer_contact = #{customerContact},</if> |
|
|
|
<if test="contactNumber != null">contact_number = #{contactNumber},</if> |
|
|
|
<if test="supplierAddress != null">supplier_address = #{supplierAddress},</if> |
|
|
|
<if test="notifyArrivedSum != null">notify_arrived_sum = #{notifyArrivedSum},</if> |
|
|
|
<if test="actualArrivedSum != null">actual_arrived_sum = #{actualArrivedSum},</if> |
|
|
|
<if test="temporaryQualifiedSum != null">temporary_qualified_sum = #{temporaryQualifiedSum},</if> |
|
|
|