if((!ObjectUtils.isEmpty(recordDeviceOperateReqVo.getStartStartuptime())) && (!ObjectUtils.isEmpty(recordDeviceOperateReqVo.getEndStartuptime()))){
if((recordDeviceOperateReqVo.getStartStartuptime()).compareTo(recordDeviceOperateReqVo.getEndStartuptime()) > 0){
return PagedRdfaResult.fail("403", "开始时间 必须小于 结束时间!");
}
}
java比较日期大小
最新推荐文章于 2022-08-17 16:06:54 发布