This website works better with JavaScript.
Home
Explore
Help
Sign In
server
/
formallProject
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[品牌][修改][查询名称是否存在]
release_toaliyun_real
gongbiao
7 years ago
parent
6254ea30c4
commit
2594c19c61
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
mallinkService/src/main/resources/mapper/WxBrandMapper.xml
+ 2
- 2
mallinkService/src/main/resources/mapper/WxBrandMapper.xml
View File
@@ -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>
Write
Preview
Loading…
Cancel
Save