Browse Source

业务日志添加

lyr 8 năm trước cách đây
mục cha
commit
6436b0ad50

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/logs/BusinessLogs.java

@ -32,7 +32,7 @@ public class BusinessLogs {
        // 标签
        // 标签
        , label
        , label
        // 签约
        // 签约
        , sign
        , register
    }
    }
    /**
    /**

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/common/account/WechatController.java

@ -312,7 +312,7 @@ public class WechatController extends WeixinBaseController {
            if (json != null) {
            if (json != null) {
                try {
                try {
                    Patient p = patientDao.findByIdcard(idcard);
                    Patient p = patientDao.findByIdcard(idcard);
                    BusinessLogs.info(BusinessLogs.BusinessType.sign, p.getCode(), new JSONObject(p));
                    BusinessLogs.info(BusinessLogs.BusinessType.register, p.getCode(), new JSONObject(p));
                } catch (Exception e) {
                } catch (Exception e) {
                    e.printStackTrace();
                    e.printStackTrace();
                }
                }

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/doctor/sign/DoctorFamilyContractController.java

@ -318,7 +318,7 @@ public class DoctorFamilyContractController extends WeixinBaseController {
            } else {
            } else {
                try {
                try {
                    Patient p = patientService.findByIdcard(idcard);
                    Patient p = patientService.findByIdcard(idcard);
                    BusinessLogs.info(BusinessLogs.BusinessType.sign, p.getCode(), new JSONObject(p));
                    BusinessLogs.info(BusinessLogs.BusinessType.register, p.getCode(), new JSONObject(p));
                } catch (Exception e) {
                } catch (Exception e) {
                    e.printStackTrace();
                    e.printStackTrace();
                }
                }