md
This commit is contained in:
parent
8eca1f0f33
commit
ac022a19c8
@ -169,7 +169,7 @@ public class Oms2cGoodsController extends BaseController
|
||||
/**
|
||||
* 导出货物信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisGoods:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('emis:emisGoods:export')")
|
||||
@Log(title = "货物信息", businessType = BusinessType.EXPORT)
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, EmisGoods emisGoods)
|
||||
@ -182,7 +182,7 @@ public class Oms2cGoodsController extends BaseController
|
||||
/**
|
||||
* 获取货物信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisGoods:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('emis:emisGoods:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
@ -192,18 +192,18 @@ public class Oms2cGoodsController extends BaseController
|
||||
/**
|
||||
* 新增货物信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisGoods:add')")
|
||||
@Log(title = "货物信息", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody EmisGoods emisGoods)
|
||||
{
|
||||
emisGoods.setOwnerCode(getLoginUser().getUser().getCustomerCode());
|
||||
return toAjax(emisGoodsService.insertEmisGoods(emisGoods));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改货物信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisGoods:edit')")
|
||||
// @PreAuthorize("@ss.hasPermi('emis:emisGoods:edit')")
|
||||
@Log(title = "货物信息", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody EmisGoods emisGoods)
|
||||
@ -214,7 +214,7 @@ public class Oms2cGoodsController extends BaseController
|
||||
/**
|
||||
* 删除货物信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('emis:emisGoods:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('emis:emisGoods:remove')")
|
||||
@Log(title = "货物信息", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user