| | |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Map; |
| | |
| | | private ManageRecordIntervalsTotalService manageRecordIntervalsTotalService; |
| | | |
| | | @ApiOperation(value = "查询文件定期审查记录历史列表") |
| | | @PostMapping("/pageManageRecordIntervalsTotal") |
| | | @GetMapping("/pageManageRecordIntervalsTotal") |
| | | public Result pageManageRecordIntervalsTotal(Page page,ManageRecordIntervalsTotal manageRecordIntervalsTotal) throws Exception { |
| | | return Result.success(manageRecordIntervalsTotalService.pageManageRecordIntervalsTotal(page, manageRecordIntervalsTotal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "提交文件定期审查记录历史列表") |
| | | @PostMapping("/submitManageRecordIntervalsTotal") |
| | | public Result submitManageRecordIntervalsTotal(Integer id) { |
| | | public Result submitManageRecordIntervalsTotal(@RequestBody Map<String, Integer> param) { |
| | | Integer id = param.get("id"); |
| | | return Result.success(manageRecordIntervalsTotalService.submitManageRecordIntervalsTotal(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准文件定期审查记录历史列表") |
| | | @PostMapping("/ratifyManageRecordIntervalsTotal") |
| | | public Result ratifyManageRecordIntervalsTotal(Integer id, String ratifyState) { |
| | | public Result ratifyManageRecordIntervalsTotal(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String ratifyState = (String) param.get("ratifyState"); |
| | | return Result.success(manageRecordIntervalsTotalService.ratifyManageRecordIntervalsTotal(id, ratifyState)); |
| | | } |
| | | |