This commit is contained in:
linfso 2024-05-11 10:48:27 +08:00
parent 63f6419929
commit aab011a47f
2 changed files with 12 additions and 12 deletions

View File

@ -51,7 +51,7 @@ public class EmisQuoteDispAreaController extends BaseController
/** /**
* 查询派件区域列表 * 查询派件区域列表
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:list')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(EmisQuoteDispArea emisQuoteDispArea) public TableDataInfo list(EmisQuoteDispArea emisQuoteDispArea)
{ {
@ -63,7 +63,7 @@ public class EmisQuoteDispAreaController extends BaseController
/** /**
* 导出派件区域列表 * 导出派件区域列表
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:export')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:export')")
@Log(title = "派件区域", businessType = BusinessType.EXPORT) @Log(title = "派件区域", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, EmisQuoteDispArea emisQuoteDispArea) public void export(HttpServletResponse response, EmisQuoteDispArea emisQuoteDispArea)
@ -76,7 +76,7 @@ public class EmisQuoteDispAreaController extends BaseController
/** /**
* 获取派件区域详细信息 * 获取派件区域详细信息
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:query')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:query')")
@GetMapping(value = "/{areaId}") @GetMapping(value = "/{areaId}")
public AjaxResult getInfo(@PathVariable("areaId") Long areaId) public AjaxResult getInfo(@PathVariable("areaId") Long areaId)
{ {
@ -86,7 +86,7 @@ public class EmisQuoteDispAreaController extends BaseController
/** /**
* 新增派件区域 * 新增派件区域
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:add')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:add')")
@Log(title = "派件区域", businessType = BusinessType.INSERT) @Log(title = "派件区域", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody EmisQuoteDispArea emisQuoteDispArea) public AjaxResult add(@RequestBody EmisQuoteDispArea emisQuoteDispArea)
@ -97,7 +97,7 @@ public class EmisQuoteDispAreaController extends BaseController
/** /**
* 修改派件区域 * 修改派件区域
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:edit')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:edit')")
@Log(title = "派件区域", businessType = BusinessType.UPDATE) @Log(title = "派件区域", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody EmisQuoteDispArea emisQuoteDispArea) public AjaxResult edit(@RequestBody EmisQuoteDispArea emisQuoteDispArea)
@ -108,7 +108,7 @@ public class EmisQuoteDispAreaController extends BaseController
/** /**
* 删除派件区域 * 删除派件区域
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:remove')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteDispArea:remove')")
@Log(title = "派件区域", businessType = BusinessType.DELETE) @Log(title = "派件区域", businessType = BusinessType.DELETE)
@DeleteMapping("/{areaIds}") @DeleteMapping("/{areaIds}")
public AjaxResult remove(@PathVariable Long[] areaIds) public AjaxResult remove(@PathVariable Long[] areaIds)

View File

@ -51,7 +51,7 @@ public class EmisQuoteSendAreaController extends BaseController
/** /**
* 查询寄件区域列表 * 查询寄件区域列表
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:list')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(EmisQuoteSendArea emisQuoteSendArea) public TableDataInfo list(EmisQuoteSendArea emisQuoteSendArea)
{ {
@ -63,7 +63,7 @@ public class EmisQuoteSendAreaController extends BaseController
/** /**
* 导出寄件区域列表 * 导出寄件区域列表
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:export')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:export')")
@Log(title = "寄件区域", businessType = BusinessType.EXPORT) @Log(title = "寄件区域", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, EmisQuoteSendArea emisQuoteSendArea) public void export(HttpServletResponse response, EmisQuoteSendArea emisQuoteSendArea)
@ -76,7 +76,7 @@ public class EmisQuoteSendAreaController extends BaseController
/** /**
* 获取寄件区域详细信息 * 获取寄件区域详细信息
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:query')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:query')")
@GetMapping(value = "/{areaId}") @GetMapping(value = "/{areaId}")
public AjaxResult getInfo(@PathVariable("areaId") Long areaId) public AjaxResult getInfo(@PathVariable("areaId") Long areaId)
{ {
@ -86,7 +86,7 @@ public class EmisQuoteSendAreaController extends BaseController
/** /**
* 新增寄件区域 * 新增寄件区域
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:add')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:add')")
@Log(title = "寄件区域", businessType = BusinessType.INSERT) @Log(title = "寄件区域", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody EmisQuoteSendArea emisQuoteSendArea) public AjaxResult add(@RequestBody EmisQuoteSendArea emisQuoteSendArea)
@ -97,7 +97,7 @@ public class EmisQuoteSendAreaController extends BaseController
/** /**
* 修改寄件区域 * 修改寄件区域
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:edit')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:edit')")
@Log(title = "寄件区域", businessType = BusinessType.UPDATE) @Log(title = "寄件区域", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody EmisQuoteSendArea emisQuoteSendArea) public AjaxResult edit(@RequestBody EmisQuoteSendArea emisQuoteSendArea)
@ -108,7 +108,7 @@ public class EmisQuoteSendAreaController extends BaseController
/** /**
* 删除寄件区域 * 删除寄件区域
*/ */
@PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:remove')") // @PreAuthorize("@ss.hasPermi('emis:emisQuoteSendArea:remove')")
@Log(title = "寄件区域", businessType = BusinessType.DELETE) @Log(title = "寄件区域", businessType = BusinessType.DELETE)
@DeleteMapping("/{areaIds}") @DeleteMapping("/{areaIds}")
public AjaxResult remove(@PathVariable Long[] areaIds) public AjaxResult remove(@PathVariable Long[] areaIds)