Fancy
2024-09-18 0d05424b5df05f2e6ef478934cdaad9c71e5d91d
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>