| | |
| | | import org.springframework.util.StringUtils; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author:xp |
| | |
| | | public class QuestionExportVO { |
| | | |
| | | /** |
| | | * 题型 |
| | | * 课目 |
| | | */ |
| | | private Integer questionType; |
| | | private List<Integer> subjectIds; |
| | | |
| | | /** |
| | | * 开始时间 |
| | | */ |
| | | private String startStr; |
| | | private Date start; |
| | | |
| | | /** |
| | | * 结束时间 |
| | | */ |
| | | private String endStr; |
| | | private Date end; |
| | | |
| | | public void formartTime() { |
| | | if (StringUtils.hasText(startStr)) { |
| | | start = DateTimeUtil.parse(startStr, "yyyy-MM-dd HH:mm:ss"); |
| | | } |
| | | if (StringUtils.hasText(endStr)) { |
| | | end = DateTimeUtil.parse(endStr, "yyyy-MM-dd HH:mm:ss"); |
| | | } |
| | | } |
| | | |
| | | } |