代码提交 快递

This commit is contained in:
123 2025-06-05 14:19:35 +08:00
parent a350308e04
commit dd6a3ffbf7

View File

@ -25,7 +25,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
/** /**
* 用章 * 快递
* *
* @author may * @author may
* @date 2023-07-21 * @date 2023-07-21
@ -40,7 +40,7 @@ public class OAExpressController extends BaseController {
private final ILxOaSealService lxOaSealService; private final ILxOaSealService lxOaSealService;
/** /**
* 查询用章列表 * 查询快递列表
*/ */
@SaCheckPermission("workflow:seal:list") @SaCheckPermission("workflow:seal:list")
@GetMapping("/list") @GetMapping("/list")
@ -49,18 +49,18 @@ public class OAExpressController extends BaseController {
} }
/** /**
* 导出用章列表 * 导出快递列表
*/ */
@SaCheckPermission("workflow:seal:export") @SaCheckPermission("workflow:seal:export")
@Log(title = "用章", businessType = BusinessType.EXPORT) @Log(title = "快递", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(LxOaSealBo bo, HttpServletResponse response) { public void export(LxOaSealBo bo, HttpServletResponse response) {
List<LxOaSealVVo> list = lxOaSealService.queryList(bo); List<LxOaSealVVo> list = lxOaSealService.queryList(bo);
ExcelUtil.exportExcel(list, "用章", LxOaSealVVo.class, response); ExcelUtil.exportExcel(list, "快递", LxOaSealVVo.class, response);
} }
/** /**
* 获取用章详细信息 * 获取快递详细信息
* *
* @param id 主键 * @param id 主键
*/ */
@ -72,10 +72,10 @@ public class OAExpressController extends BaseController {
} }
/** /**
* 新增用章 * 新增快递
*/ */
@SaCheckPermission("workflow:seal:add") @SaCheckPermission("workflow:seal:add")
@Log(title = "用章", businessType = BusinessType.INSERT) @Log(title = "快递", businessType = BusinessType.INSERT)
@RepeatSubmit() @RepeatSubmit()
@PostMapping() @PostMapping()
public R<LxOaSealVVo> add(@Validated(AddGroup.class) @RequestBody LxOaSealBo bo) { public R<LxOaSealVVo> add(@Validated(AddGroup.class) @RequestBody LxOaSealBo bo) {
@ -83,10 +83,10 @@ public class OAExpressController extends BaseController {
} }
/** /**
* 修改用章 * 修改快递
*/ */
@SaCheckPermission("workflow:seal:edit") @SaCheckPermission("workflow:seal:edit")
@Log(title = "用章", businessType = BusinessType.UPDATE) @Log(title = "快递", businessType = BusinessType.UPDATE)
@RepeatSubmit() @RepeatSubmit()
@PutMapping() @PutMapping()
public R<LxOaSealVVo> edit(@Validated(EditGroup.class) @RequestBody LxOaSealBo bo) { public R<LxOaSealVVo> edit(@Validated(EditGroup.class) @RequestBody LxOaSealBo bo) {
@ -94,12 +94,12 @@ public class OAExpressController extends BaseController {
} }
/** /**
* 删除用章 * 删除快递
* *
* @param ids 主键串 * @param ids 主键串
*/ */
@SaCheckPermission("workflow:seal:remove") @SaCheckPermission("workflow:seal:remove")
@Log(title = "用章", businessType = BusinessType.DELETE) @Log(title = "快递", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}") @DeleteMapping("/{ids}")
public R<Void> remove(@NotEmpty(message = "主键不能为空") public R<Void> remove(@NotEmpty(message = "主键不能为空")
@PathVariable Long[] ids) { @PathVariable Long[] ids) {