|
@ -228,9 +228,12 @@ public class PatientController extends WeixinBaseController {
|
|
|
*/
|
|
|
@RequestMapping(value = "info")
|
|
|
@ResponseBody
|
|
|
public String info() {
|
|
|
public String info( @RequestParam(required = false)String patientCode) {
|
|
|
try {
|
|
|
Patient temp = patientInfoService.findByCode(getUID());
|
|
|
if(org.springframework.util.StringUtils.isEmpty(patientCode)){
|
|
|
patientCode=getUID();
|
|
|
}
|
|
|
Patient temp = patientInfoService.findByCode(patientCode);
|
|
|
if (temp != null) {
|
|
|
JSONObject json = new JSONObject();
|
|
|
// 设置患者标识
|