|
@ -51,9 +51,11 @@ public class SignEndpoint extends EnvelopRestEndpoint {
|
|
|
@ApiOperation(value = "查找签约机构")
|
|
|
public ListEnvelop findSignOrg (
|
|
|
@ApiParam(name = "patient", value = "医生code", required = true)
|
|
|
@RequestParam(value = "patient",required = true) String patient) throws Exception {
|
|
|
@RequestParam(value = "patient",required = true) String patient,
|
|
|
@ApiParam(name = "type", value = "类型 3 养老 4 教育,1 医疗", required = false)
|
|
|
@RequestParam(value = "type",required = false) String type) throws Exception {
|
|
|
try{
|
|
|
return ListEnvelop.getSuccess("查询成功",servicePackageService.findSignOrg(patient));
|
|
|
return ListEnvelop.getSuccess("查询成功",servicePackageService.findSignOrg(patient,type));
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return ListEnvelop.getError("查询失败");
|