From ac4341ea6b66ae02427d39d35f41d42d78b2eb2e Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 14 二月 2025 10:08:32 +0800
Subject: [PATCH] #
---
zy-asrs-framework/src/main/resources/templates/react/Controller.txt | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/zy-asrs-framework/src/main/resources/templates/react/Controller.txt b/zy-asrs-framework/src/main/resources/templates/react/Controller.txt
index 1be728c..d505653 100644
--- a/zy-asrs-framework/src/main/resources/templates/react/Controller.txt
+++ b/zy-asrs-framework/src/main/resources/templates/react/Controller.txt
@@ -1,16 +1,16 @@
-package com.zy.asrs.wcs.system.controller;
+package com.zy.asrs.wms.system.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zy.asrs.framework.common.Cools;
import com.zy.asrs.framework.common.R;
-import com.zy.asrs.wcs.common.annotation.OperationLog;
-import com.zy.asrs.wcs.common.domain.BaseParam;
-import com.zy.asrs.wcs.common.domain.KeyValVo;
-import com.zy.asrs.wcs.common.domain.PageParam;
+import com.zy.asrs.wms.common.annotation.OperationLog;
+import com.zy.asrs.wms.common.domain.BaseParam;
+import com.zy.asrs.wms.common.domain.KeyValVo;
+import com.zy.asrs.wms.common.domain.PageParam;
import @{COMPANYNAME}.entity.@{ENTITYNAME};
import @{COMPANYNAME}.service.@{ENTITYNAME}Service;
-import com.zy.asrs.wcs.utils.ExcelUtil;
+import com.zy.asrs.wms.utils.ExcelUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
@@ -49,7 +49,7 @@
}
@PreAuthorize("hasAuthority('@{ITEMNAME}:@{SIMPLEENTITYNAME}:save')")
- @OperationLog("娣诲姞@{ENTITYNAME}")
+ @OperationLog("娣诲姞@{TABLEDESC}")
@PostMapping("/@{SIMPLEENTITYNAME}/save")
public R save(@RequestBody @{ENTITYNAME} @{SIMPLEENTITYNAME}) {
if (!@{SIMPLEENTITYNAME}Service.save(@{SIMPLEENTITYNAME})) {
@@ -59,7 +59,7 @@
}
@PreAuthorize("hasAuthority('@{ITEMNAME}:@{SIMPLEENTITYNAME}:update')")
- @OperationLog("淇敼@{ENTITYNAME}")
+ @OperationLog("淇敼@{TABLEDESC}")
@PostMapping("/@{SIMPLEENTITYNAME}/update")
public R update(@RequestBody @{ENTITYNAME} @{SIMPLEENTITYNAME}) {
if (!@{SIMPLEENTITYNAME}Service.updateById(@{SIMPLEENTITYNAME})) {
@@ -69,7 +69,7 @@
}
@PreAuthorize("hasAuthority('@{ITEMNAME}:@{SIMPLEENTITYNAME}:remove')")
- @OperationLog("鍒犻櫎@{ENTITYNAME}")
+ @OperationLog("鍒犻櫎@{TABLEDESC}")
@PostMapping("/@{SIMPLEENTITYNAME}/remove/{ids}")
public R remove(@PathVariable Long[] ids) {
if (!@{SIMPLEENTITYNAME}Service.removeByIds(Arrays.asList(ids))) {
--
Gitblit v1.9.1