开发同学页面接口
This commit is contained in:
		| @@ -27,6 +27,8 @@ public interface SysWxUserInfoMapper | ||||
|      */ | ||||
|     public List<SysWxUserInfo> selectSysWxUserInfoList(SysWxUserInfo sysWxUserInfo); | ||||
|  | ||||
|     public List<SysWxUserInfo> selectSysWxUserInfoListNot(SysWxUserInfo sysWxUserInfo); | ||||
|  | ||||
|     /** | ||||
|      * 新增微信用户 | ||||
|      * | ||||
|   | ||||
| @@ -27,6 +27,8 @@ public interface ISysWxUserInfoService | ||||
|      */ | ||||
|     public List<SysWxUserInfo> selectSysWxUserInfoList(SysWxUserInfo sysWxUserInfo); | ||||
|  | ||||
|     public List<SysWxUserInfo> selectSysWxUserInfoListNot(SysWxUserInfo sysWxUserInfo); | ||||
|  | ||||
|     /** | ||||
|      * 新增微信用户 | ||||
|      * | ||||
|   | ||||
| @@ -44,6 +44,11 @@ public class SysWxUserInfoServiceImpl implements ISysWxUserInfoService | ||||
|         return sysWxUserInfoMapper.selectSysWxUserInfoList(sysWxUserInfo); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public List<SysWxUserInfo> selectSysWxUserInfoListNot(SysWxUserInfo sysWxUserInfo) { | ||||
|         return sysWxUserInfoMapper.selectSysWxUserInfoListNot(sysWxUserInfo); | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * 新增微信用户 | ||||
|      * | ||||
|   | ||||
| @@ -35,6 +35,17 @@ | ||||
|         </where> | ||||
|     </select> | ||||
|  | ||||
|     <select id="selectSysWxUserInfoListNot" parameterType="SysWxUserInfo" resultMap="SysWxUserInfoResult"> | ||||
|         <include refid="selectSysWxUserInfoVo"/> | ||||
|         <where> | ||||
|             <if test="nickName != null  and nickName != ''"> and nick_name like concat('%', #{nickName}, '%')</if> | ||||
|             <if test="appid != null  and appid != ''"> and appid = #{appid}</if> | ||||
|             <if test="openid != null  and openid != ''"> and openid != #{openid}</if> | ||||
|             <if test="phone != null  and phone != ''"> and phone = #{phone}</if> | ||||
|             <if test="sex != null  and sex != ''"> and sex = #{sex}</if> | ||||
|         </where> | ||||
|     </select> | ||||
|  | ||||
|     <select id="selectSysWxUserInfoById" parameterType="String" resultMap="SysWxUserInfoResult"> | ||||
|         <include refid="selectSysWxUserInfoVo"/> | ||||
|         where openid = #{openid} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user