| | |
| | | package com.project.admin.controller.enforce; |
| | | |
| | | import java.util.List; |
| | | import java.util.Arrays; |
| | | |
| | | import com.project.common.annotation.RepeatSubmit; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.project.common.annotation.Log; |
| | | import com.project.common.annotation.RepeatSubmit; |
| | | import com.project.common.core.controller.BaseController; |
| | | import com.project.common.core.domain.AjaxResult; |
| | | import com.project.common.core.page.TableDataInfo; |
| | | import com.project.common.enums.BusinessType; |
| | | import com.project.enforce.domain.vo.EnforceOrderVo; |
| | | import com.project.common.utils.poi.ExcelUtil; |
| | | import com.project.enforce.domain.bo.editBo.EnforceOrderBo; |
| | | import com.project.enforce.domain.bo.queryBo.EnforceOrderQueryBo; |
| | | import com.project.enforce.domain.vo.EnforceOrderVo; |
| | | import com.project.enforce.service.IEnforceOrderService; |
| | | import com.project.common.utils.poi.ExcelUtil; |
| | | import com.project.common.core.page.TableDataInfo; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 执法单Controller |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation("查询执法单待审核列表") |
| | | @GetMapping("/checkList") |
| | | public TableDataInfo checkList(EnforceOrderQueryBo bo) |
| | | { |
| | | startPage(); |
| | | List<EnforceOrderVo> list = iEnforceOrderService.queryCheckList(bo); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | |
| | | @ApiOperation("导出执法单列表") |
| | | //@PreAuthorize("@ss.hasPermi('enforce:order:export')") |
| | |
| | | public AjaxResult export(EnforceOrderQueryBo bo) |
| | | { |
| | | List<EnforceOrderVo> list = iEnforceOrderService.queryList(bo); |
| | | ExcelUtil<EnforceOrderVo> util = new ExcelUtil<EnforceOrderVo>(EnforceOrderVo.class); |
| | | ExcelUtil<EnforceOrderVo> util = new ExcelUtil<>(EnforceOrderVo.class); |
| | | return util.exportExcel(list, "执法单"); |
| | | } |
| | | |