From b3ffc42f9e9645db0fdc5c7d4aef8f91c72fcb7a Mon Sep 17 00:00:00 2001
From: huangjiayang <5265313@qq.com>
Date: 星期二, 29 四月 2025 15:43:11 +0800
Subject: [PATCH] 【UPDATE】增加气柜管路统计表接口权限
---
aps-modules/aps-job/src/main/resources/mapper/job/ApsWorkOrderJobMapper.xml | 37 ++++++++++++++++++++++++++++++++++++-
1 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/aps-modules/aps-job/src/main/resources/mapper/job/ApsWorkOrderJobMapper.xml b/aps-modules/aps-job/src/main/resources/mapper/job/ApsWorkOrderJobMapper.xml
index d9babf5..bfeaeaa 100644
--- a/aps-modules/aps-job/src/main/resources/mapper/job/ApsWorkOrderJobMapper.xml
+++ b/aps-modules/aps-job/src/main/resources/mapper/job/ApsWorkOrderJobMapper.xml
@@ -81,7 +81,42 @@
<if test="delFlag != null and delFlag != ''"> and del_flag = #{delFlag}</if>
<if test="opStatus != null and opStatus != ''"> and op_status = #{opStatus}</if>
<if test="nextOpName != null and nextOpName != ''"> and next_op_name = #{nextOpName}</if>
- and doc_no is not null
+ </where>
+ </select>
+
+ <select id="selectApsWorkOrderJobListDocNoNotNull" parameterType="ApsWorkOrderJob" resultMap="ApsWorkOrderJobResult">
+ <include refid="selectApsWorkOrderJobVo"/>
+ <where>
+ <if test="orderId != null and orderId != ''"> and order_id = #{orderId}</if>
+ <if test="docNo != null and docNo != ''"> and doc_no = #{docNo}</if>
+ <if test="mainitemCode != null and mainitemCode != ''"> and mainitem_code = #{mainitemCode}</if>
+ <if test="mainitemFigure != null and mainitemFigure != ''"> and mainitem_figure = #{mainitemFigure}</if>
+ <if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
+ <if test="businessType != null "> and business_type = #{businessType}</if>
+ <if test="demandType != null and demandType != ''"> and demand_type = #{demandType}</if>
+ <if test="docStatus != null "> and doc_status = #{docStatus}</if>
+ <if test="itemCode != null and itemCode != ''"> and item_code = #{itemCode}</if>
+ <if test="itemFigure != null and itemFigure != ''"> and item_figure = #{itemFigure}</if>
+ <if test="itemFigureVersion != null and itemFigureVersion != ''"> and item_figure_version = #{itemFigureVersion}</if>
+ <if test="pruductQty != null "> and pruduct_qty = #{pruductQty}</if>
+ <if test="workQty != null "> and work_qty = #{workQty}</if>
+ <if test="opNum != null and opNum != ''"> and op_num = #{opNum}</if>
+ <if test="workCenter != null "> and work_center = #{workCenter}</if>
+ <if test="dept != null and dept != ''"> and dept = #{dept}</if>
+ <if test="startDate != null and startDate != ''"> and start_date = #{startDate}</if>
+ <if test="completeDate != null and completeDate != ''"> and complete_date = #{completeDate}</if>
+ <if test="nextDept != null and nextDept != ''"> and next_dept = #{nextDept}</if>
+ <if test="isHoldRelease != null "> and is_hold_release = #{isHoldRelease}</if>
+ <if test="isOutSource != null and isOutSource != ''"> and is_out_source = #{isOutSource}</if>
+ <if test="org != null and org != ''"> and org = #{org}</if>
+ <if test="pageNum != null "> and page_num = #{pageNum}</if>
+ <if test="pageIndex != null "> and page_index = #{pageIndex}</if>
+ <if test="orgCode != null and orgCode != ''"> and org_code = #{orgCode}</if>
+ <if test="processStatus != null and processStatus != ''"> and process_status = #{processStatus}</if>
+ <if test="delFlag != null and delFlag != ''"> and del_flag = #{delFlag}</if>
+ <if test="opStatus != null and opStatus != ''"> and op_status = #{opStatus}</if>
+ <if test="nextOpName != null and nextOpName != ''"> and next_op_name = #{nextOpName}</if>
+ and doc_no is not null
</where>
</select>
--
Gitblit v1.9.3