Browse Source

代码修改

LAPTOP-KB9HII50\70708 3 months ago
parent
commit
ef872157f7

+ 1 - 1
server/svr-authentication/src/main/java/com/yihu/jw/security/oauth2/provider/endpoint/WlyyLoginEndpoint.java

@ -2467,7 +2467,7 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
                        return ObjEnvelop.getError("验证码错误!");
                    }
                }
                String rs = registerService.updateDoctorPw(mobile, pw, wechatId);
                String rs = registerService.updatePatientPw(pw,mobile);
                if ("ok".equals(rs)) {
                    return ObjEnvelop.getSuccess("修改成功!");
                }

+ 0 - 8
svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/followup/controller/DoctorFollowUpController.java

@ -270,14 +270,6 @@ public class DoctorFollowUpController extends BaseController {
                              @RequestParam(value = "id", required = true) String id) {
        try {
            Map<String, String> response = followUpService.getFollowup(id);
            try {
                String sql = "UPDATE `wlyy`.`wlyy_followup` SET `doctor_read_status`='1' WHERE (`id`='"+id+"') ";
                jdbcTemplate.update(sql);
            }catch (Exception e){
                e.printStackTrace();
            }
            return write(200, "获取随访信息成功!", "data", response);
        } catch (ServiceException se) {
            return write(-1,se.getMessage());