|
@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="inboundOrderNo" column="inbound_order_no" /> |
|
|
<result property="inboundOrderNo" column="inbound_order_no" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="makeorderBomId" column="makeorder_bom_id" /> |
|
|
<result property="makeorderBomId" column="makeorder_bom_id" /> |
|
|
|
|
|
<result property="availableStockNum" column="available_stock_num" /> |
|
|
<result property="completedNum" column="completed_num" /> |
|
|
<result property="completedNum" column="completed_num" /> |
|
|
<result property="currentNum" column="current_num" /> |
|
|
<result property="currentNum" column="current_num" /> |
|
|
<result property="processFeeUnitPrice" column="process_fee_unit_price" /> |
|
|
<result property="processFeeUnitPrice" column="process_fee_unit_price" /> |
|
@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="inboundOrderNo" column="inbound_order_no" /> |
|
|
<result property="inboundOrderNo" column="inbound_order_no" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="materialNo" column="material_no" /> |
|
|
<result property="makeorderBomId" column="makeorder_bom_id" /> |
|
|
<result property="makeorderBomId" column="makeorder_bom_id" /> |
|
|
|
|
|
<result property="availableStockNum" column="available_stock_num" /> |
|
|
<result property="completedNum" column="completed_num" /> |
|
|
<result property="completedNum" column="completed_num" /> |
|
|
<result property="currentNum" column="current_num" /> |
|
|
<result property="currentNum" column="current_num" /> |
|
|
<result property="processFeeUnitPrice" column="process_fee_unit_price" /> |
|
|
<result property="processFeeUnitPrice" column="process_fee_unit_price" /> |
|
@ -76,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectErpInboundOrderDetailVo"> |
|
|
<sql id="selectErpInboundOrderDetailVo"> |
|
|
select a.id, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time, a.remark, a.inbound_order_no, a.material_no, a.makeorder_bom_id, a.completed_num, a.current_num, a.process_fee_unit_price from erp_inbound_order_detail a |
|
|
select a.id, a.del_flag, a.create_by, a.create_time, a.update_by, a.update_time, a.remark, a.inbound_order_no, a.material_no, a.makeorder_bom_id, a.available_stock_num, a.completed_num, a.current_num, a.process_fee_unit_price from erp_inbound_order_detail a |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<select id="selectErpInboundOrderDetailList" parameterType="ErpInboundOrderDetail" resultMap="ErpInboundOrderDetailResult"> |
|
|
<select id="selectErpInboundOrderDetailList" parameterType="ErpInboundOrderDetail" resultMap="ErpInboundOrderDetailResult"> |
|
@ -136,6 +138,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="inboundOrderNo != null">inbound_order_no,</if> |
|
|
<if test="inboundOrderNo != null">inbound_order_no,</if> |
|
|
<if test="materialNo != null">material_no,</if> |
|
|
<if test="materialNo != null">material_no,</if> |
|
|
<if test="makeorderBomId != null">makeorder_bom_id,</if> |
|
|
<if test="makeorderBomId != null">makeorder_bom_id,</if> |
|
|
|
|
|
<if test="availableStockNum != null">available_stock_num,</if> |
|
|
<if test="completedNum != null">completed_num,</if> |
|
|
<if test="completedNum != null">completed_num,</if> |
|
|
<if test="currentNum != null">current_num,</if> |
|
|
<if test="currentNum != null">current_num,</if> |
|
|
<if test="processFeeUnitPrice != null">process_fee_unit_price,</if> |
|
|
<if test="processFeeUnitPrice != null">process_fee_unit_price,</if> |
|
@ -150,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="inboundOrderNo != null">#{inboundOrderNo},</if> |
|
|
<if test="inboundOrderNo != null">#{inboundOrderNo},</if> |
|
|
<if test="materialNo != null">#{materialNo},</if> |
|
|
<if test="materialNo != null">#{materialNo},</if> |
|
|
<if test="makeorderBomId != null">#{makeorderBomId},</if> |
|
|
<if test="makeorderBomId != null">#{makeorderBomId},</if> |
|
|
|
|
|
<if test="availableStockNum != null">#{availableStockNum},</if> |
|
|
<if test="completedNum != null">#{completedNum},</if> |
|
|
<if test="completedNum != null">#{completedNum},</if> |
|
|
<if test="currentNum != null">#{currentNum},</if> |
|
|
<if test="currentNum != null">#{currentNum},</if> |
|
|
<if test="processFeeUnitPrice != null">#{processFeeUnitPrice},</if> |
|
|
<if test="processFeeUnitPrice != null">#{processFeeUnitPrice},</if> |
|
@ -168,6 +172,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="inboundOrderNo != null">inbound_order_no = #{inboundOrderNo},</if> |
|
|
<if test="inboundOrderNo != null">inbound_order_no = #{inboundOrderNo},</if> |
|
|
<if test="materialNo != null">material_no = #{materialNo},</if> |
|
|
<if test="materialNo != null">material_no = #{materialNo},</if> |
|
|
<if test="makeorderBomId != null">makeorder_bom_id = #{makeorderBomId},</if> |
|
|
<if test="makeorderBomId != null">makeorder_bom_id = #{makeorderBomId},</if> |
|
|
|
|
|
<if test="availableStockNum != null">availableStockNum = #{availableStockNum},</if> |
|
|
<if test="completedNum != null">completed_num = #{completedNum},</if> |
|
|
<if test="completedNum != null">completed_num = #{completedNum},</if> |
|
|
<if test="currentNum != null">current_num = #{currentNum},</if> |
|
|
<if test="currentNum != null">current_num = #{currentNum},</if> |
|
|
<if test="processFeeUnitPrice != null">process_fee_unit_price = #{processFeeUnitPrice},</if> |
|
|
<if test="processFeeUnitPrice != null">process_fee_unit_price = #{processFeeUnitPrice},</if> |
|
|