按照状态排序
This commit is contained in:
parent
fa3e5d2c0b
commit
77b3757348
|
|
@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.*;
|
|||
@Api(tags = "App*用户信息")
|
||||
@RestController
|
||||
@RequestMapping(value = "/app/user")
|
||||
@CrossOrigin(origins = "*")
|
||||
public class TbUserAppController {
|
||||
|
||||
@Autowired
|
||||
|
|
|
|||
|
|
@ -119,6 +119,7 @@ public class TbUserSingleAppController {
|
|||
PageHelper.startPage(pageNum, pageSize);
|
||||
List<TbUserSingle> list = tbUserSingleService.lambdaQuery()
|
||||
.ne(ObjectUtil.isNotEmpty(notExcludeSex), TbUserSingle::getSex, notExcludeSex)
|
||||
.orderByDesc(TbUserSingle::getStatus)
|
||||
.list();
|
||||
list.forEach(model->{
|
||||
//填充年纪
|
||||
|
|
|
|||
Loading…
Reference in New Issue