提交 2aa60552 编写于 作者: wangxinxu's avatar wangxinxu

获取成员信息

上级 418abcc1
流水线 #52953 已失败 于阶段
......@@ -64,7 +64,7 @@ public interface PatHealthPackClient {
PicaResponse<Boolean> updatePatByAcctId(@RequestBody UpdateAcctPatInfoReq req);
@GetMapping(value = "/account/pat-health/acctInfo/patId/{patientId}")
PicaResponse<AcctSelfPatInfoResp> getAcctInfoByPatId(@PathVariable("patientId") Integer patientId);
PicaResponse<List<AcctSelfPatInfoResp>> getAcctInfoByPatId(@PathVariable("patientId") Integer patientId);
@GetMapping(value = "/account/pat-health/acctInfo/patInfo/{unionId}")
PicaResponse<AcctSelfPatInfoResp> getAcctInfoByUnionId(@PathVariable("unionId") String unionId);
......
......@@ -140,7 +140,7 @@ public class PatHealthPackController {
@ApiOperation("获取主账户-作为监护人自身patientId")
@GetMapping(value = "/acctInfo/patId/{patientId}")
public PicaResponse<AcctSelfPatInfoResp> getAcctInfoByPatId(@PathVariable("patientId") Integer patientId) throws Exception {
public PicaResponse<List<AcctSelfPatInfoResp>> getAcctInfoByPatId(@PathVariable("patientId") Integer patientId) throws Exception {
return PicaResponse.toResponse(packService.getAcctInfoByPatId(patientId));
}
......
......@@ -48,7 +48,7 @@ public interface AcctPatFamilyMapper {
List<Integer> queryPatIdByPage(Map map);
AcctSelfPatInfoResp getAcctInfoByPatIdSelf(Integer patId);
List<AcctSelfPatInfoResp> getAcctInfoByPatIdSelf(Integer patId);
AcctSelfPatInfoResp getAcctInfoByUnionId(String unionId);
List<Integer> getPatIdsByUnionId(String unionId);
......
......@@ -51,7 +51,7 @@ public interface PatHealthPackService {
void updatePat(UpdateAcctPatInfoReq req);
AcctSelfPatInfoResp getAcctInfoByPatId(Integer patientId);
List<AcctSelfPatInfoResp> getAcctInfoByPatId(Integer patientId);
AcctSelfPatInfoResp getAcctInfoByUnionId(String unionId);
}
......@@ -641,7 +641,7 @@ public class PatHealthPackServiceIml implements PatHealthPackService {
}
@Override
public AcctSelfPatInfoResp getAcctInfoByPatId(Integer patientId) {
public List<AcctSelfPatInfoResp> getAcctInfoByPatId(Integer patientId) {
return patFamilyMapper.getAcctInfoByPatIdSelf(patientId);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册