Procházet zdrojové kódy

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

release_toaliyun_real
gongbiao před 7 roky
rodič
revize
2594c19c61
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      mallinkService/src/main/resources/mapper/WxBrandMapper.xml

+ 2
- 2
mallinkService/src/main/resources/mapper/WxBrandMapper.xml Zobrazit soubor

@@ -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>


Načítá se…
Zrušit
Uložit