| | |
| | | import org.springframework.web.multipart.MultipartHttpServletRequest; |
| | | |
| | | import java.text.ParseException; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | return ObjectUtils.isEmpty(response) ? ResultMessage.ok() : ResultMessage.ok(response); |
| | | } |
| | | long etime = System.currentTimeMillis(); |
| | | Map<Integer,HistorySecondCruiserResultDTO> map = new HashMap<>(); |
| | | /*List<Map<Integer,HistorySecondCruiserResultDTO>> mapList = new ArrayList<>(); |
| | | |
| | | for(int i = 0 ;i<response.size();i++){ |
| | | Map<Integer,HistorySecondCruiserResultDTO> map = new HashMap<>(); |
| | | map.put(i,response.get(i)); |
| | | } |
| | | mapList.add(map); |
| | | }*/ |
| | | //计算执行时间 |
| | | System.out.printf("执行时长:%d 毫秒.", (etime - stime)); |
| | | return ResultMessage.ok(map); |
| | | return ResultMessage.ok(response); |
| | | |
| | | |
| | | |