|
|
@ -289,7 +289,7 @@ public class WisdomCarService implements IWisdomCarService { |
|
|
|
throw new BaseException(Constant.PATIENT_NOT_FOUND); |
|
|
|
} |
|
|
|
//开始时间不能大于当前时间,结束时间不能小于开始时间
|
|
|
|
System.out.println(System.currentTimeMillis()); |
|
|
|
//System.out.println(System.currentTimeMillis());
|
|
|
|
if (param.getEndTime() < param.getStartTime() || param.getStartTime() > System.currentTimeMillis()){ |
|
|
|
throw new BaseException(CodeEnum.PARAM_ERROR); |
|
|
|
} |
|
|
|