From 850915d9a5dd29a231724aa1c3be992a4f6c5e4a Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期四, 19 九月 2024 16:15:08 +0800 Subject: [PATCH] 处理日志 --- pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml index ecd826b..255f549 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PltProductMapper.xml @@ -211,7 +211,7 @@ select max(code) from plt_product </select> <select id="exists" resultType="java.lang.Boolean"> - select count(1) from plt_product where name = #{name} + select count(1) from plt_product where name = #{name} and type = #{type} <if test="id != null"> and id != #{id} </if> -- Gitblit v1.8.0