|
@ -567,7 +567,7 @@ public class SignWebService extends BaseService {
|
|
|
}
|
|
|
}else {
|
|
|
Consult consult = consultDao.findByCode(consultCode);
|
|
|
if(signFamily.getApplyDate().getTime()-consult.getCzrq().getTime()<0){// 判断咨询是否在签约之后
|
|
|
if(signFamily.getApplyDate().getTime()-consult.getCzrq().getTime()>0){// 判断咨询是否在签约之后
|
|
|
signFamily = signFamilyDao.findOutTimeSigningByPatientAndTeamCode(patient,teamCode);
|
|
|
if(signFamily==null){
|
|
|
throw new RuntimeException("找不到签约关系!");
|