From ca511301d30594decf86b1a53eed3bbfc0b60ead Mon Sep 17 00:00:00 2001
From: cuilei <ray_tsu1@163.com>
Date: 星期二, 03 六月 2025 17:11:01 +0800
Subject: [PATCH] 工具管理-工具出库流水查询、导出接口调整

---
 lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/OutStoreDetailMapper.xml |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/OutStoreDetailMapper.xml b/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/OutStoreDetailMapper.xml
index 59e9ae8..1233eaf 100644
--- a/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/OutStoreDetailMapper.xml
+++ b/lxzn-module-tms/src/main/java/org/jeecg/modules/tms/mapper/xml/OutStoreDetailMapper.xml
@@ -5,18 +5,27 @@
     <select id="queryPageList" resultType="org.jeecg.modules.tms.entity.vo.OutStoreDetailVo">
         SELECT
             t1.id,
-            t1.tool_code toolCode,
+            t2.tool_code toolCode,
             t1.tool_id toolId,
             t1.out_storehouse_type outStorehouseType,
             t1.goods_shelves_code goodsShelvesCode,
             t1.out_number outNumber,
             t1.out_storehouse_id outStorehouseId,
-            t1.operate_type operateType,
+            case t1.operate_type
+                when '1' then '鐢宠鍗�'
+                when '2' then '鎵嬪伐鎿嶄綔'
+                else ''
+            end operateType,
             t1.create_by createBy,
             t1.create_time createTime,
             t2.chinese_name chineseName,
             t2.tool_model toolModel,
             t2.parama_table_name paramaTableName,
+            case t3.application_type
+                when '1' then '閫氱敤宸ュ叿'
+                when '2' then '涓撶敤宸ュ叿'
+                else ''
+            end applicationType,
         <choose>
             <when test="ew.paramNameValuePairs.paramaTableName == '1'">
                 t4.tool_material toolMaterial,

--
Gitblit v1.9.3