|
@ -41,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="temporaryQualifiedNum" column="temporary_qualified_num" /> |
|
|
<result property="temporaryQualifiedNum" column="temporary_qualified_num" /> |
|
|
<result property="hasStorageNum" column="has_storage_num" /> |
|
|
<result property="hasStorageNum" column="has_storage_num" /> |
|
|
<result property="storageNum" column="storage_num" /> |
|
|
<result property="storageNum" column="storage_num" /> |
|
|
|
|
|
<result property="makeInUnitPrice" column="make_in_unit_price" /> |
|
|
<result property="makeStorageNum" column="make_storage_num" /> |
|
|
<result property="makeStorageNum" column="make_storage_num" /> |
|
|
<result property="qualityHasQualifiedNum" column="quality_has_qualified_num" /> |
|
|
<result property="qualityHasQualifiedNum" column="quality_has_qualified_num" /> |
|
|
<result property="qualityQualifiedNum" column="quality_qualified_num" /> |
|
|
<result property="qualityQualifiedNum" column="quality_qualified_num" /> |
|
@ -65,7 +66,65 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectWarehouseStorageOrderDetailVo"> |
|
|
<sql id="selectWarehouseStorageOrderDetailVo"> |
|
|
select warehouse_storage_detail_id, warehouse_storage_code, related_order_code, warehouse_storage_status, warehouse_quality_status, warehouse_storage_type, warehouse_storage_class, warehouse_order_type, warehouse_dept_type, warehouse_employee, warehouse_code, warehouse_name, warehouse_detail_address, supplier_code, supplier_name, customer_contact, contact_number, supplier_address, customer_id, customer_name, customer_contact_people, customer_contact_number, customer_company_address, material_no, material_name, material_type, material_photoUrl, material_brand, material_unit, material_describe, material_process_method, material_dept_type, make_total, notify_has_arrived_num, notify_arrive_num, actual_has_arrived_num, actual_arrive_num, temporary_has_qualified_num, temporary_qualified_num, has_storage_num, storage_num, make_storage_num ,quality_has_qualified_num, quality_qualified_num, refunds_exchanges_num, arrived_time, temporary_time, delivery_inspection_time, quality_time, storage_time, temporary_remark, temporary_report_url, storage_location, create_time, create_by, update_by, update_time from warehouse_storage_order_detail |
|
|
select warehouse_storage_detail_id, |
|
|
|
|
|
warehouse_storage_code, |
|
|
|
|
|
related_order_code, |
|
|
|
|
|
warehouse_storage_status, |
|
|
|
|
|
warehouse_quality_status, |
|
|
|
|
|
warehouse_storage_type, |
|
|
|
|
|
warehouse_storage_class, |
|
|
|
|
|
warehouse_order_type, |
|
|
|
|
|
warehouse_dept_type, |
|
|
|
|
|
warehouse_employee, |
|
|
|
|
|
warehouse_code, |
|
|
|
|
|
warehouse_name, |
|
|
|
|
|
warehouse_detail_address, |
|
|
|
|
|
supplier_code, |
|
|
|
|
|
supplier_name, |
|
|
|
|
|
customer_contact, |
|
|
|
|
|
contact_number, |
|
|
|
|
|
supplier_address, |
|
|
|
|
|
customer_id, |
|
|
|
|
|
customer_name, |
|
|
|
|
|
customer_contact_people, |
|
|
|
|
|
customer_contact_number, |
|
|
|
|
|
customer_company_address, |
|
|
|
|
|
material_no, |
|
|
|
|
|
material_name, |
|
|
|
|
|
material_type, |
|
|
|
|
|
material_photoUrl, |
|
|
|
|
|
material_brand, |
|
|
|
|
|
material_unit, |
|
|
|
|
|
material_describe, |
|
|
|
|
|
material_process_method, |
|
|
|
|
|
material_dept_type, |
|
|
|
|
|
make_total, |
|
|
|
|
|
notify_has_arrived_num, |
|
|
|
|
|
notify_arrive_num, |
|
|
|
|
|
actual_has_arrived_num, |
|
|
|
|
|
actual_arrive_num, |
|
|
|
|
|
temporary_has_qualified_num, |
|
|
|
|
|
temporary_qualified_num, |
|
|
|
|
|
has_storage_num, |
|
|
|
|
|
storage_num, |
|
|
|
|
|
make_in_unit_price, |
|
|
|
|
|
make_storage_num, |
|
|
|
|
|
quality_has_qualified_num, |
|
|
|
|
|
quality_qualified_num, |
|
|
|
|
|
refunds_exchanges_num, |
|
|
|
|
|
arrived_time, |
|
|
|
|
|
temporary_time, |
|
|
|
|
|
delivery_inspection_time, |
|
|
|
|
|
quality_time, |
|
|
|
|
|
storage_time, |
|
|
|
|
|
temporary_remark, |
|
|
|
|
|
temporary_report_url, |
|
|
|
|
|
storage_location, |
|
|
|
|
|
create_time, |
|
|
|
|
|
create_by, |
|
|
|
|
|
update_by, |
|
|
|
|
|
update_time |
|
|
|
|
|
from warehouse_storage_order_detail |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="selectWarehouseStorageOrderDetailList" parameterType="WarehouseStorageOrderDetail" resultMap="WarehouseStorageOrderDetailResult"> |
|
|
<select id="selectWarehouseStorageOrderDetailList" parameterType="WarehouseStorageOrderDetail" resultMap="WarehouseStorageOrderDetailResult"> |
|
@ -142,6 +201,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num,</if> |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num,</if> |
|
|
<if test="hasStorageNum != null">has_storage_num,</if> |
|
|
<if test="hasStorageNum != null">has_storage_num,</if> |
|
|
<if test="storageNum != null">storage_num,</if> |
|
|
<if test="storageNum != null">storage_num,</if> |
|
|
|
|
|
<if test="makeInUnitPrice != null">make_in_unit_price,</if> |
|
|
<if test="makeStorageNum != null">make_storage_num,</if> |
|
|
<if test="makeStorageNum != null">make_storage_num,</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num,</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num,</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num,</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num,</if> |
|
@ -200,6 +260,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="temporaryQualifiedNum != null">#{temporaryQualifiedNum},</if> |
|
|
<if test="temporaryQualifiedNum != null">#{temporaryQualifiedNum},</if> |
|
|
<if test="hasStorageNum != null">#{hasStorageNum},</if> |
|
|
<if test="hasStorageNum != null">#{hasStorageNum},</if> |
|
|
<if test="storageNum != null">#{storageNum},</if> |
|
|
<if test="storageNum != null">#{storageNum},</if> |
|
|
|
|
|
<if test="makeInUnitPrice != null">#{makeInUnitPrice},</if> |
|
|
<if test="makeStorageNum != null">#{makeStorageNum},</if> |
|
|
<if test="makeStorageNum != null">#{makeStorageNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">#{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">#{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">#{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">#{qualityQualifiedNum},</if> |
|
@ -262,6 +323,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
|
|
|
<if test="makeInUnitPrice != null">make_in_unit_price= #{makeInUnitPrice},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
@ -327,6 +389,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
|
|
|
<if test="makeInUnitPrice != null">make_in_unit_price= #{makeInUnitPrice},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
@ -393,6 +456,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
|
|
|
<if test="makeInUnitPrice != null">make_in_unit_price= #{makeInUnitPrice},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
@ -460,6 +524,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="temporaryQualifiedNum != null">temporary_qualified_num = #{temporaryQualifiedNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="hasStorageNum != null">has_storage_num = #{hasStorageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
<if test="storageNum != null">storage_num = #{storageNum},</if> |
|
|
|
|
|
<if test="makeInUnitPrice != null">make_in_unit_price= #{makeInUnitPrice},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="makeStorageNum != null">make_storage_num = #{makeStorageNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityHasQualifiedNum != null">quality_has_qualified_num = #{qualityHasQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|
<if test="qualityQualifiedNum != null">quality_qualified_num = #{qualityQualifiedNum},</if> |
|
|