|
@@ -33,7 +33,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 查询报价列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:list')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:list')")
|
|
|
@GetMapping("/list")
|
|
|
@ApiOperation("查询报价列表")
|
|
|
@ApiImplicitParams({
|
|
@@ -49,7 +49,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 导入报价列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:import')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:import')")
|
|
|
@Log(title = "报价", businessType = BusinessTypeEnum.IMPORT)
|
|
|
@PostMapping("/import")
|
|
|
@ApiOperation("导入报价列表Excel")
|
|
@@ -63,7 +63,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 导出报价列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:export')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:export')")
|
|
|
@Log(title = "报价", businessType = BusinessTypeEnum.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
@ApiOperation("导出报价列表Excel")
|
|
@@ -76,7 +76,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 查询字段所有枚举值
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:query')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:query')")
|
|
|
@GetMapping(value = "/field/{name}")
|
|
|
@ApiOperation("查询字段所有枚举值")
|
|
|
public Response<List<String>> getFieldName(
|
|
@@ -89,7 +89,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 获取报价详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:query')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:query')")
|
|
|
@GetMapping(value = "/{id}")
|
|
|
@ApiOperation("获取报价详细信息")
|
|
|
public Response<PriceInfo> getInfo(
|
|
@@ -102,7 +102,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 新增报价
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:add')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:add')")
|
|
|
@Log(title = "报价", businessType = BusinessTypeEnum.INSERT)
|
|
|
@PostMapping
|
|
|
@ApiOperation("新增报价")
|
|
@@ -113,7 +113,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 修改报价
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:edit')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:edit')")
|
|
|
@Log(title = "报价", businessType = BusinessTypeEnum.UPDATE)
|
|
|
@PutMapping
|
|
|
@ApiOperation("修改报价")
|
|
@@ -124,7 +124,7 @@ public class PriceInfoController extends BaseController{
|
|
|
/**
|
|
|
* 删除报价
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('price:info:remove')")
|
|
|
+// @PreAuthorize("@ss.hasPermi('price:info:remove')")
|
|
|
@Log(title = "报价", businessType = BusinessTypeEnum.DELETE)
|
|
|
@DeleteMapping("/{ids}")
|
|
|
@ApiOperation("删除报价")
|