发布等
This commit is contained in:
@@ -51,10 +51,19 @@
|
||||
|
||||
SELECT * from zt_user WHERE 1=1
|
||||
<if test="qo.account != null and qo.account != '' ">
|
||||
and nickname =#{qo.account}
|
||||
and nickname like concat('%', #{qo.account}, '%')
|
||||
or account like concat('%', #{qo.account}, '%')
|
||||
or pinyin like concat('%', #{qo.account}, '%')
|
||||
</if>
|
||||
order by id desc
|
||||
|
||||
</select>
|
||||
<select id="listAll" resultType="com.sa.zentao.dao.ZtUserDTO">
|
||||
SELECT * from zt_user WHERE 1=1
|
||||
|
||||
</select>
|
||||
<select id="selectPrdByName" resultType="com.sa.zentao.entity.ZtUser">
|
||||
SELECT * from zt_user WHERE 1=1 and account=#{name}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user