Explorar el Código

[品牌][修改][查询名称是否存在]

release_toaliyun_real
gongbiao hace 7 años
padre
commit
2594c19c61
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxBrandMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxBrandMapper.xml Ver fichero

@@ -43,9 +43,9 @@
</select>
<select id="hasBrand" parameterType="com.iformall.domain.po.WxBrand" resultType="Integer">
select count(*) from wx_brand where tenant_id=#{tenantId} and name=#{name}
select count(*) from wx_brand where tenant_id=#{tenantId} and `name`=#{name}
<if test=" null != id">
and id = #{id}
and id != #{id}
</if>
</select>


Cargando…
Cancelar
Guardar