|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping(path = "save") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200001") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200007") | 
|---|
|  |  |  | @Log("保存订单信息") | 
|---|
|  |  |  | public BaseResponse<Boolean> save(@RequestBody @Valid PrOrder order) { | 
|---|
|  |  |  | int count = sv.save(order); | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping(path = "update") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200001") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200007") | 
|---|
|  |  |  | @Log("修改订单信息") | 
|---|
|  |  |  | public BaseResponse<Boolean> update(@RequestBody @Valid PrOrder order) { | 
|---|
|  |  |  | int count = sv.update(order); | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping(path = "delete") | 
|---|
|  |  |  | @SsoPowerAop(power = "10300001") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200007") | 
|---|
|  |  |  | @Log("删除订单信息") | 
|---|
|  |  |  | public BaseResponse<Boolean> delete(String id) { | 
|---|
|  |  |  | int count = sv.delete(Long.parseLong(id)); | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping(path = "one") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200000") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200006") | 
|---|
|  |  |  | @Log("根据ID查询订单信息") | 
|---|
|  |  |  | public BaseResponse<PrOrder> one(String id) { | 
|---|
|  |  |  | PrOrder plan = sv.selectById(id); | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping(path = "some") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200000") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200006") | 
|---|
|  |  |  | @Log("分页查询订单信息") | 
|---|
|  |  |  | public BaseResponse<QueryResultVo<List<PrOrder>>> some(@RequestBody QueryVo vo) { | 
|---|
|  |  |  | QueryResultVo<List<PrOrder>> list = sv.selectSome(vo); | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping(path = "all") | 
|---|
|  |  |  | @SsoPowerAop(power = "10300000") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200006") | 
|---|
|  |  |  | @Log("查询所有产品") | 
|---|
|  |  |  | public BaseResponse<List<PrOrder>> all() { | 
|---|
|  |  |  | QueryVo vo = new QueryVo(); | 
|---|
|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping(path = "updateStatus") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200001") | 
|---|
|  |  |  | @SsoPowerAop(power = "10200007") | 
|---|
|  |  |  | @Log("更新订单状态") | 
|---|
|  |  |  | public BaseResponse<Boolean> updateStatus(@RequestBody PrOrder order) { | 
|---|
|  |  |  | int count = sv.updateStatus(order); | 
|---|