修改 半制品入库提交
parent
828420bade
commit
e33259c7c2
@ -1,7 +1,30 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="org.dromara.wms.mapper.WmsHppInStockDetailMapper">
|
<mapper namespace="org.dromara.wms.mapper.WmsHppInStockDetailMapper">
|
||||||
|
|
||||||
|
<resultMap id="hpp" type="org.dromara.wms.domain.vo.WmsHppInStockDetailVo">
|
||||||
|
<result property="materialCode" column="material_code"/>
|
||||||
|
<result property="materialId" column="material_id"/>
|
||||||
|
<result property="materialSpec" column="material_spec"/>
|
||||||
|
<result property="cardNo" column="return_barcode"/>
|
||||||
|
<result property="instockNum" column="complete_amount"/>
|
||||||
|
<result property="unitName" column="unit_name"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<select id="semiSelectVehicleInfo" resultMap="hpp">
|
||||||
|
select top 1
|
||||||
|
complete_amount,
|
||||||
|
return_barcode,
|
||||||
|
prod.material_id,
|
||||||
|
base.material_spec,
|
||||||
|
base.material_code,
|
||||||
|
unit_name,
|
||||||
|
shift_id,
|
||||||
|
class_team_id
|
||||||
|
from prod_product_plan_detail_2 prod
|
||||||
|
left join base_material_info base on prod.material_id = base.material_id
|
||||||
|
where return_barcode=#{code}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue