From 607cff1cefe640dee994e6d18d5f6a8f23c62755 Mon Sep 17 00:00:00 2001
From: jiaosong <jiaosong6760@dingtalk.com>
Date: 星期二, 22 八月 2023 17:38:56 +0800
Subject: [PATCH] # 修改配置角色 报角色编码存在

---
 server/src/main/resources/mappers/PlansExtMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/src/main/resources/mappers/PlansExtMapper.xml b/server/src/main/resources/mappers/PlansExtMapper.xml
index f9a3dae..7b3b4d6 100644
--- a/server/src/main/resources/mappers/PlansExtMapper.xml
+++ b/server/src/main/resources/mappers/PlansExtMapper.xml
@@ -303,7 +303,7 @@
     order by b.SORTNUM
   </select>
   <select id="selectStatisticsList" parameterType="doumeemes.dao.ext.dto.QueryPlansExtDTO" resultType="doumeemes.dao.business.dto.statistics.ProcedurePlansPageModel">
-    select a.status,a.NUM,m.name as categoryName,m.code as materialCode
+    select a.status,a.NUM,m.name as categoryName,m.code as materialCode,m.name as materialName
     ,(select sum(b.UNQUALIFIED_NUM) from workorder_record b where b.type=1 and b.DELETED=0 and b.PLAN_ID=a.id) as unqualifiedNum
     ,(select sum(b.QUALIFIED_NUM) from workorder_record b where b.type=1 and b.DELETED=0 and b.PLAN_ID=a.id) as qualifiedNum
     FROM `plans` `a`

--
Gitblit v1.9.3