|
@ -31,9 +31,9 @@ public class XzyyController extends EnvelopRestEndpoint {
|
|
|
*/
|
|
|
@GetMapping(value = "/findPatientCard")
|
|
|
@ApiOperation(value = "查询患者就诊卡", notes = "查询患者就诊卡")
|
|
|
public ListEnvelop findPatientCard(@ApiParam(name = "idCard", value = "身份证号", required = false)
|
|
|
@RequestParam(value = "idCard",required = false)String idCard)throws Exception{
|
|
|
return success(xzzxEntranceService.selectPateintCard(idCard));
|
|
|
public ListEnvelop findPatientCard(@ApiParam(name = "patient", value = "居民code", required = false)
|
|
|
@RequestParam(value = "patient",required = false)String patient)throws Exception{
|
|
|
return success(xzzxEntranceService.selectPateintCard(patient));
|
|
|
}
|
|
|
|
|
|
|
|
@ -87,7 +87,7 @@ public class XzyyController extends EnvelopRestEndpoint {
|
|
|
@ApiParam(name = "conNo", value = "就诊次数", required = false)
|
|
|
@RequestParam(value = "conNo",required = false)String conNo)throws Exception{
|
|
|
try {
|
|
|
return ObjEnvelop.getSuccess("ok",xzzxEntranceService.findOutpatientInfo(patient,conNo));
|
|
|
return ObjEnvelop.getSuccess("ok",xzzxEntranceService.selectOutpatientInfo(patient,conNo));
|
|
|
} catch (Exception e) {
|
|
|
return ObjEnvelop.getError(e.getMessage());
|
|
|
}
|