现场 wms 字段显示修改
This commit is contained in:
@@ -184,7 +184,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and locked = 'N'
|
||||
and warehouse_id = #{warehouseId}
|
||||
and roadway_id = #{roadwayId}
|
||||
ORDER BY the_platoon, the_floor,the_column
|
||||
ORDER BY the_floor,the_column,the_platoon
|
||||
</select>
|
||||
<select id="selectBasCargoSpaceListByRoadway" parameterType="BasCargoSpace" resultMap="BasCargoSpaceResult">
|
||||
select bcs.cargo_space_id, bcs.warehouse_id, bw.warehouse_name, bcs.roadway_id, bcs.cargo_area_id, bcs.the_type,
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<select id="outMakeSure" parameterType="java.util.Map" statementType="CALLABLE">
|
||||
{call proc_out_makesure(
|
||||
#{v_tray_code,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_warehouse_id,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_result,mode=OUT,jdbcType=INTEGER},
|
||||
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
|
||||
)}
|
||||
@@ -131,6 +132,17 @@
|
||||
<select id="ktpin" parameterType="java.util.Map" statementType="CALLABLE">
|
||||
{call proc_tp_in(
|
||||
#{v_tray_code,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_warehouse_id,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_result,mode=OUT,jdbcType=INTEGER},
|
||||
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
|
||||
)}
|
||||
</select>
|
||||
|
||||
|
||||
<select id="zlin" parameterType="java.util.Map" statementType="CALLABLE">
|
||||
{call proc_zl_in(
|
||||
#{v_tray_code,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_warehouse_id,mode=IN,jdbcType=VARCHAR},
|
||||
#{v_result,mode=OUT,jdbcType=INTEGER},
|
||||
#{v_resultmsg,mode=OUT,jdbcType=VARCHAR}
|
||||
)}
|
||||
|
||||
@@ -39,6 +39,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="spare4" column="spare4" />
|
||||
<result property="spare1" column="spare1" />
|
||||
<result property="productType" column="productType" />
|
||||
<result property="distribution" column="distribution" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewStockDetailVo">
|
||||
@@ -73,6 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
bs.stock_status, --库存状态
|
||||
bs.lot_no, --批次号
|
||||
bs.out_quantity,
|
||||
bs.distribution, --来源
|
||||
bs.spare4, --来源
|
||||
bs.spare1 --用途
|
||||
from bas_stock bs
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.search.ViewStockinHistory.mapper.ViewStockinHistoryMapper">
|
||||
|
||||
|
||||
<resultMap type="ViewStockinHistory" id="ViewStockinHistoryResult">
|
||||
<result property="stockinId" column="stockin_id" />
|
||||
<result property="stockinDetailId" column="stockin_detail_id" />
|
||||
@@ -32,15 +32,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="spare1" column="spare1" />
|
||||
<result property="spare4" column="spare4" />
|
||||
<result property="spare2" column="spare2" />
|
||||
<result property="spare9" column="spare9" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectViewStockinHistoryVo">
|
||||
select stockin_id, stockin_detail_id, product_id, product_name, spec, cargo_no, productType, quantity, scan_num, assign_num, unit, price, priceTotal, supplier_no, supplier_name, spare6, spare5, spare7, spare3, create_man_id, create_date, status, spare8, remark, spare1, spare4, spare2 from view_stockin_history
|
||||
select stockin_id, stockin_detail_id, product_id, product_name, spec, cargo_no, productType, quantity, scan_num, assign_num, unit, price, priceTotal, supplier_no, supplier_name, spare6, spare5, spare7, spare3, create_man_id, create_date, status, spare8, remark, spare1, spare4, spare2,spare9 from view_stockin_history
|
||||
</sql>
|
||||
|
||||
<select id="selectViewStockinHistoryList" parameterType="ViewStockinHistory" resultMap="ViewStockinHistoryResult">
|
||||
<include refid="selectViewStockinHistoryVo"/>
|
||||
<where>
|
||||
<where>
|
||||
<if test="stockinId != null and stockinId != ''"> and stockin_id = #{stockinId}</if>
|
||||
<if test="stockinDetailId != null and stockinDetailId != ''"> and stockin_detail_id = #{stockinDetailId}</if>
|
||||
<if test="productId != null and productId != ''"> and product_id = #{productId}</if>
|
||||
@@ -67,9 +68,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="spare1 != null and spare1 != ''"> and spare1 = #{spare1}</if>
|
||||
<if test="spare4 != null and spare4 != ''"> and spare4 = #{spare4}</if>
|
||||
<if test="spare2 != null and spare2 != ''"> and spare2 = #{spare2}</if>
|
||||
<if test="spare9 != null and spare9 != ''"> and spare9 = #{spare9}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="selectViewStockinHistoryByStockinId" parameterType="String" resultMap="ViewStockinHistoryResult">
|
||||
<include refid="selectViewStockinHistoryVo"/>
|
||||
where stockin_id = #{stockinId}
|
||||
@@ -175,9 +177,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</delete>
|
||||
|
||||
<delete id="deleteViewStockinHistoryByStockinIds" parameterType="String">
|
||||
delete from view_stockin_history where stockin_id in
|
||||
delete from view_stockin_history where stockin_id in
|
||||
<foreach item="stockinId" collection="array" open="(" separator="," close=")">
|
||||
#{stockinId}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
</mapper>
|
||||
|
||||
@@ -55,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="supplierId" column="supplier_no" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="productType" column="productType" />
|
||||
<result property="netWeight" column="net_weight" />
|
||||
<!--<association property="extraField" javaType="ExtraField">
|
||||
<result property="productId" column="product_id" />
|
||||
</association>-->
|
||||
@@ -93,7 +94,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
bs.lot_no, --批次号
|
||||
bs.out_quantity,
|
||||
bs.spare4, --来源
|
||||
bs.spare1 --用途
|
||||
bs.spare1, --用途
|
||||
bs.net_weight --重量
|
||||
from bas_stock bs
|
||||
left join bas_product bp on bs.product_id = bp.product_id
|
||||
left join bas_warehouse bw on bs.warehouse_id = bw.warehouse_id
|
||||
|
||||
Reference in New Issue
Block a user