| | |
| | | "<if test='loginUserInfoVO.communityName != null and loginUserInfoVO.communityName.trim() != ""'>" + |
| | | "AND c.`area_name` like concat(#{loginUserInfoVO.communityName},'%') \n" + |
| | | " </if> " + |
| | | " where u.face_state is not null and u.type=1" + |
| | | " where u.face_state is not null and u.type=1 and u.community_id=#{loginUserInfoVO.communityId} " + |
| | | "<if test='loginUserInfoVO.name != null and loginUserInfoVO.name.trim() != ""'>" + |
| | | "and u.`name` like concat(#{loginUserInfoVO.name},'%') \n" + |
| | | " </if> " + |
| | |
| | | "<if test='loginUserInfoVO.communityName != null and loginUserInfoVO.communityName.trim() != ""'>" + |
| | | "AND c.`area_name` like concat(#{loginUserInfoVO.communityName},'%') \n" + |
| | | " </if> " + |
| | | " <where>" + |
| | | " where u.community_id=#{loginUserInfoVO.communityId} " + |
| | | "<if test='loginUserInfoVO.name != null and loginUserInfoVO.name.trim() != ""'>" + |
| | | " and u.`name` like concat(#{loginUserInfoVO.name},'%') \n" + |
| | | " </if> " + |
| | | "<if test='loginUserInfoVO.phone != null and loginUserInfoVO.phone.trim() != ""'>" + |
| | | "AND u.phone like concat(#{loginUserInfoVO.phone},'%') " + |
| | | " </if> " + |
| | | " </where>" + |
| | | "</script>") |
| | | IPage<LoginUserInfoVO> pageUser(Page page, @Param("loginUserInfoVO") LoginUserInfoVO loginUserInfoVO); |
| | | |