From d8c855fb9e26b7867fba3448ee094977a7067183 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期六, 27 七月 2024 10:01:54 +0800
Subject: [PATCH] mapper 及xml整理
---
pms-parent/pms-global/src/main/resources/mapper/PrProductionProcessMapper.xml | 2 +-
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionProcessMapper.java | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionProcessMapper.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionProcessMapper.java
index 252db23..bbbc3c9 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionProcessMapper.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/daoPr/PrProductionProcessMapper.java
@@ -31,7 +31,6 @@
int deleteLogicById(Long id);
- @MapKey("id")
List<Map<String,String>> queryAll(Long proId);
boolean exists(@Param("name") String name,@Param("id") Long id);
diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrProductionProcessMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrProductionProcessMapper.xml
index 30cd75a..dc74c6d 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrProductionProcessMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrProductionProcessMapper.xml
@@ -156,7 +156,7 @@
<!-- </if>-->
</trim>
</select>
- <select id="queryAll" resultType="java.util.List">
+ <select id="queryAll" resultType="java.util.HashMap">
select
CAST(id AS CHAR) AS id,name
from pr_production_process
--
Gitblit v1.8.0