测试修改
This commit is contained in:
@@ -92,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
${params.warehouseDataScope}
|
||||
</if>
|
||||
</where>
|
||||
order by mj.create_time desc
|
||||
</select>
|
||||
|
||||
<select id="selectMydoJobByJobId" parameterType="String" resultMap="MydoJobResult">
|
||||
|
||||
@@ -167,4 +167,31 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
)
|
||||
}
|
||||
</select>
|
||||
<select id="selectOutStockoutByStockoutId" resultMap="OutStockoutResult">
|
||||
select distinct o.stockout_guid,
|
||||
o.stockout_id,
|
||||
o.out_type,
|
||||
o.create_date,
|
||||
o.department_no,
|
||||
o.customer_no,
|
||||
o.create_man_id,
|
||||
o.status,
|
||||
o.stockout_source,
|
||||
o.warehouse_id,
|
||||
o.class_now_id,
|
||||
o.exit_id,
|
||||
o.car_number,
|
||||
o.FID,
|
||||
o.erp_stockout_id,
|
||||
o.start_date,
|
||||
o.finish_date,
|
||||
bw.warehouse_name,
|
||||
bc.customer_name
|
||||
from out_stockout o
|
||||
left join bas_warehouse bw on bw.warehouse_id = o.warehouse_id
|
||||
left join bas_customer bc on bc.customer_no = o.customer_no
|
||||
left join out_stockout_detail d on d.stockout_id = o.stockout_id
|
||||
left join bas_product bp on bp.product_id = d.product_id
|
||||
where o.stockout_id = #{stockoutId}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user