|
@ -1341,7 +1341,8 @@ public class DoctorInfoService extends BaseService {
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
if(doctor.getIscertified()==1){
|
|
|
if(doctor.getCertifiedOvertime().getTime()>System.currentTimeMillis()){
|
|
|
long certifiedOvertime = doctor.getCertifiedOvertime()!=null?doctor.getCertifiedOvertime().getTime():0;
|
|
|
if(certifiedOvertime>System.currentTimeMillis()){
|
|
|
//1、线上未认证,有证书,并有效,2、线上未认证,有证书,已过期,3、线上未认证,无证书,4、线上已认证,并有效
|
|
|
jsonObject.put("type",4);
|
|
|
String data = simpleDateFormat.format(doctor.getCertifiedOvertime());
|