|
@@ -254,10 +254,16 @@ public class CaseInquestCriminal implements Serializable {
|
|
|
private List<Date> times;
|
|
|
|
|
|
public Date getStartTime() {
|
|
|
+ if(times == null || times.isEmpty()){
|
|
|
+ return startTime;
|
|
|
+ }
|
|
|
return times.get(0);
|
|
|
}
|
|
|
|
|
|
public Date getEndTime() {
|
|
|
+ if(times == null || times.isEmpty()){
|
|
|
+ return endTime;
|
|
|
+ }
|
|
|
return times.get(1);
|
|
|
}
|
|
|
}
|