diff --git a/.gitignore b/.gitignore index 3abcd8a..841c149 100644 --- a/.gitignore +++ b/.gitignore @@ -46,3 +46,5 @@ nbdist/ !*/build/*.java !*/build/*.html !*/build/*.xml + +.flattened-pom.xml diff --git a/pom.xml b/pom.xml index a51f2f1..02af71e 100644 --- a/pom.xml +++ b/pom.xml @@ -177,6 +177,13 @@ ${revision} + + + com.ruoyi + ruoyi-demo + ${revision} + + @@ -211,6 +218,7 @@ resolveCiFriendliesOnly + flatten process-resources @@ -218,6 +226,7 @@ flatten + flatten.clean clean diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml index 033fcda..9c725d4 100644 --- a/ruoyi-admin/pom.xml +++ b/ruoyi-admin/pom.xml @@ -62,6 +62,12 @@ ruoyi-generator + + + com.ruoyi + ruoyi-demo + + diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index da0491c..6a9bc68 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -134,4 +134,4 @@ xss: # 排除链接(多个用逗号分隔) excludes: /system/notice # 匹配链接 - urlPatterns: /system/*,/monitor/*,/tool/* + urlPatterns: /system/*,/monitor/*,/tool/*,/demo/* diff --git a/ruoyi-modules/ruoyi-demo/pom.xml b/ruoyi-modules/ruoyi-demo/pom.xml index 0aa6154..899362e 100644 --- a/ruoyi-modules/ruoyi-demo/pom.xml +++ b/ruoyi-modules/ruoyi-demo/pom.xml @@ -16,7 +16,10 @@ - + + com.ruoyi + ruoyi-common + diff --git a/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/DemoStudentController.java b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/DemoStudentController.java new file mode 100644 index 0000000..add443b --- /dev/null +++ b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/DemoStudentController.java @@ -0,0 +1,104 @@ +package com.ruoyi.demo.controller; + +import java.util.List; +import jakarta.servlet.http.HttpServletResponse; +import org.springframework.security.access.prepost.PreAuthorize; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.PutMapping; +import org.springframework.web.bind.annotation.DeleteMapping; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import com.ruoyi.common.annotation.Log; +import com.ruoyi.common.core.controller.BaseController; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.enums.BusinessType; +import com.ruoyi.demo.domain.DemoStudent; +import com.ruoyi.demo.service.IDemoStudentService; +import com.ruoyi.common.utils.poi.ExcelUtil; +import com.ruoyi.common.core.page.TableDataInfo; + +/** + * 学生信息单表(mb)Controller + * + * @author 数据小王子 + * @date 2023-07-09 + */ +@RestController +@RequestMapping("/demo/student") +public class DemoStudentController extends BaseController +{ + @Autowired + private IDemoStudentService demoStudentService; + + /** + * 查询学生信息单表(mb)列表 + */ + @PreAuthorize("@ss.hasPermi('demo:student:list')") + @GetMapping("/list") + public TableDataInfo list(DemoStudent demoStudent) + { + startPage(); + List list = demoStudentService.selectDemoStudentList(demoStudent); + return getDataTable(list); + } + + /** + * 导出学生信息单表(mb)列表 + */ + @PreAuthorize("@ss.hasPermi('demo:student:export')") + @Log(title = "学生信息单表(mb)", businessType = BusinessType.EXPORT) + @PostMapping("/export") + public void export(HttpServletResponse response, DemoStudent demoStudent) + { + List list = demoStudentService.selectDemoStudentList(demoStudent); + ExcelUtil util = new ExcelUtil(DemoStudent.class); + util.exportExcel(response, list, "学生信息单表(mb)数据"); + } + + /** + * 获取学生信息单表(mb)详细信息 + */ + @PreAuthorize("@ss.hasPermi('demo:student:query')") + @GetMapping(value = "/{studentId}") + public AjaxResult getInfo(@PathVariable("studentId") Long studentId) + { + return success(demoStudentService.selectDemoStudentByStudentId(studentId)); + } + + /** + * 新增学生信息单表(mb) + */ + @PreAuthorize("@ss.hasPermi('demo:student:add')") + @Log(title = "学生信息单表(mb)", businessType = BusinessType.INSERT) + @PostMapping + public AjaxResult add(@RequestBody DemoStudent demoStudent) + { + return toAjax(demoStudentService.insertDemoStudent(demoStudent)); + } + + /** + * 修改学生信息单表(mb) + */ + @PreAuthorize("@ss.hasPermi('demo:student:edit')") + @Log(title = "学生信息单表(mb)", businessType = BusinessType.UPDATE) + @PutMapping + public AjaxResult edit(@RequestBody DemoStudent demoStudent) + { + return toAjax(demoStudentService.updateDemoStudent(demoStudent)); + } + + /** + * 删除学生信息单表(mb) + */ + @PreAuthorize("@ss.hasPermi('demo:student:remove')") + @Log(title = "学生信息单表(mb)", businessType = BusinessType.DELETE) + @DeleteMapping("/{studentIds}") + public AjaxResult remove(@PathVariable Long[] studentIds) + { + return toAjax(demoStudentService.deleteDemoStudentByStudentIds(studentIds)); + } +} diff --git a/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/domain/DemoStudent.java b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/domain/DemoStudent.java new file mode 100644 index 0000000..2a678f6 --- /dev/null +++ b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/domain/DemoStudent.java @@ -0,0 +1,124 @@ +package com.ruoyi.demo.domain; + +import java.util.Date; +import com.fasterxml.jackson.annotation.JsonFormat; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; +import com.ruoyi.common.annotation.Excel; +import com.ruoyi.common.core.domain.BaseEntity; + +/** + * 学生信息单表(mb)对象 demo_student + * + * @author 数据小王子 + * @date 2023-07-09 + */ +public class DemoStudent extends BaseEntity +{ + private static final long serialVersionUID = 1L; + + /** 编号 */ + private Long studentId; + + /** 学生名称 */ + @Excel(name = "学生名称") + private String studentName; + + /** 年龄 */ + @Excel(name = "年龄") + private Long studentAge; + + /** 爱好(0代码 1音乐 2电影) */ + @Excel(name = "爱好", readConverterExp = "0=代码,1=音乐,2=电影") + private String studentHobby; + + /** 性别(1男 2女 3未知) */ + @Excel(name = "性别", readConverterExp = "1=男,2=女,3=未知") + private String studentSex; + + /** 状态(0正常 1停用) */ + @Excel(name = "状态", readConverterExp = "0=正常,1=停用") + private String studentStatus; + + /** 生日 */ + @JsonFormat(pattern = "yyyy-MM-dd") + @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd") + private Date studentBirthday; + + public void setStudentId(Long studentId) + { + this.studentId = studentId; + } + + public Long getStudentId() + { + return studentId; + } + public void setStudentName(String studentName) + { + this.studentName = studentName; + } + + public String getStudentName() + { + return studentName; + } + public void setStudentAge(Long studentAge) + { + this.studentAge = studentAge; + } + + public Long getStudentAge() + { + return studentAge; + } + public void setStudentHobby(String studentHobby) + { + this.studentHobby = studentHobby; + } + + public String getStudentHobby() + { + return studentHobby; + } + public void setStudentSex(String studentSex) + { + this.studentSex = studentSex; + } + + public String getStudentSex() + { + return studentSex; + } + public void setStudentStatus(String studentStatus) + { + this.studentStatus = studentStatus; + } + + public String getStudentStatus() + { + return studentStatus; + } + public void setStudentBirthday(Date studentBirthday) + { + this.studentBirthday = studentBirthday; + } + + public Date getStudentBirthday() + { + return studentBirthday; + } + + @Override + public String toString() { + return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) + .append("studentId", getStudentId()) + .append("studentName", getStudentName()) + .append("studentAge", getStudentAge()) + .append("studentHobby", getStudentHobby()) + .append("studentSex", getStudentSex()) + .append("studentStatus", getStudentStatus()) + .append("studentBirthday", getStudentBirthday()) + .toString(); + } +} diff --git a/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/mapper/DemoStudentMapper.java b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/mapper/DemoStudentMapper.java new file mode 100644 index 0000000..8fbc28e --- /dev/null +++ b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/mapper/DemoStudentMapper.java @@ -0,0 +1,61 @@ +package com.ruoyi.demo.mapper; + +import java.util.List; +import com.ruoyi.demo.domain.DemoStudent; + +/** + * 学生信息单表(mb)Mapper接口 + * + * @author 数据小王子 + * @date 2023-07-09 + */ +public interface DemoStudentMapper +{ + /** + * 查询学生信息单表(mb) + * + * @param studentId 学生信息单表(mb)主键 + * @return 学生信息单表(mb) + */ + public DemoStudent selectDemoStudentByStudentId(Long studentId); + + /** + * 查询学生信息单表(mb)列表 + * + * @param demoStudent 学生信息单表(mb) + * @return 学生信息单表(mb)集合 + */ + public List selectDemoStudentList(DemoStudent demoStudent); + + /** + * 新增学生信息单表(mb) + * + * @param demoStudent 学生信息单表(mb) + * @return 结果 + */ + public int insertDemoStudent(DemoStudent demoStudent); + + /** + * 修改学生信息单表(mb) + * + * @param demoStudent 学生信息单表(mb) + * @return 结果 + */ + public int updateDemoStudent(DemoStudent demoStudent); + + /** + * 删除学生信息单表(mb) + * + * @param studentId 学生信息单表(mb)主键 + * @return 结果 + */ + public int deleteDemoStudentByStudentId(Long studentId); + + /** + * 批量删除学生信息单表(mb) + * + * @param studentIds 需要删除的数据主键集合 + * @return 结果 + */ + public int deleteDemoStudentByStudentIds(Long[] studentIds); +} diff --git a/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/service/IDemoStudentService.java b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/service/IDemoStudentService.java new file mode 100644 index 0000000..8da13ff --- /dev/null +++ b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/service/IDemoStudentService.java @@ -0,0 +1,61 @@ +package com.ruoyi.demo.service; + +import java.util.List; +import com.ruoyi.demo.domain.DemoStudent; + +/** + * 学生信息单表(mb)Service接口 + * + * @author 数据小王子 + * @date 2023-07-09 + */ +public interface IDemoStudentService +{ + /** + * 查询学生信息单表(mb) + * + * @param studentId 学生信息单表(mb)主键 + * @return 学生信息单表(mb) + */ + public DemoStudent selectDemoStudentByStudentId(Long studentId); + + /** + * 查询学生信息单表(mb)列表 + * + * @param demoStudent 学生信息单表(mb) + * @return 学生信息单表(mb)集合 + */ + public List selectDemoStudentList(DemoStudent demoStudent); + + /** + * 新增学生信息单表(mb) + * + * @param demoStudent 学生信息单表(mb) + * @return 结果 + */ + public int insertDemoStudent(DemoStudent demoStudent); + + /** + * 修改学生信息单表(mb) + * + * @param demoStudent 学生信息单表(mb) + * @return 结果 + */ + public int updateDemoStudent(DemoStudent demoStudent); + + /** + * 批量删除学生信息单表(mb) + * + * @param studentIds 需要删除的学生信息单表(mb)主键集合 + * @return 结果 + */ + public int deleteDemoStudentByStudentIds(Long[] studentIds); + + /** + * 删除学生信息单表(mb)信息 + * + * @param studentId 学生信息单表(mb)主键 + * @return 结果 + */ + public int deleteDemoStudentByStudentId(Long studentId); +} diff --git a/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/DemoStudentServiceImpl.java b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/DemoStudentServiceImpl.java new file mode 100644 index 0000000..28a0924 --- /dev/null +++ b/ruoyi-modules/ruoyi-demo/src/main/java/com/ruoyi/demo/service/impl/DemoStudentServiceImpl.java @@ -0,0 +1,93 @@ +package com.ruoyi.demo.service.impl; + +import java.util.List; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.ruoyi.demo.mapper.DemoStudentMapper; +import com.ruoyi.demo.domain.DemoStudent; +import com.ruoyi.demo.service.IDemoStudentService; + +/** + * 学生信息单表(mb)Service业务层处理 + * + * @author 数据小王子 + * @date 2023-07-09 + */ +@Service +public class DemoStudentServiceImpl implements IDemoStudentService +{ + @Autowired + private DemoStudentMapper demoStudentMapper; + + /** + * 查询学生信息单表(mb) + * + * @param studentId 学生信息单表(mb)主键 + * @return 学生信息单表(mb) + */ + @Override + public DemoStudent selectDemoStudentByStudentId(Long studentId) + { + return demoStudentMapper.selectDemoStudentByStudentId(studentId); + } + + /** + * 查询学生信息单表(mb)列表 + * + * @param demoStudent 学生信息单表(mb) + * @return 学生信息单表(mb) + */ + @Override + public List selectDemoStudentList(DemoStudent demoStudent) + { + return demoStudentMapper.selectDemoStudentList(demoStudent); + } + + /** + * 新增学生信息单表(mb) + * + * @param demoStudent 学生信息单表(mb) + * @return 结果 + */ + @Override + public int insertDemoStudent(DemoStudent demoStudent) + { + return demoStudentMapper.insertDemoStudent(demoStudent); + } + + /** + * 修改学生信息单表(mb) + * + * @param demoStudent 学生信息单表(mb) + * @return 结果 + */ + @Override + public int updateDemoStudent(DemoStudent demoStudent) + { + return demoStudentMapper.updateDemoStudent(demoStudent); + } + + /** + * 批量删除学生信息单表(mb) + * + * @param studentIds 需要删除的学生信息单表(mb)主键 + * @return 结果 + */ + @Override + public int deleteDemoStudentByStudentIds(Long[] studentIds) + { + return demoStudentMapper.deleteDemoStudentByStudentIds(studentIds); + } + + /** + * 删除学生信息单表(mb)信息 + * + * @param studentId 学生信息单表(mb)主键 + * @return 结果 + */ + @Override + public int deleteDemoStudentByStudentId(Long studentId) + { + return demoStudentMapper.deleteDemoStudentByStudentId(studentId); + } +} diff --git a/ruoyi-modules/ruoyi-demo/src/main/resources/mapper/demo/DemoStudentMapper.xml b/ruoyi-modules/ruoyi-demo/src/main/resources/mapper/demo/DemoStudentMapper.xml new file mode 100644 index 0000000..a3871df --- /dev/null +++ b/ruoyi-modules/ruoyi-demo/src/main/resources/mapper/demo/DemoStudentMapper.xml @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + select student_id, student_name, student_age, student_hobby, student_sex, student_status, student_birthday from demo_student + + + + + + + + insert into demo_student + + student_name, + student_age, + student_hobby, + student_sex, + student_status, + student_birthday, + + + #{studentName}, + #{studentAge}, + #{studentHobby}, + #{studentSex}, + #{studentStatus}, + #{studentBirthday}, + + + + + update demo_student + + student_name = #{studentName}, + student_age = #{studentAge}, + student_hobby = #{studentHobby}, + student_sex = #{studentSex}, + student_status = #{studentStatus}, + student_birthday = #{studentBirthday}, + + where student_id = #{studentId} + + + + delete from demo_student where student_id = #{studentId} + + + + delete from demo_student where student_id in + + #{studentId} + + + \ No newline at end of file diff --git a/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml b/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml index 7eae68e..457c954 100644 --- a/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml +++ b/ruoyi-modules/ruoyi-generator/src/main/resources/generator.yml @@ -1,9 +1,9 @@ # 代码生成 gen: # 作者 - author: ruoyi + author: 数据小王子 # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool - packageName: com.ruoyi.system + packageName: com.ruoyi.demo # 自动去除表前缀,默认是false autoRemovePre: false # 表前缀(生成类名不会包含表前缀,多个用逗号分隔) diff --git a/ruoyi-ui/src/api/demo/student.js b/ruoyi-ui/src/api/demo/student.js new file mode 100644 index 0000000..69b0b8e --- /dev/null +++ b/ruoyi-ui/src/api/demo/student.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询学生信息单表(mb)列表 +export function listStudent(query) { + return request({ + url: '/demo/student/list', + method: 'get', + params: query + }) +} + +// 查询学生信息单表(mb)详细 +export function getStudent(studentId) { + return request({ + url: '/demo/student/' + studentId, + method: 'get' + }) +} + +// 新增学生信息单表(mb) +export function addStudent(data) { + return request({ + url: '/demo/student', + method: 'post', + data: data + }) +} + +// 修改学生信息单表(mb) +export function updateStudent(data) { + return request({ + url: '/demo/student', + method: 'put', + data: data + }) +} + +// 删除学生信息单表(mb) +export function delStudent(studentId) { + return request({ + url: '/demo/student/' + studentId, + method: 'delete' + }) +} diff --git a/ruoyi-ui/src/views/demo/student/index.vue b/ruoyi-ui/src/views/demo/student/index.vue new file mode 100644 index 0000000..3407e16 --- /dev/null +++ b/ruoyi-ui/src/views/demo/student/index.vue @@ -0,0 +1,339 @@ + + + diff --git a/sql/update.sql b/sql/update.sql index 4d0419f..9fc60db 100644 --- a/sql/update.sql +++ b/sql/update.sql @@ -1,3 +1,53 @@ -- udate to Ruoyi-Flex V4.1.1: ALTER TABLE `gen_table_column` CHANGE COLUMN `table_id` `table_id` BIGINT NOT NULL COMMENT '归属表编号' AFTER `column_id`; + +-- 测试菜单 SQL +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('测试菜单', '0', '99', 'test', null, 1, 0, 'M', '0', '0', null, 'people', 'admin', sysdate(), '', null, '测试菜单'); + +-- 表 demo_student 结构定义 +CREATE TABLE IF NOT EXISTS `demo_student` ( + `student_id` int NOT NULL AUTO_INCREMENT COMMENT '编号', + `student_name` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '学生名称', + `student_age` int DEFAULT NULL COMMENT '年龄', + `student_hobby` varchar(30) COLLATE utf8mb4_bin DEFAULT '' COMMENT '爱好(0代码 1音乐 2电影)', + `student_sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT '1' COMMENT '性别(1男 2女 3未知)', + `student_status` char(1) COLLATE utf8mb4_bin DEFAULT '0' COMMENT '状态(0正常 1停用)', + `student_birthday` datetime DEFAULT NULL COMMENT '生日', + PRIMARY KEY (`student_id`) + ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin COMMENT='学生信息单表'; + +-- 学生信息单表 菜单 SQL +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('学生信息单表(mb)', '2018', '1', 'student', 'demo/student/index', 1, 0, 'C', '0', '0', 'demo:student:list', '#', 'admin', sysdate(), '', null, '学生信息单表(mb)菜单'); +-- 按钮父菜单ID +SELECT @parentId := LAST_INSERT_ID(); +-- 按钮 SQL +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('学生信息单表(mb)查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'demo:student:query', '#', 'admin', sysdate(), '', null, ''); +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('学生信息单表(mb)新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'demo:student:add', '#', 'admin', sysdate(), '', null, ''); +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('学生信息单表(mb)修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'demo:student:edit', '#', 'admin', sysdate(), '', null, ''); +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('学生信息单表(mb)删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'demo:student:remove', '#', 'admin', sysdate(), '', null, ''); +insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark) +values('学生信息单表(mb)导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'demo:student:export', '#', 'admin', sysdate(), '', null, ''); + +-- 插入gen_table数据 +INSERT INTO `gen_table` (`table_id`, `table_name`, `table_comment`, `sub_table_name`, `sub_table_fk_name`, `class_name`, `tpl_category`, `package_name`, `module_name`, `business_name`, `function_name`, `function_author`, `gen_type`, `gen_path`, `options`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES + (1, 'demo_student', '学生信息表', NULL, NULL, 'DemoStudent', 'crud', 'com.ruoyi.demo', 'demo', 'student', '学生信息单表(mb)', '数据小王子', '0', '/', '{"parentMenuId":"2018"}', 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53', '生成mybatis语法单表代码'); + +-- 插入gen_table_column数据 +INSERT INTO `gen_table_column` (`column_id`, `table_id`, `column_name`, `column_comment`, `column_type`, `java_type`, `java_field`, `is_pk`, `is_increment`, `is_required`, `is_insert`, `is_edit`, `is_list`, `is_query`, `query_type`, `html_type`, `dict_type`, `sort`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES + (1, 1, 'student_id', '编号', 'int', 'Long', 'studentId', '1', '1', NULL, '1', NULL, NULL, NULL, 'EQ', 'input', '', 1, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), + (2, 1, 'student_name', '学生名称', 'varchar(30)', 'String', 'studentName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 2, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), + (3, 1, 'student_age', '年龄', 'int', 'Long', 'studentAge', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), + (4, 1, 'student_hobby', '爱好(0代码 1音乐 2电影)', 'varchar(30)', 'String', 'studentHobby', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'select', 'sys_student_hobby', 4, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), + (5, 1, 'student_sex', '性别(1男 2女 3未知)', 'char(1)', 'String', 'studentSex', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'select', 'sys_user_sex', 5, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), + (6, 1, 'student_status', '状态(0正常 1停用)', 'char(1)', 'String', 'studentStatus', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'radio', 'sys_student_status', 6, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'), + (7, 1, 'student_birthday', '生日', 'datetime', 'Date', 'studentBirthday', '0', '0', '1', '1', '1', '1', '0', 'EQ', 'datetime', '', 7, 'admin', '2023-06-03 21:44:19', '', '2023-07-09 12:14:53'); + + +