| | |
| | | return new Response().setII(1,"解锁成功"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 包机组重做(穿梭框)查询所有的用户-更新为查询未被添加到权限组的所有用户 |
| | | */ |
| | | @ApiOperation(value = "包机组重做(穿梭框)查询所有的用户") |
| | | @GetMapping("searchCS_All2") |
| | | public Response searchCS_All2(){ |
| | | List<UserInf> list = userService.searchCS_All2(); |
| | | return new Response().set(1,list); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | import com.whyc.pojo.UserInf; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface UserMapper extends CustomMapper<UserInf> { |
| | | |
| | | UserInf getUserInfoByPhoneNumber(String phoneNumber); |
| | | |
| | | List<UserInf> searchCS_All2(); |
| | | |
| | | } |
| | |
| | | } |
| | | userMapper.update(null,wrapper); |
| | | } |
| | | |
| | | public List<UserInf> searchCS_All2() { |
| | | return userMapper.searchCS_All2(); |
| | | } |
| | | } |
| | |
| | | <select id="getUserInfoByPhoneNumber" resultType="com.whyc.pojo.UserInf"> |
| | | select * from db_user.tb_user_inf where uMobilephone =? limit 1 |
| | | </select> |
| | | <select id="searchCS_All2" resultType="com.whyc.pojo.UserInf"> |
| | | SELECT uId,uName FROM db_user.tb_user_inf where uId not in (select distinct uId from db_user.tb_user_permitgroup_data) and uId!=0 |
| | | order by uId |
| | | </select> |
| | | </mapper> |