|
|
@@ -27,7 +27,7 @@ public class FsStoreErpInfoController extends BaseController {
|
|
|
* 根据关联ID和类型查询ERP信息
|
|
|
* type参数:1-店铺 2-销售
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:storeErpInfo:edit')")
|
|
|
@GetMapping("/{refId}")
|
|
|
public AjaxResult getInfoByRefId(@PathVariable("refId") Long refId,
|
|
|
@RequestParam(value = "type", defaultValue = "1") Integer type) {
|
|
|
@@ -37,7 +37,7 @@ public class FsStoreErpInfoController extends BaseController {
|
|
|
/**
|
|
|
* 保存或更新ERP信息
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('his:store:edit')")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:storeErpInfo:edit')")
|
|
|
@Log(title = "ERP信息", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/save")
|
|
|
public AjaxResult save(@RequestBody FsStoreErpInfo fsStoreErpInfo) {
|