| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.concurrent.ExecutionException; |
| | | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import jakarta.validation.constraints.NotEmpty; |
| | | import io.swagger.annotations.Api; |
| | |
| | | Integer unitId, |
| | | String startTime, |
| | | Boolean needUpdateUnit, |
| | | String endTime) throws IOException, ParseException { |
| | | String endTime) throws IOException, ParseException, ExecutionException, InterruptedException { |
| | | Date start = null; |
| | | Date end = null; |
| | | if (-1 == unitId) { |