| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.UnsupportedEncodingException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDate; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @author :yys |
| | |
| | | @ApiOperation("劳保发放-分页查询") |
| | | public AjaxResult listPage(Page page, LaborIssue laborIssue){ |
| | | IPage<LaborIssue> listPage = laborIssueService.listPage(page, laborIssue); |
| | | return AjaxResult.success(listPage); |
| | | } |
| | | |
| | | @GetMapping("/statisticsList") |
| | | @Log(title = "劳保发放-统计查询", businessType = BusinessType.OTHER) |
| | | @ApiOperation("劳保发放-统计查询") |
| | | public AjaxResult statisticsList(LaborIssue laborIssue){ |
| | | List<Map<String, Object>> listPage = laborIssueService.statisticsList(laborIssue); |
| | | return AjaxResult.success(listPage); |
| | | } |
| | | |
| | |
| | | util.exportExcel(response, list , "劳保台账"); |
| | | } |
| | | |
| | | /** |
| | | * 劳保发放-导出 |
| | | */ |
| | | @Log(title = "劳保发放-导出", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/exportCopy") |
| | | @ApiOperation("劳保发放-导出") |
| | | public void exportCopy(HttpServletResponse response,LaborIssue laborIssue) throws UnsupportedEncodingException { |
| | | laborIssueService.exportCopy(response,laborIssue); |
| | | } |
| | | |
| | | } |