|
@@ -447,6 +447,19 @@ public class TaPersonController extends BaseController {
|
447
|
447
|
return ResponseBean.success(taPersonIPage);
|
448
|
448
|
}
|
449
|
449
|
|
|
450
|
+ @GetMapping("/wx/building/consultant")
|
|
451
|
+ public ResponseBean getWxBuildingConsultantList(
|
|
452
|
+ Integer pageNumber,
|
|
453
|
+ Integer pageSize,
|
|
454
|
+ String buildingId
|
|
455
|
+ ) {
|
|
456
|
+ if (null == pageNumber) pageNumber = 1;
|
|
457
|
+ if (null == pageSize) pageSize = 10;
|
|
458
|
+
|
|
459
|
+ IPage<TaUser> taPersonIPage = taPersonService.getBuildingConsultantList(pageNumber,pageSize,buildingId);
|
|
460
|
+ return ResponseBean.success(taPersonIPage);
|
|
461
|
+ }
|
|
462
|
+
|
450
|
463
|
@GetMapping("/admin/consultant/{id}")
|
451
|
464
|
public ResponseBean getConsultant(@PathVariable String id) {
|
452
|
465
|
TaPerson taPerson = taPersonService.getById(id);
|