| | |
| | | @RequestParam("phoneOrname") String phoneOrname); |
| | | |
| | | |
| | | |
| | | @GetMapping("/selectUserListB") |
| | | public R selectUserListB(@RequestParam("communityId") String communityId, |
| | | @RequestParam("phoneOrname") String phoneOrname); |
| | | |
| | | |
| | | |
| | | @GetMapping("/FightConvenient/selectUserBind") |
| | | public R selectUserBind(@RequestParam("communityId") String communityId, |
| | | @RequestParam("userId") String userId); |
| | |
| | | @GetMapping("/selectUserList") |
| | | public R selectUserList(@RequestParam("phoneOrname") String phoneOrname) |
| | | { |
| | | return newStriveForFeign.selectUserList(getCommunityId()+"",phoneOrname); |
| | | return newStriveForFeign.selectUserListB(getCommunityId()+"",phoneOrname); |
| | | } |
| | | |
| | | |
| | |
| | | return merchantService.selectUserList(communityId,phoneOrname); |
| | | } |
| | | |
| | | @GetMapping("/selectUserListB") |
| | | public R selectUserListB(@RequestParam("communityId") String communityId, |
| | | @RequestParam("phoneOrname") String phoneOrname) |
| | | { |
| | | return merchantService.selectUserListB(communityId,phoneOrname); |
| | | } |
| | | |
| | | |
| | | @GetMapping("/selectUserBind") |
| | | public R selectUserBind(@RequestParam("communityId") String communityId, |
| | | @RequestParam("userId") String userId) |
| | |
| | | @Param("phoneOrname") String phoneOrname); |
| | | |
| | | |
| | | List<SysUserVO> selectUserListB(@Param("communityId") String communityId, |
| | | @Param("phoneOrname") String phoneOrname); |
| | | |
| | | |
| | | String selectUserBind(@Param("communityId") String communityId, |
| | | @Param("userId") String userId); |
| | | |
| | |
| | | |
| | | R selectUserList(String communityId,String phoneOrname); |
| | | |
| | | R selectUserListB(String communityId,String phoneOrname); |
| | | |
| | | |
| | | R selectUserBind(String communityId, String userId); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R selectUserListB(String communityId, String phoneOrname) { |
| | | return R.ok(baseMapper.selectUserListB(communityId,phoneOrname)); |
| | | } |
| | | |
| | | @Override |
| | | public R selectUserBind(String communityId, String userId) { |
| | | return R.ok(baseMapper.selectUserBind(communityId,userId)); |
| | | } |
| | |
| | | </select> |
| | | |
| | | |
| | | <select id="selectUserListB" resultType="com.panzhihua.common.model.vos.user.SysUserVO"> |
| | | select su.user_id,su.phone,su.nick_name,su.name,su.community_id |
| | | from sys_user as su |
| | | <where> |
| | | 1=1 |
| | | and su.app_id='wx118de8a734d269f0' |
| | | <if test="communityId!=null and communityId !='' "> |
| | | and su.community_id=#{communityId} |
| | | </if> |
| | | <if test="phoneOrname!=null and phoneOrname !=''"> |
| | | and (su.name like concat ('%',#{phoneOrname},'%') or |
| | | su.phone like concat ('%',#{phoneOrname},'%') or |
| | | su.nick_name like concat ('%',#{phoneOrname},'%') |
| | | ) |
| | | </if> |
| | | |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | |
| | | <select id="selectUserBind" resultType="String"> |
| | | select id from new_fight_com_convenient_merchants |
| | | <where> |