|
@ -1,8 +1,6 @@
|
|
|
package com.yihu.jw.hospital.endpoint.team;
|
|
|
|
|
|
import com.yihu.jw.entity.base.patient.BasePatientDO;
|
|
|
import com.yihu.jw.patient.dao.BasePatientDao;
|
|
|
import com.yihu.jw.restmodel.web.Envelop;
|
|
|
import com.yihu.jw.restmodel.web.endpoint.EnvelopRestEndpoint;
|
|
|
import com.yihu.jw.team.service.TeamService;
|
|
|
import com.yihu.jw.wlyy.service.WlyyBusinessService;
|
|
@ -55,6 +53,7 @@ public class DoctorTeamEndpoint extends EnvelopRestEndpoint {
|
|
|
@GetMapping(value = "getAdminTeamList")
|
|
|
@ApiOperation(value = "获取社区团队列表")
|
|
|
public String getAdminTeamList(@RequestParam(required = false) String teamName,
|
|
|
@RequestParam(required = false) String teamId,
|
|
|
@RequestParam(required = false) String leadName,
|
|
|
@RequestParam(required = false) String doctorName,
|
|
|
@RequestParam(required = false) String mobile,
|
|
@ -62,7 +61,7 @@ public class DoctorTeamEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = false) Integer pageSize,
|
|
|
@RequestParam(required = false) String hospital) {
|
|
|
try {
|
|
|
return wlyyBusinessService.getAdminTeamList(teamName,leadName,page,pageSize,hospital,doctorName,mobile).toJSONString();
|
|
|
return wlyyBusinessService.getAdminTeamList(teamName,TONGAN_TOWN,teamId,leadName,page,pageSize,hospital,doctorName,mobile).toJSONString();
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1,"查询失败");
|
|
@ -102,7 +101,7 @@ public class DoctorTeamEndpoint extends EnvelopRestEndpoint {
|
|
|
public String getSignList(@RequestParam(required = false) String name,
|
|
|
@RequestParam(required = false) Integer page,
|
|
|
@RequestParam(required = false) Integer pageSize,
|
|
|
// @RequestParam(required = false) String town,
|
|
|
@RequestParam(required = false) String teamId,
|
|
|
@RequestParam(required = false) String hospital,
|
|
|
@RequestParam(required = false) String adminTeamCode,
|
|
|
@RequestParam(required = false) String doctor,
|
|
@ -115,7 +114,7 @@ public class DoctorTeamEndpoint extends EnvelopRestEndpoint {
|
|
|
@RequestParam(required = false) String leaderName) {
|
|
|
try {
|
|
|
return wlyyBusinessService.getSignList(name,page,pageSize,TONGAN_TOWN,hospital,adminTeamCode,doctor,doctorName,
|
|
|
doctorHealthName,hospitalName, idcard, address,teamName,leaderName).toJSONString();
|
|
|
doctorHealthName,hospitalName, idcard, address,teamName,leaderName,teamId).toJSONString();
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
return error(-1,"查询失败");
|