Przeglądaj źródła

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

chenweida 7 lat temu
rodzic
commit
606d949267

+ 18 - 0
patient-co-wlyy/src/main/java/com/yihu/wlyy/entity/patient/prescription/PrescriptionLog.java

@ -35,6 +35,8 @@ public class PrescriptionLog extends IdEntity {
    private Integer userType;                 //1 患者 2医生
    private Integer userType;                 //1 患者 2医生
    private Integer flag;                      //操作是否成功 1成功 0失败
    private Integer flag;                      //操作是否成功 1成功 0失败
    private String remark;                     //备注信息
    private String remark;                     //备注信息
    private String hospital;//医院code
    private String hospitalName;//医院名称
    @Column(name = "code")
    @Column(name = "code")
    public String getCode() {
    public String getCode() {
@ -125,4 +127,20 @@ public class PrescriptionLog extends IdEntity {
    public void setStatus(Integer status) {
    public void setStatus(Integer status) {
        this.status = status;
        this.status = status;
    }
    }
    public String getHospital() {
        return hospital;
    }
    public void setHospital(String hospital) {
        this.hospital = hospital;
    }
    public String getHospitalName() {
        return hospitalName;
    }
    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }
}
}

+ 2 - 2
patient-co-wlyy/src/main/java/com/yihu/wlyy/interceptors/PatientInterceptor.java

@ -26,7 +26,7 @@ public class PatientInterceptor extends BaseInterceptor {
	@Override
	@Override
	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
	public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
		boolean flag = true;
		boolean flag = true;
		/*try {
		try {
			request.setCharacterEncoding("UTF-8");
			request.setCharacterEncoding("UTF-8");
			request.setAttribute("log-start", new Date().getTime());
			request.setAttribute("log-start", new Date().getTime());
			if(request.getRequestURI().contains("/patient/hosptail/getHositalByTownCode")||request.getRequestURI().contains("/patient/feedback/saveAppeal")){
			if(request.getRequestURI().contains("/patient/hosptail/getHositalByTownCode")||request.getRequestURI().contains("/patient/feedback/saveAppeal")){
@ -90,7 +90,7 @@ public class PatientInterceptor extends BaseInterceptor {
			}
			}
		} catch (Exception e) {
		} catch (Exception e) {
			e.printStackTrace();
			e.printStackTrace();
		}*/
		}
		return flag;
		return flag;
	}
	}