浏览代码

Merge branch 'dev' of chenweida/patient-co-management into dev

chenweida 8 年之前
父节点
当前提交
93051dc106

+ 5 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/account/PatientController.java

@ -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();
                // 设置患者标识