| | |
| | | |
| | | |
| | | @PostMapping(path="save") |
| | | @SsoPowerAop(power = "10200001") |
| | | @SsoPowerAop(power = "10200005") |
| | | @Log("保存组装任务计划") |
| | | public BaseResponse<Boolean> save(@RequestBody @Valid PrDevOpsPlan plan){ |
| | | int count = sv.save(plan); |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping(path="update") |
| | | @SsoPowerAop(power = "10200001") |
| | | @SsoPowerAop(power = "10200005") |
| | | @Log("更新组装任务计划") |
| | | public BaseResponse<Boolean> update(@RequestBody @Valid PrDevOpsPlan plan){ |
| | | int count = sv.update(plan); |
| | |
| | | } |
| | | |
| | | @PostMapping(path="updateStatus") |
| | | @SsoPowerAop(power = "10200001") |
| | | @SsoPowerAop(power = "10200005") |
| | | @Log("更新任务计划状态") |
| | | public BaseResponse<Boolean> updateStatus(@RequestBody PrDevOpsPlan plan){ |
| | | int count = sv.updateStatus(plan); |
| | |
| | | * @return |
| | | */ |
| | | @GetMapping(path="one") |
| | | @SsoPowerAop(power = "10200000") |
| | | @SsoPowerAop(power = "10200004") |
| | | @Log("根据ID查询组装任务计划") |
| | | public BaseResponse<PrDevOpsPlan> one(Long id){ |
| | | PrDevOpsPlan plan=sv.selectById(id); |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping(path="some") |
| | | @SsoPowerAop(power = "10200000") |
| | | @SsoPowerAop(power = "10200004") |
| | | @Log("分页查询组装任务计划") |
| | | public BaseResponse<QueryResultVo<List<PrDevOpsPlan>>> some(@RequestBody QueryVo vo){ |
| | | QueryResultVo<List<PrDevOpsPlan>> list = sv.selectSome(vo) ; |