| | |
| | | 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 ManageRecordTotalService manageRecordTotalService; |
| | | |
| | | @ApiOperation(value = "查询外来文件确认记录历史列表") |
| | | @PostMapping("/pageManageRecordTotal") |
| | | public Result pageManageRecordTotal(Page page,ManageRecordTotal manageRecordTotal) throws Exception { |
| | | @GetMapping("/pageManageRecordTotal") |
| | | public Result pageManageRecordTotal(Page page, ManageRecordTotal manageRecordTotal) throws Exception { |
| | | return Result.success(manageRecordTotalService.pageManageRecordTotal(page, manageRecordTotal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "提交外来文件确认记录历史列表") |
| | | @PostMapping("/submitManageRecordTotal") |
| | | public Result submitManageRecordTotal(Integer id) { |
| | | public Result submitManageRecordTotal(@RequestBody Map<String, Integer> param) { |
| | | Integer id = param.get("id"); |
| | | return Result.success(manageRecordTotalService.submitManageRecordTotal(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准外来文件确认记录历史列表") |
| | | @PostMapping("/ratifyManageRecordTotal") |
| | | public Result ratifyManageRecordTotal(Integer id, String ratifyState) { |
| | | public Result ratifyManageRecordTotal(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String ratifyState = (String) param.get("ratifyState"); |
| | | return Result.success(manageRecordTotalService.ratifyManageRecordTotal(id, ratifyState)); |
| | | } |
| | | |