|
@@ -1,5 +1,6 @@
|
|
|
package com.fdkankan.sale.common;
|
|
|
|
|
|
+import com.fdkankan.sale.util.Dateutils;
|
|
|
import lombok.Data;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
|
|
@@ -29,14 +30,14 @@ public class RequestBase implements Serializable {
|
|
|
|
|
|
public String getStartTime() {
|
|
|
if(StringUtils.isBlank(startTime) && timeList != null && timeList.size() >0){
|
|
|
- return timeList.get(0);
|
|
|
+ return Dateutils.getStartTime(timeList.get(0));
|
|
|
}
|
|
|
return startTime;
|
|
|
}
|
|
|
|
|
|
public String getEndTime() {
|
|
|
if(StringUtils.isBlank(startTime) && timeList != null && timeList.size() >1){
|
|
|
- return timeList.get(1);
|
|
|
+ return Dateutils.getEndTime(timeList.get(1));
|
|
|
}
|
|
|
return endTime;
|
|
|
}
|