|
@@ -35,7 +35,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 查询仓储费列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TWarehouseAgreement tWarehouseAgreement) {
|
|
|
startPage();
|
|
@@ -47,7 +47,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 导出仓储费列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:export')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
public AjaxResult export(TWarehouseAgreement tWarehouseAgreement) {
|
|
@@ -59,7 +59,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 获取仓储费详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:query')")
|
|
|
@GetMapping(value = "/{fId}")
|
|
|
public AjaxResult getInfo(@PathVariable("fId") Long fId) {
|
|
|
return AjaxResult.success(tWarehouseAgreementService.selectTWarehouseAgreementById1(fId));
|
|
@@ -68,7 +68,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 新增仓储费
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:add')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestParam("agreement") String agreement,
|
|
@@ -82,7 +82,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 修改仓储费
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:edit')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody TWarehouseAgreement tWarehouseAgreement) {
|
|
@@ -92,14 +92,14 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 删除仓储费
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:remove')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{fIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] fIds) {
|
|
|
return toAjax(tWarehouseAgreementService.deleteTWarehouseAgreementByIds(fIds));
|
|
|
}
|
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:remove')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/queryRemove/{fId}")
|
|
|
public AjaxResult queryRemove(@PathVariable("fId") Long fId) {
|
|
@@ -109,7 +109,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 仓储费请核
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:add')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.INSERT)
|
|
|
@PostMapping(value = "/agreementStorageSubmission")
|
|
|
@RepeatSubmit
|
|
@@ -124,7 +124,7 @@ public class TWarehouseAgreementStorageController extends BaseController {
|
|
|
/**
|
|
|
* 撤销对账
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:agreementStorage:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('agreement:agreementStorage:add')")
|
|
|
@Log(title = "仓储费", businessType = BusinessType.INSERT)
|
|
|
@PostMapping(value = "/revoke")
|
|
|
@RepeatSubmit
|