mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
1、新增组织产品有效期时间查询接口;2、组织查询、分页的超期时间修改为Date类型;
This commit is contained in:
+5
@@ -76,6 +76,11 @@ public class DateUtils {
|
||||
return now.isAfter(time);
|
||||
}
|
||||
|
||||
public static boolean isExpired(LocalDate time) {
|
||||
LocalDate now = LocalDate.now();
|
||||
return now.isAfter(time);
|
||||
}
|
||||
|
||||
public static long diff(Date endTime, Date startTime) {
|
||||
return endTime.getTime() - startTime.getTime();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user