lyr 8 سال پیش
والد
کامیت
c81b2c3fbc

+ 2 - 0
src/main/java/com/yihu/wlyy/service/app/scheduling/DoctorWorkTimeService.java

@ -523,4 +523,6 @@ public class DoctorWorkTimeService extends BaseService {
            e.printStackTrace();
        }
    }
}

+ 1 - 1
src/main/java/com/yihu/wlyy/service/app/sign/FamilyContractService.java

@ -1383,7 +1383,7 @@ public class FamilyContractService extends BaseService {
    public SignFamily findByFamilySignPatient(String code) {
        return signFamilyDao.findByPatientFamilySignInfo(code);
        return signFamilyDao.findFamilySignByPatient(code);
    }
    public SignFamily findByJiatingPatient(String code) {

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

@ -562,12 +562,12 @@ public class PatientController extends WeixinBaseController {
        try {
            JSONObject jsonObject = new JSONObject();
            //判断是否有三师签约
            SignFamily ss = familyContractService.findBySanshiPatient(getUID());  // -1 未签约  0 待签约 1 已签约 2待解约
            SignFamily ss = familyContractService.findBySanshiPatient("b9d291cdc8264afeb9b598effd3c9a34");  // -1 未签约  0 待签约 1 已签约 2待解约 //getUID()
            if (ss != null) {
                return write(200, "获取签约状态成功!", "data", ss.getStatus());
            }
            //判断是否有家庭签约
            SignFamily sf = familyContractService.findByFamilySignPatient(getUID());
            SignFamily sf = familyContractService.findByFamilySignPatient("b9d291cdc8264afeb9b598effd3c9a34"); //getUID()
            if (sf != null) {
                return write(200, "获取签约状态成功!", "data", sf.getStatus());
            }