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>