|
@ -5,33 +5,40 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<mapper namespace="com.ruoyi.warehouse.mapper.WarehouseInventoryInquiryMapper"> |
|
|
<mapper namespace="com.ruoyi.warehouse.mapper.WarehouseInventoryInquiryMapper"> |
|
|
|
|
|
|
|
|
<resultMap type="WarehouseInventoryInquiry" id="WarehouseInventoryInquiryResult"> |
|
|
<resultMap type="WarehouseInventoryInquiry" id="WarehouseInventoryInquiryResult"> |
|
|
<result property="inventoryInquiryId" column="inventory_inquiry_id" /> |
|
|
<result property="inventoryInquiryId" column="inventory_inquiry_id" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="materialName" column="material_name" /> |
|
|
<result property="materialName" column="material_name" /> |
|
|
<result property="materialType" column="material_type" /> |
|
|
<result property="materialType" column="material_type" /> |
|
|
<result property="materialPhotourl" column="material_photoUrl" /> |
|
|
<result property="materialPhotourl" column="material_photoUrl" /> |
|
|
<result property="materialBrand" column="material_brand" /> |
|
|
<result property="materialBrand" column="material_brand" /> |
|
|
<result property="materialUnit" column="material_unit" /> |
|
|
<result property="materialUnit" column="material_unit" /> |
|
|
<result property="materialDescribe" column="material_describe" /> |
|
|
<result property="materialDescribe" column="material_describe" /> |
|
|
<result property="materialProcessMethod" column="material_process_method" /> |
|
|
<result property="materialProcessMethod" column="material_process_method" /> |
|
|
<result property="materialModel" column="material_model" /> |
|
|
<result property="materialModel" column="material_model" /> |
|
|
<result property="materialSpecification" column="material_specification" /> |
|
|
<result property="materialSpecification" column="material_specification" /> |
|
|
<result property="historicalTotal" column="historical_total" /> |
|
|
<result property="warehouseDept" column="warehouse_dept" /> |
|
|
<result property="availableStockNum" column="available_stock_num" /> |
|
|
<result property="historicalTotal" column="historical_total" /> |
|
|
<result property="attributionAvailableStockNum" column="attribution_available_stock_num" /> |
|
|
<result property="availableStockNum" column="available_stock_num" /> |
|
|
<result property="noattributionAvailableStockNum" column="noattribution_available_stock_num" /> |
|
|
<result property="attributionAvailableStockNum" column="attribution_available_stock_num" /> |
|
|
<result property="useNum" column="use_num" /> |
|
|
<result property="noattributionAvailableStockNum" column="noattribution_available_stock_num" /> |
|
|
<result property="reportDamageNum" column="report_damage_num" /> |
|
|
<result property="useNum" column="use_num" /> |
|
|
<result property="materialUseStatus" column="material_use_status" /> |
|
|
<result property="reportDamageNum" column="report_damage_num" /> |
|
|
<result property="remark" column="remark" /> |
|
|
<result property="materialUseStatus" column="material_use_status" /> |
|
|
<result property="createTime" column="create_time" /> |
|
|
<result property="remark" column="remark" /> |
|
|
<result property="createBy" column="create_by" /> |
|
|
<result property="createTime" column="create_time" /> |
|
|
<result property="updateBy" column="update_by" /> |
|
|
<result property="createBy" column="create_by" /> |
|
|
<result property="updateTime" column="update_time" /> |
|
|
<result property="updateBy" column="update_by" /> |
|
|
|
|
|
<result property="updateTime" column="update_time" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectWarehouseInventoryInquiryVo"> |
|
|
<sql id="selectWarehouseInventoryInquiryVo"> |
|
|
select inventory_inquiry_id, material_no, material_name, material_type, material_photoUrl, material_brand, material_unit, material_describe, material_process_method, material_model, material_specification, historical_total, available_stock_num, attribution_available_stock_num, noattribution_available_stock_num, use_num, report_damage_num, material_use_status, remark, create_time, create_by, update_by, update_time from warehouse_inventory_inquiry |
|
|
select inventory_inquiry_id, material_no, material_name, material_type, |
|
|
|
|
|
material_photoUrl, material_brand, material_unit, material_describe, |
|
|
|
|
|
material_process_method, material_model, material_specification,warehouse_dept, |
|
|
|
|
|
historical_total, available_stock_num, attribution_available_stock_num, |
|
|
|
|
|
noattribution_available_stock_num, use_num, report_damage_num, material_use_status, |
|
|
|
|
|
remark, create_time, create_by, update_by, update_time |
|
|
|
|
|
from warehouse_inventory_inquiry |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="selectWarehouseInventoryInquiryList" parameterType="WarehouseInventoryInquiry" resultMap="WarehouseInventoryInquiryResult"> |
|
|
<select id="selectWarehouseInventoryInquiryList" parameterType="WarehouseInventoryInquiry" resultMap="WarehouseInventoryInquiryResult"> |
|
@ -67,6 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="materialProcessMethod != null">material_process_method,</if> |
|
|
<if test="materialProcessMethod != null">material_process_method,</if> |
|
|
<if test="materialModel != null">material_model,</if> |
|
|
<if test="materialModel != null">material_model,</if> |
|
|
<if test="materialSpecification != null">material_specification,</if> |
|
|
<if test="materialSpecification != null">material_specification,</if> |
|
|
|
|
|
<if test="warehouseDept != null">warehouse_dept,</if> |
|
|
<if test="historicalTotal != null">historical_total,</if> |
|
|
<if test="historicalTotal != null">historical_total,</if> |
|
|
<if test="availableStockNum != null">available_stock_num,</if> |
|
|
<if test="availableStockNum != null">available_stock_num,</if> |
|
|
<if test="attributionAvailableStockNum != null">attribution_available_stock_num,</if> |
|
|
<if test="attributionAvailableStockNum != null">attribution_available_stock_num,</if> |
|
@ -91,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="materialProcessMethod != null">#{materialProcessMethod},</if> |
|
|
<if test="materialProcessMethod != null">#{materialProcessMethod},</if> |
|
|
<if test="materialModel != null">#{materialModel},</if> |
|
|
<if test="materialModel != null">#{materialModel},</if> |
|
|
<if test="materialSpecification != null">#{materialSpecification},</if> |
|
|
<if test="materialSpecification != null">#{materialSpecification},</if> |
|
|
|
|
|
<if test="warehouseDept != null">#{warehouseDept},</if> |
|
|
<if test="historicalTotal != null">#{historicalTotal},</if> |
|
|
<if test="historicalTotal != null">#{historicalTotal},</if> |
|
|
<if test="availableStockNum != null">#{availableStockNum},</if> |
|
|
<if test="availableStockNum != null">#{availableStockNum},</if> |
|
|
<if test="attributionAvailableStockNum != null">#{attributionAvailableStockNum},</if> |
|
|
<if test="attributionAvailableStockNum != null">#{attributionAvailableStockNum},</if> |
|
@ -119,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="materialProcessMethod != null">material_process_method = #{materialProcessMethod},</if> |
|
|
<if test="materialProcessMethod != null">material_process_method = #{materialProcessMethod},</if> |
|
|
<if test="materialModel != null">material_model = #{materialModel},</if> |
|
|
<if test="materialModel != null">material_model = #{materialModel},</if> |
|
|
<if test="materialSpecification != null">material_specification = #{materialSpecification},</if> |
|
|
<if test="materialSpecification != null">material_specification = #{materialSpecification},</if> |
|
|
|
|
|
<if test="warehouseDept != null">warehouse_dept = #{warehouseDept},</if> |
|
|
<if test="historicalTotal != null">historical_total = #{historicalTotal},</if> |
|
|
<if test="historicalTotal != null">historical_total = #{historicalTotal},</if> |
|
|
<if test="availableStockNum != null">available_stock_num = #{availableStockNum},</if> |
|
|
<if test="availableStockNum != null">available_stock_num = #{availableStockNum},</if> |
|
|
<if test="attributionAvailableStockNum != null">attribution_available_stock_num = #{attributionAvailableStockNum},</if> |
|
|
<if test="attributionAvailableStockNum != null">attribution_available_stock_num = #{attributionAvailableStockNum},</if> |
|
|