|
|
|
@ -4,7 +4,6 @@ import com.epmet.commons.tools.annotation.LoginUser; |
|
|
|
import com.epmet.commons.tools.aop.NoRepeatSubmit; |
|
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.security.dto.TokenDto; |
|
|
|
import com.epmet.commons.tools.utils.ExcelUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.AssertUtils; |
|
|
|
import com.epmet.commons.tools.validator.ValidatorUtils; |
|
|
|
@ -14,15 +13,10 @@ import com.epmet.commons.tools.validator.group.UpdateGroup; |
|
|
|
import com.epmet.dto.IcEventDTO; |
|
|
|
import com.epmet.dto.form.IcEventListFormDTO; |
|
|
|
import com.epmet.dto.result.IcEventListResultDTO; |
|
|
|
import com.epmet.excel.IcEventExcel; |
|
|
|
import com.epmet.service.IcEventService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
* 事件管理表 |
|
|
|
@ -76,11 +70,6 @@ public class IcEventController { |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("export") |
|
|
|
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception { |
|
|
|
List<IcEventDTO> list = icEventService.list(params); |
|
|
|
ExcelUtils.exportExcelToTarget(response, null, list, IcEventExcel.class); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|