|
|
|
@ -37,13 +37,36 @@ public class MetaActualUserInfoController extends BaseController {
|
|
|
|
|
@ApiOperation("查询实有人口信息表")
|
|
|
|
|
public TableDataInfo<MetaActualUserInfo> list(MetaActualUserInfo metaActualUserInfo) {
|
|
|
|
|
startPage();
|
|
|
|
|
QueryWrapper<MetaActualUserInfo> querySyrkWrapper = new QueryWrapper<>();
|
|
|
|
|
QueryWrapper<MetaActualUserInfo> querySyrkWrapper = new QueryWrapper<>(metaActualUserInfo);
|
|
|
|
|
querySyrkWrapper.ne("actual_user_type", 101);
|
|
|
|
|
querySyrkWrapper.orderByDesc("house_hold_address");
|
|
|
|
|
List<MetaActualUserInfo> list = metaActualUserInfoService.list(querySyrkWrapper);
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/ldrk")
|
|
|
|
|
@ApiOperation("查询流动人口信息表")
|
|
|
|
|
public TableDataInfo<MetaActualUserInfo> ldrkList(MetaActualUserInfo metaActualUserInfo) {
|
|
|
|
|
startPage();
|
|
|
|
|
QueryWrapper<MetaActualUserInfo> queryLdrkWrapper = new QueryWrapper<>(metaActualUserInfo);
|
|
|
|
|
queryLdrkWrapper.eq("actual_user_type", 102);
|
|
|
|
|
queryLdrkWrapper.orderByDesc("house_hold_address");
|
|
|
|
|
List<MetaActualUserInfo> list = metaActualUserInfoService.list(queryLdrkWrapper);
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@GetMapping("/czry")
|
|
|
|
|
@ApiOperation("查询常住人口信息表")
|
|
|
|
|
public TableDataInfo<MetaActualUserInfo> czryList(MetaActualUserInfo metaActualUserInfo) {
|
|
|
|
|
startPage();
|
|
|
|
|
QueryWrapper<MetaActualUserInfo> queryCzryWrapper = new QueryWrapper<>(metaActualUserInfo);
|
|
|
|
|
queryCzryWrapper.ne("actual_user_type", 102);
|
|
|
|
|
queryCzryWrapper.ne("actual_user_type", 101);
|
|
|
|
|
queryCzryWrapper.orderByDesc("house_hold_address");
|
|
|
|
|
List<MetaActualUserInfo> list = metaActualUserInfoService.list(queryCzryWrapper);
|
|
|
|
|
return getDataTable(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PostMapping
|
|
|
|
|
@ApiOperation("新增实有人口信息表")
|
|
|
|
|
@Log(title = "实有人口信息表", businessType = BusinessType.INSERT)
|
|
|
|
|