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