From 02dab566014a28bbcd6b2a2004a857562101e459 Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期五, 26 四月 2024 09:11:09 +0800
Subject: [PATCH] 检验项目绑定产品;检验对象绑定产品
---
cnas-server/src/main/resources/mapper/CertificationMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/cnas-server/src/main/resources/mapper/CertificationMapper.xml b/cnas-server/src/main/resources/mapper/CertificationMapper.xml
index 2a355de..825ac46 100644
--- a/cnas-server/src/main/resources/mapper/CertificationMapper.xml
+++ b/cnas-server/src/main/resources/mapper/CertificationMapper.xml
@@ -13,16 +13,16 @@
expire_time,
u1.name create_user_name,
c.create_time,
- case when now()>expire_time then 0
+ case when now() > expire_time then 0
else 1 end as state,
image_url,
file_url
from certification c
left join user u1 on c.create_user = u1.id
order by c.id desc) a
- group by a.name
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
${ew.customSqlSegment}
</if>
+ group by name
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3