From 59dd3f6036a95636b8fd36a2350943bd19c36297 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E9=A3=9E=E5=AE=87?= <2684146481@qq.com> Date: Thu, 27 Jul 2023 09:11:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=97=A5=E5=BF=97=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=8E=92=E5=BA=8F=E8=A7=84=E5=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/LogOptionsModuleNameController.java | 21 ++++++++ .../systemlog/entity/LogOptionsModuleName.java | 63 ++++++++++++++++++++++ .../mapper/LogOptionsModuleNameMapper.java | 16 ++++++ .../mapper/LogOptionsModuleNameMapper.xml | 5 ++ .../service/ILogOptionsModuleNameService.java | 16 ++++++ .../impl/LogOptionsModuleNameServiceImpl.java | 20 +++++++ 6 files changed, 141 insertions(+) create mode 100644 hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/controller/LogOptionsModuleNameController.java create mode 100644 hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/entity/LogOptionsModuleName.java create mode 100644 hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.java create mode 100644 hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.xml create mode 100644 hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/ILogOptionsModuleNameService.java create mode 100644 hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/impl/LogOptionsModuleNameServiceImpl.java diff --git a/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/controller/LogOptionsModuleNameController.java b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/controller/LogOptionsModuleNameController.java new file mode 100644 index 0000000..e4f3e25 --- /dev/null +++ b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/controller/LogOptionsModuleNameController.java @@ -0,0 +1,21 @@ +package com.hnac.hzims.middle.systemlog.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *

+ * 前端控制器 + *

+ * + * @author dfy + * @since 2023-07-27 + */ +@RestController +@RequestMapping("/systemlog/log-options-module-name") +public class LogOptionsModuleNameController { + +} + diff --git a/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/entity/LogOptionsModuleName.java b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/entity/LogOptionsModuleName.java new file mode 100644 index 0000000..4954141 --- /dev/null +++ b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/entity/LogOptionsModuleName.java @@ -0,0 +1,63 @@ +package com.hnac.hzims.middle.systemlog.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import java.time.LocalDateTime; +import com.baomidou.mybatisplus.annotation.TableField; +import java.io.Serializable; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + *

+ * + *

+ * + * @author dfy + * @since 2023-07-27 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@TableName("log_options_module_name") +public class LogOptionsModuleName implements Serializable { + + private static final long serialVersionUID=1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + /** + * 功能模块 + */ + @TableField("module_name") + private String moduleName; + + /** + * 排序 + */ + @TableField("sort") + private Integer sort; + + /** + * 创建时间 + */ + @TableField("create_time") + private LocalDateTime createTime; + + /** + * 更新时间 + */ + @TableField("update_time") + private LocalDateTime updateTime; + + /** + * 逻辑删除 (0 可用 1 删除) + */ + @TableField("is_deleted") + private Integer isDeleted; + + +} diff --git a/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.java b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.java new file mode 100644 index 0000000..30611fa --- /dev/null +++ b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.java @@ -0,0 +1,16 @@ +package com.hnac.hzims.middle.systemlog.mapper; + +import com.hnac.hzims.middle.systemlog.entity.LogOptionsModuleName; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + *

+ * Mapper 接口 + *

+ * + * @author dfy + * @since 2023-07-27 + */ +public interface LogOptionsModuleNameMapper extends BaseMapper { + +} diff --git a/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.xml b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.xml new file mode 100644 index 0000000..a17596b --- /dev/null +++ b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/mapper/LogOptionsModuleNameMapper.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/ILogOptionsModuleNameService.java b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/ILogOptionsModuleNameService.java new file mode 100644 index 0000000..1a5b79e2 --- /dev/null +++ b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/ILogOptionsModuleNameService.java @@ -0,0 +1,16 @@ +package com.hnac.hzims.middle.systemlog.service; + +import com.hnac.hzims.middle.systemlog.entity.LogOptionsModuleName; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + *

+ * 服务类 + *

+ * + * @author dfy + * @since 2023-07-27 + */ +public interface ILogOptionsModuleNameService extends IService { + +} diff --git a/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/impl/LogOptionsModuleNameServiceImpl.java b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/impl/LogOptionsModuleNameServiceImpl.java new file mode 100644 index 0000000..19dd9df --- /dev/null +++ b/hzims-service/hzims-middle/src/main/java/com/hnac/hzims/middle/systemlog/service/impl/LogOptionsModuleNameServiceImpl.java @@ -0,0 +1,20 @@ +package com.hnac.hzims.middle.systemlog.service.impl; + +import com.hnac.hzims.middle.systemlog.entity.LogOptionsModuleName; +import com.hnac.hzims.middle.systemlog.mapper.LogOptionsModuleNameMapper; +import com.hnac.hzims.middle.systemlog.service.ILogOptionsModuleNameService; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; + +/** + *

+ * 服务实现类 + *

+ * + * @author dfy + * @since 2023-07-27 + */ +@Service +public class LogOptionsModuleNameServiceImpl extends ServiceImpl implements ILogOptionsModuleNameService { + +}