From a33396e17dd847f31b62f416f7d9c5a58b79126b Mon Sep 17 00:00:00 2001
From: XiaoRuby <3114200645@qq.com>
Date: 星期五, 28 七月 2023 09:02:29 +0800
Subject: [PATCH] LIMS管理系统框架-开发7-28早上
---
standard-server/src/main/resources/mapper/ProductMapper.xml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/standard-server/src/main/resources/mapper/ProductMapper.xml b/standard-server/src/main/resources/mapper/ProductMapper.xml
index 7596baa..8a2d7fd 100644
--- a/standard-server/src/main/resources/mapper/ProductMapper.xml
+++ b/standard-server/src/main/resources/mapper/ProductMapper.xml
@@ -5,8 +5,9 @@
<select id="pageProductInformation" resultType="map">
SELECT COUNT(1) num, p.`father`
FROM product p
+ WHERE p.`specifications_id` = #{specificationsId}
<if test="productCodeOrName != null and productCodeOrName != ''">
- WHERE p.`father` = #{productCodeOrName}
+ AND p.`father` = #{productCodeOrName}
</if>
GROUP BY p.`father`
</select>
--
Gitblit v1.9.3