入库管理页面修改

This commit is contained in:
liuhanqing
2025-10-20 16:29:40 +08:00
parent 25a740496d
commit df43ffd1b9
9 changed files with 81 additions and 87 deletions

View File

@@ -40,6 +40,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="spec" column="spec" />
<result property="unit" column="unit" />
<result property="productName" column="product_name" />
<result property="supplierName" column="supplier_name" />
</resultMap>
@@ -146,9 +148,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mjd.spare8,
mjd.spare9,
mjd.spec,
mjd.unit
mjd.unit,
bs.supplier_name
from mydo_job_detail_finish mjd
left join bas_product bp on mjd.product_id = bp.product_id
left join bas_supplier bs on mjd.supplier_id = bs.supplier_no
where job_id = #{jobId}
</select>

View File

@@ -42,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="unit" column="unit" />
<result property="productName" column="product_name" />
<result property="trayCode" column="tray_code" />
<result property="supplierName" column="supplier_name" />
</resultMap>
<select id="selectMydoJobDetailList" parameterType="MydoJobDetail" resultMap="MydoJobDetailResult">
@@ -80,10 +81,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
mjd.spare8,
mjd.spare9,
mjd.spec,
mjd.unit
mjd.unit,
bs.supplier_name
from mydo_job_detail mjd
left join bas_product bp on mjd.product_id = bp.product_id
left join bas_supplier bs on mjd.supplier_id = bs.supplier_no
<where>
<if test="jobDetailId != null and jobDetailId != ''"> and mjd.job_detail_id = #{jobDetailId}</if>
<if test="jobId != null and jobId != ''"> and mjd.job_id = #{jobId}</if>