|
@@ -29,7 +29,7 @@ import java.util.List;
|
|
|
* @date 2020-12-11
|
|
|
*/
|
|
|
@RestController
|
|
|
-@RequestMapping("/basicdata/customerDetails/corps")
|
|
|
+@RequestMapping("/basicdata/corps")
|
|
|
public class TCorpsController extends BaseController {
|
|
|
@Autowired
|
|
|
private ITCorpsService tCorpsService;
|
|
@@ -37,7 +37,7 @@ public class TCorpsController extends BaseController {
|
|
|
/**
|
|
|
* 查询客户详情列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('basicdata/customerDetails:corps:list')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('basicdata:corps:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TCorps tCorps) {
|
|
|
startPage();
|
|
@@ -48,7 +48,7 @@ public class TCorpsController extends BaseController {
|
|
|
/**
|
|
|
* 导出客户详情列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('basicdata/customerDetails:corps:export')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('basicdata:corps:export')")
|
|
|
@Log(title = "客户详情", businessType = BusinessType.EXPORT)
|
|
|
@GetMapping("/export")
|
|
|
public AjaxResult export(TCorps tCorps) {
|
|
@@ -60,7 +60,7 @@ public class TCorpsController extends BaseController {
|
|
|
/**
|
|
|
* 获取客户详情详细信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('basicdata/customerDetails:corps:query')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('basicdata:corps:query')")
|
|
|
@GetMapping(value = "/{fId}")
|
|
|
public AjaxResult getInfo(@PathVariable("fId") Long fId) {
|
|
|
return AjaxResult.success(tCorpsService.selectTCorpsById(fId));
|
|
@@ -69,7 +69,7 @@ public class TCorpsController extends BaseController {
|
|
|
/**
|
|
|
* 新增客户详情
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('basicdata/customerDetails:corps:add')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('basicdata:corps:add')")
|
|
|
@Log(title = "客户详情", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
@RepeatSubmit
|
|
@@ -91,7 +91,7 @@ public class TCorpsController extends BaseController {
|
|
|
/**
|
|
|
* 修改客户详情basicdata/customerDetails/corps
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('basicdata/customerDetails:corps:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('basicdata:corps:edit')")
|
|
|
@Log(title = "客户详情", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
@RepeatSubmit
|
|
@@ -102,7 +102,7 @@ public class TCorpsController extends BaseController {
|
|
|
/**
|
|
|
* 删除客户详情
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('basicdata/customerDetails:corps:remove')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('basicdata:corps:remove')")
|
|
|
@Log(title = "客户详情", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{fIds}")
|
|
|
@RepeatSubmit
|