段飞宇
1 year ago
6 changed files with 141 additions and 0 deletions
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 前端控制器 |
||||
* </p> |
||||
* |
||||
* @author dfy |
||||
* @since 2023-07-27 |
||||
*/ |
||||
@RestController |
||||
@RequestMapping("/systemlog/log-options-module-name") |
||||
public class LogOptionsModuleNameController { |
||||
|
||||
} |
||||
|
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* |
||||
* </p> |
||||
* |
||||
* @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; |
||||
|
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* Mapper 接口 |
||||
* </p> |
||||
* |
||||
* @author dfy |
||||
* @since 2023-07-27 |
||||
*/ |
||||
public interface LogOptionsModuleNameMapper extends BaseMapper<LogOptionsModuleName> { |
||||
|
||||
} |
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.hnac.hzims.middle.systemlog.mapper.LogOptionsModuleNameMapper"> |
||||
|
||||
</mapper> |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 服务类 |
||||
* </p> |
||||
* |
||||
* @author dfy |
||||
* @since 2023-07-27 |
||||
*/ |
||||
public interface ILogOptionsModuleNameService extends IService<LogOptionsModuleName> { |
||||
|
||||
} |
@ -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; |
||||
|
||||
/** |
||||
* <p> |
||||
* 服务实现类 |
||||
* </p> |
||||
* |
||||
* @author dfy |
||||
* @since 2023-07-27 |
||||
*/ |
||||
@Service |
||||
public class LogOptionsModuleNameServiceImpl extends ServiceImpl<LogOptionsModuleNameMapper, LogOptionsModuleName> implements ILogOptionsModuleNameService { |
||||
|
||||
} |
Loading…
Reference in new issue