|
@@ -15,21 +15,21 @@ import org.springframework.web.bind.annotation.*;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 财务数据主Controller
|
|
|
|
|
|
+ * 财务收费数据主Controller
|
|
*
|
|
*
|
|
* @author ruoyi
|
|
* @author ruoyi
|
|
* @date 2021-01-18
|
|
* @date 2021-01-18
|
|
*/
|
|
*/
|
|
@RestController
|
|
@RestController
|
|
-@RequestMapping("/warehouse/fee")
|
|
|
|
-public class TFeeController extends BaseController {
|
|
|
|
|
|
+@RequestMapping("/finance/charge")
|
|
|
|
+public class TChargeController extends BaseController {
|
|
@Autowired
|
|
@Autowired
|
|
private ITFeeService tFeeService;
|
|
private ITFeeService tFeeService;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 查询财务数据主列表
|
|
* 查询财务数据主列表
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('warehouse:fee:list')")
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('finance:charge:list')")
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
public TableDataInfo list(TFee tFee) {
|
|
public TableDataInfo list(TFee tFee) {
|
|
startPage();
|
|
startPage();
|
|
@@ -40,7 +40,7 @@ public class TFeeController extends BaseController {
|
|
/**
|
|
/**
|
|
* 导出财务数据主列表
|
|
* 导出财务数据主列表
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('warehouse:fee:export')")
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('finance:charge:export')")
|
|
@Log(title = "财务数据主", businessType = BusinessType.EXPORT)
|
|
@Log(title = "财务数据主", businessType = BusinessType.EXPORT)
|
|
@GetMapping("/export")
|
|
@GetMapping("/export")
|
|
public AjaxResult export(TFee tFee) {
|
|
public AjaxResult export(TFee tFee) {
|
|
@@ -52,7 +52,7 @@ public class TFeeController extends BaseController {
|
|
/**
|
|
/**
|
|
* 获取财务数据主详细信息
|
|
* 获取财务数据主详细信息
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('warehouse:fee:query')")
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('finance:charge:query')")
|
|
@GetMapping(value = "/{fId}")
|
|
@GetMapping(value = "/{fId}")
|
|
public AjaxResult getInfo(@PathVariable("fId") Long fId) {
|
|
public AjaxResult getInfo(@PathVariable("fId") Long fId) {
|
|
return AjaxResult.success(tFeeService.selectTFeeById(fId));
|
|
return AjaxResult.success(tFeeService.selectTFeeById(fId));
|
|
@@ -61,7 +61,7 @@ public class TFeeController extends BaseController {
|
|
/**
|
|
/**
|
|
* 新增财务数据主
|
|
* 新增财务数据主
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('warehouse:fee:add')")
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('finance:charge:add')")
|
|
@Log(title = "财务数据主", businessType = BusinessType.INSERT)
|
|
@Log(title = "财务数据主", businessType = BusinessType.INSERT)
|
|
@PostMapping
|
|
@PostMapping
|
|
public AjaxResult add(@RequestBody TFee tFee) {
|
|
public AjaxResult add(@RequestBody TFee tFee) {
|
|
@@ -71,7 +71,7 @@ public class TFeeController extends BaseController {
|
|
/**
|
|
/**
|
|
* 修改财务数据主
|
|
* 修改财务数据主
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('warehouse:fee:edit')")
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('finance:charge:edit')")
|
|
@Log(title = "财务数据主", businessType = BusinessType.UPDATE)
|
|
@Log(title = "财务数据主", businessType = BusinessType.UPDATE)
|
|
@PutMapping
|
|
@PutMapping
|
|
public AjaxResult edit(@RequestBody TFee tFee) {
|
|
public AjaxResult edit(@RequestBody TFee tFee) {
|
|
@@ -81,7 +81,7 @@ public class TFeeController extends BaseController {
|
|
/**
|
|
/**
|
|
* 删除财务数据主
|
|
* 删除财务数据主
|
|
*/
|
|
*/
|
|
- @PreAuthorize("@ss.hasPermi('warehouse:fee:remove')")
|
|
|
|
|
|
+ @PreAuthorize("@ss.hasPermi('finance:charge:remove')")
|
|
@Log(title = "财务数据主", businessType = BusinessType.DELETE)
|
|
@Log(title = "财务数据主", businessType = BusinessType.DELETE)
|
|
@DeleteMapping("/{fIds}")
|
|
@DeleteMapping("/{fIds}")
|
|
public AjaxResult remove(@PathVariable Long[] fIds) {
|
|
public AjaxResult remove(@PathVariable Long[] fIds) {
|