|
@@ -12,9 +12,6 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
/**
|
|
|
* 其他账务Controller
|
|
|
*/
|
|
@@ -84,7 +81,7 @@ public class TOtherFeesController extends BaseController {
|
|
|
* @param fId 主表业务
|
|
|
* @return
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:otherFees:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('warehouseBusiness:otherFees:revoke')")
|
|
|
@GetMapping("/revoke/{fId}")
|
|
|
@RepeatSubmit
|
|
|
public AjaxResult revoke(@PathVariable("fId") Long fId) {
|
|
@@ -101,7 +98,7 @@ public class TOtherFeesController extends BaseController {
|
|
|
* @param fId 主表业务
|
|
|
* @return
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:containerPort:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('warehouseBusiness:otherFees:remove')")
|
|
|
@GetMapping("/remove/{fId}")
|
|
|
@RepeatSubmit
|
|
|
public AjaxResult removeContainerPort(@PathVariable("fId") Long fId) {
|
|
@@ -120,7 +117,7 @@ public class TOtherFeesController extends BaseController {
|
|
|
* @param feesDr 付费
|
|
|
* @return
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('warehouseBusiness:containerPort:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('warehouseBusiness:otherFees:add')")
|
|
|
@PostMapping("/add")
|
|
|
@RepeatSubmit
|
|
|
public AjaxResult add(@RequestParam("warehouseBills") String tWarehouseBills,
|