From 168d49fe0b21aaf1d06512a2896959120beec312 Mon Sep 17 00:00:00 2001 From: abbfun <819589789@qq.com> Date: 星期一, 08 八月 2022 09:46:08 +0800 Subject: [PATCH] 优化表格上右侧工具条(搜索按钮显隐&右侧样式凸出) 无搜索条件时可通过search隐藏搜索按钮,工具条组右侧样式超出5px(相对于底部表格),其父节点gutter代码生成默认10,此处也默认10,使工具组样式左右一致 --- ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java index 898aa8a..f95b332 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysLogininfor.java @@ -2,15 +2,12 @@ import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; -import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.ruoyi.common.annotation.ExcelDictFormat; import com.ruoyi.common.convert.ExcelDictConvert; import lombok.Data; -import lombok.NoArgsConstructor; -import lombok.experimental.Accessors; import java.io.Serializable; import java.util.Date; @@ -20,12 +17,10 @@ /** * 绯荤粺璁块棶璁板綍琛� sys_logininfor * - * @author ruoyi + * @author Lion Li */ @Data -@NoArgsConstructor -@Accessors(chain = true) @TableName("sys_logininfor") @ExcelIgnoreUnannotated public class SysLogininfor implements Serializable { @@ -35,7 +30,7 @@ * ID */ @ExcelProperty(value = "搴忓彿") - @TableId(value = "info_id", type = IdType.AUTO) + @TableId(value = "info_id") private Long infoId; /** @@ -48,7 +43,7 @@ * 鐧诲綍鐘舵�� 0鎴愬姛 1澶辫触 */ @ExcelProperty(value = "鐧诲綍鐘舵��", converter = ExcelDictConvert.class) - @ExcelDictFormat(dictType = "sys_common_status") + @ExcelDictFormat(dictType = "sys_common_status") private String status; /** -- Gitblit v1.9.3