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