提交 bb0f5599 authored 作者: liupengfei's avatar liupengfei

--no commit message

上级 cc589f78
...@@ -66,7 +66,7 @@ public interface MemberMapper extends BaseMapper<Member>{ ...@@ -66,7 +66,7 @@ public interface MemberMapper extends BaseMapper<Member>{
+ " select count(id) from m_member m " + " select count(id) from m_member m "
+ " where 1=1 " + " where 1=1 "
+ " eq(m.account,account) " + " eq(m.account,account) "
+ " eq(m.id,id) " + " ne(m.id,id) "
+ "</script>") + "</script>")
public int isExist(@Param("id")Integer id,@Param("account")String account); public int isExist(@Param("id")Integer id,@Param("account")String account);
...@@ -90,7 +90,7 @@ public interface MemberMapper extends BaseMapper<Member>{ ...@@ -90,7 +90,7 @@ public interface MemberMapper extends BaseMapper<Member>{
+ " select count(id) from m_member m " + " select count(id) from m_member m "
+ " where 1=1 " + " where 1=1 "
+ " eq(m.phone,phone) " + " eq(m.phone,phone) "
+ " eq(m.id,id) " + " ne(m.id,id) "
+ "</script>") + "</script>")
public int isExistPhone(@Param("id")Integer id,@Param("phone")String phone); public int isExistPhone(@Param("id")Integer id,@Param("phone")String phone);
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论