1529 物料码管理和包装箱打印页面,供应商账号只可查看本供应商的记录

This commit is contained in:
10002617 2026-06-05 10:01:08 +08:00
parent 2bff2543f3
commit 7474a5b2cb
2 changed files with 9 additions and 0 deletions

View File

@ -21,4 +21,10 @@ public class QrCodeItemSearchQO extends SearchBaseQO {
* 库存地点 * 库存地点
*/ */
private String storageLocation; private String storageLocation;
/**
* 供应商编号
*/
private String supplierNo;
} }

View File

@ -49,6 +49,9 @@
<if test="request.endDate !=null"> <if test="request.endDate !=null">
and a.create_time &lt;= #{request.endDate} and a.create_time &lt;= #{request.endDate}
</if> </if>
<if test="request.supplierNo!=null and request.supplierNo!=''">
and d.supplier_code=#{request.supplierNo}
</if>
<!-- group by a.id, a.barcode_code, a.barcode_type, a.process_stage, a.material_code, a.material_description,--> <!-- group by a.id, a.barcode_code, a.barcode_type, a.process_stage, a.material_code, a.material_description,-->
<!-- a.packaging_type, a.unit, a.batch_no, a.serial_no, a.supplier_code, d.supplier_name, a.po_number,--> <!-- a.packaging_type, a.unit, a.batch_no, a.serial_no, a.supplier_code, d.supplier_name, a.po_number,-->
<!-- a.po_line_number,--> <!-- a.po_line_number,-->