refactor(generator):重构代码生成器配置与模板

- 重命名 ShopGenerator 为 ClinicGenerator
- 更新数据库连接配置信息
- 修改模块名称为 clinic- 更新 Vue 和 UniApp 文件输出路径
- 移除未使用的 import 语句- 注释掉 Controller 模板中的用户 ID 设置逻辑
- 新增 OperationLog 注解类
- 删除无用的 TestMain 测试类
This commit is contained in:
2025-10-16 20:18:49 +08:00
parent 28dce07428
commit 97041ad515
4 changed files with 66 additions and 88 deletions

View File

@@ -0,0 +1,41 @@
package com.gxwebsoft.common.core.annotation;
import java.lang.annotation.*;
/**
* 操作日志记录注解
*
* @author WebSoft
* @since 2020-03-21 17:03:08
*/
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface OperationLog {
/**
* 操作功能
*/
String value() default "";
/**
* 操作模块
*/
String module() default "";
/**
* 备注
*/
String comments() default "";
/**
* 是否记录请求参数
*/
boolean param() default true;
/**
* 是否记录返回结果
*/
boolean result() default true;
}