This commit is contained in:
linfso 2024-06-19 16:00:03 +08:00
parent 844f1a52ad
commit 4d636bc23a

View File

@ -144,7 +144,7 @@ public class EmisWaybillAttachmentController extends EmisBaseController
/**
* 新增运单附件
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillAttachment:add')")
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillAttachment:add')")
@Log(title = "运单附件", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisWaybillAttachment emisWaybillAttachment)
@ -235,16 +235,16 @@ public class EmisWaybillAttachmentController extends EmisBaseController
}
}
/**
* 修改运单附件
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillAttachment:edit')")
@Log(title = "运单附件", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody EmisWaybillAttachment emisWaybillAttachment)
{
return toAjax(emisWaybillAttachmentService.updateEmisWaybillAttachment(emisWaybillAttachment));
}
// /**
// * 修改运单附件
// */
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillAttachment:edit')")
// @Log(title = "运单附件", businessType = BusinessType.UPDATE)
// @PutMapping
// public AjaxResult edit(@RequestBody EmisWaybillAttachment emisWaybillAttachment)
// {
// return toAjax(emisWaybillAttachmentService.updateEmisWaybillAttachment(emisWaybillAttachment));
// }
/**
* 删除运单附件