Showing
1 changed file
with
7 additions
and
7 deletions
| @@ -49,7 +49,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -49,7 +49,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 49 | * @return 操作结果 | 49 | * @return 操作结果 |
| 50 | */ | 50 | */ |
| 51 | @ApiOperation("新增") | 51 | @ApiOperation("新增") |
| 52 | - @HasPermission({"procure-manage:sales-price-peer:add"}) | 52 | + @HasPermission({"procure-manage:peer-info:add"}) |
| 53 | @PostMapping | 53 | @PostMapping |
| 54 | public InvokeResult<Void> create(@Valid @RequestBody CreateSalesmanQuotationPeerVo vo) { | 54 | public InvokeResult<Void> create(@Valid @RequestBody CreateSalesmanQuotationPeerVo vo) { |
| 55 | salesmanQuotationPeerService.create(vo); | 55 | salesmanQuotationPeerService.create(vo); |
| @@ -63,7 +63,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -63,7 +63,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 63 | * @return 分页结果 | 63 | * @return 分页结果 |
| 64 | */ | 64 | */ |
| 65 | @ApiOperation("分页查询") | 65 | @ApiOperation("分页查询") |
| 66 | - @HasPermission({"procure-manage:sales-price-peer:query"}) | 66 | + @HasPermission({"procure-manage:peer-info:query"}) |
| 67 | @GetMapping("/query") | 67 | @GetMapping("/query") |
| 68 | public InvokeResult<PageResult<SalesmanQuotationPeer>> query(@Valid QuerySalesmanQuotationPeerVo vo) { | 68 | public InvokeResult<PageResult<SalesmanQuotationPeer>> query(@Valid QuerySalesmanQuotationPeerVo vo) { |
| 69 | return InvokeResultBuilder.success( | 69 | return InvokeResultBuilder.success( |
| @@ -77,7 +77,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -77,7 +77,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 77 | * @return 详情 | 77 | * @return 详情 |
| 78 | */ | 78 | */ |
| 79 | @ApiOperation("详情") | 79 | @ApiOperation("详情") |
| 80 | - @HasPermission({"procure-manage:sales-price-peer:query"}) | 80 | + @HasPermission({"procure-manage:peer-info:query"}) |
| 81 | @ApiImplicitParam(value = "id", name = "id", paramType = "query", required = true) | 81 | @ApiImplicitParam(value = "id", name = "id", paramType = "query", required = true) |
| 82 | @GetMapping("") | 82 | @GetMapping("") |
| 83 | public InvokeResult<SalesmanQuotationPeer> get(@NotBlank(message = "id不能为空!") String id) { | 83 | public InvokeResult<SalesmanQuotationPeer> get(@NotBlank(message = "id不能为空!") String id) { |
| @@ -95,7 +95,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -95,7 +95,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 95 | * @return 操作结果 | 95 | * @return 操作结果 |
| 96 | */ | 96 | */ |
| 97 | @ApiOperation("修改") | 97 | @ApiOperation("修改") |
| 98 | - @HasPermission({"procure-manage:sales-price-peer:modify"}) | 98 | + @HasPermission({"procure-manage:peer-info:modify"}) |
| 99 | @PutMapping | 99 | @PutMapping |
| 100 | public InvokeResult<Void> update(@Valid @RequestBody UpdateSalesmanQuotationPeerVo vo) { | 100 | public InvokeResult<Void> update(@Valid @RequestBody UpdateSalesmanQuotationPeerVo vo) { |
| 101 | salesmanQuotationPeerService.update(vo); | 101 | salesmanQuotationPeerService.update(vo); |
| @@ -108,7 +108,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -108,7 +108,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 108 | * @param id 主键ID | 108 | * @param id 主键ID |
| 109 | */ | 109 | */ |
| 110 | @ApiOperation("详情") | 110 | @ApiOperation("详情") |
| 111 | - @HasPermission({"procure-manage:sales-price-peer:delete"}) | 111 | + @HasPermission({"procure-manage:peer-info:delete"}) |
| 112 | @DeleteMapping("") | 112 | @DeleteMapping("") |
| 113 | public InvokeResult<Void> delete(@NotBlank(message = "id不能为空!") String id) { | 113 | public InvokeResult<Void> delete(@NotBlank(message = "id不能为空!") String id) { |
| 114 | salesmanQuotationPeerService.delete(id); | 114 | salesmanQuotationPeerService.delete(id); |
| @@ -120,7 +120,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -120,7 +120,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 120 | * 下载导入模板 | 120 | * 下载导入模板 |
| 121 | */ | 121 | */ |
| 122 | @ApiOperation("下载导入模板") | 122 | @ApiOperation("下载导入模板") |
| 123 | - @HasPermission({"procure-manage:sales-price-peer:import"}) | 123 | + @HasPermission({"procure-manage:peer-info:import"}) |
| 124 | @GetMapping("/import/template") | 124 | @GetMapping("/import/template") |
| 125 | public void downloadImportTemplate(HttpServletResponse response) throws IOException { | 125 | public void downloadImportTemplate(HttpServletResponse response) throws IOException { |
| 126 | ExcelUtil.exportXls("同行报价信息导入模板", PeerImportModel.class); | 126 | ExcelUtil.exportXls("同行报价信息导入模板", PeerImportModel.class); |
| @@ -130,7 +130,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | @@ -130,7 +130,7 @@ public class SalesmanQuotationPeerController extends DefaultBaseController { | ||
| 130 | * 导入 | 130 | * 导入 |
| 131 | */ | 131 | */ |
| 132 | @ApiOperation("导入") | 132 | @ApiOperation("导入") |
| 133 | - @HasPermission({"procure-manage:sales-price-peer:import"}) | 133 | + @HasPermission({"procure-manage:peer-info:import"}) |
| 134 | @PostMapping("/import") | 134 | @PostMapping("/import") |
| 135 | public InvokeResult<Void> importExcel(@NotBlank(message = "ID不能为空") String id, | 135 | public InvokeResult<Void> importExcel(@NotBlank(message = "ID不能为空") String id, |
| 136 | @NotNull(message = "请上传文件") MultipartFile file) { | 136 | @NotNull(message = "请上传文件") MultipartFile file) { |