|
|
@ -43,7 +43,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
/** |
|
|
|
* 查询合同产品信息列表 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:list") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:list")
|
|
|
|
@GetMapping("/list") |
|
|
|
public TableDataInfo<ContractualProductInfoVo> list(ContractualProductInfoBo bo, PageQuery pageQuery) { |
|
|
|
return contractualProductInfoService.queryPageList(bo, pageQuery); |
|
|
@ -52,7 +52,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
/** |
|
|
|
* 导出合同产品信息列表 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:export") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:export")
|
|
|
|
@Log(title = "合同产品信息", businessType = BusinessType.EXPORT) |
|
|
|
@PostMapping("/export") |
|
|
|
public void export(ContractualProductInfoBo bo, HttpServletResponse response) { |
|
|
@ -78,7 +78,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
* |
|
|
|
* @param id 主键 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:query") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:query")
|
|
|
|
@GetMapping("/{id}") |
|
|
|
public R<ContractualProductInfoVo> getInfo(@NotNull(message = "主键不能为空") |
|
|
|
@PathVariable Long id) { |
|
|
@ -89,7 +89,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
* |
|
|
|
* @param id 主键 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:query") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:query")
|
|
|
|
@GetMapping("/getInfoByTaskid/{id}") |
|
|
|
public R<List<ContractualProductInfoVo>> getInfoByTaskid(@NotNull(message = "主键不能为空") |
|
|
|
@PathVariable Long id) { |
|
|
@ -98,7 +98,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
/** |
|
|
|
* 新增合同产品信息 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:add") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:add")
|
|
|
|
@Log(title = "合同产品信息", businessType = BusinessType.INSERT) |
|
|
|
@RepeatSubmit() |
|
|
|
@PostMapping() |
|
|
@ -109,7 +109,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
/** |
|
|
|
* 修改合同产品信息 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:edit") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:edit")
|
|
|
|
@Log(title = "合同产品信息", businessType = BusinessType.UPDATE) |
|
|
|
@RepeatSubmit() |
|
|
|
@PutMapping() |
|
|
@ -122,7 +122,7 @@ public class ContractualProductInfoController extends BaseController { |
|
|
|
* |
|
|
|
* @param ids 主键串 |
|
|
|
*/ |
|
|
|
@SaCheckPermission("productManagement:ContractualProductInfo:remove") |
|
|
|
// @SaCheckPermission("productManagement:ContractualProductInfo:remove")
|
|
|
|
@Log(title = "合同产品信息", businessType = BusinessType.DELETE) |
|
|
|
@DeleteMapping("/{ids}") |
|
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空") |
|
|
|