Fancy
2024-09-18 0941e5e4b815081edce568000030990e3fb04491
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>