| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * 施工进度上报表 前端控制器 |
| | |
| | | } |
| | | |
| | | /** |
| | | * 新增上报 |
| | | * 上报详情 |
| | | */ |
| | | @GetMapping(value = "/detail") |
| | | public R detail(String id) { |
| | |
| | | sgProgressReportService.approval(approvalDTO); |
| | | return R.success("审批成功"); |
| | | } |
| | | |
| | | /** |
| | | * APP审核列表 |
| | | */ |
| | | @GetMapping(value = "/list") |
| | | public R queryList(ProjectSearchDTO searchDTO) { |
| | | List<SgProgressReportVO> list = sgProgressReportService.queryList( searchDTO); |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * APP审核列表 |
| | | */ |
| | | @GetMapping(value = "/approval_count") |
| | | public R countList(ProjectSearchDTO searchDTO) { |
| | | Map<String,Long> map= sgProgressReportService.countList( searchDTO); |
| | | return R.data(map); |
| | | } |
| | | |
| | | } |