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