Merge remote-tracking branch 'origin/master' into master
正在显示
7 个修改的文件
包含
173 行增加
和
0 行删除
sk-module-biz/src/main/java/com/skua/modules/joinclass/controller/JoinClassInfoController.java
0 → 100644
此文件的差异被折叠,
点击展开。
1 | package com.skua.modules.joinclass.entity; | ||
2 | |||
3 | import java.util.Date; | ||
4 | |||
5 | import com.baomidou.mybatisplus.annotation.IdType; | ||
6 | import com.baomidou.mybatisplus.annotation.TableId; | ||
7 | import com.baomidou.mybatisplus.annotation.TableName; | ||
8 | import io.swagger.annotations.ApiModel; | ||
9 | import io.swagger.annotations.ApiModelProperty; | ||
10 | import lombok.Data; | ||
11 | import lombok.EqualsAndHashCode; | ||
12 | import lombok.experimental.Accessors; | ||
13 | import com.fasterxml.jackson.annotation.JsonFormat; | ||
14 | import org.springframework.format.annotation.DateTimeFormat; | ||
15 | import org.jeecgframework.poi.excel.annotation.Excel; | ||
16 | |||
17 | /** | ||
18 | * 交接班信息 | ||
19 | */ | ||
20 | @Data | ||
21 | @TableName("join_class_info") | ||
22 | @EqualsAndHashCode(callSuper = false) | ||
23 | @Accessors(chain = true) | ||
24 | @ApiModel(value = "join_class_info对象", description = "交接班信息 ") | ||
25 | public class JoinClassInfo { | ||
26 | |||
27 | /** | ||
28 | * 主键 | ||
29 | */ | ||
30 | @TableId(type = IdType.ID_WORKER_STR) | ||
31 | @ApiModelProperty(value = "主键") | ||
32 | private String id; | ||
33 | /** | ||
34 | * 值班人员 | ||
35 | */ | ||
36 | @Excel(name = "值班人员", width = 15) | ||
37 | @ApiModelProperty(value = "值班人员") | ||
38 | private String onDutyUser; | ||
39 | /** | ||
40 | * 时间 | ||
41 | */ | ||
42 | @Excel(name = "时间", width = 15) | ||
43 | @ApiModelProperty(value = "时间") | ||
44 | private String dataTime; | ||
45 | /** | ||
46 | * 班次类型(白班1;夜班2) | ||
47 | */ | ||
48 | @Excel(name = "班次类型(白班1;夜班2)", width = 15) | ||
49 | @ApiModelProperty(value = "班次类型(白班1;夜班2)") | ||
50 | private String classType; | ||
51 | /** | ||
52 | * 值班记录 | ||
53 | */ | ||
54 | @Excel(name = "值班记录", width = 15) | ||
55 | @ApiModelProperty(value = "值班记录") | ||
56 | private String onDutyRecord; | ||
57 | /** | ||
58 | * 运行异常描述 | ||
59 | */ | ||
60 | @Excel(name = "运行异常描述", width = 15) | ||
61 | @ApiModelProperty(value = "运行异常描述") | ||
62 | private String runExceptionDesc; | ||
63 | /** | ||
64 | * 交接物品 | ||
65 | */ | ||
66 | @Excel(name = "交接物品", width = 15) | ||
67 | @ApiModelProperty(value = "交接物品") | ||
68 | private String handOverGoods; | ||
69 | /** | ||
70 | * 注意事项 | ||
71 | */ | ||
72 | @Excel(name = "注意事项", width = 15) | ||
73 | @ApiModelProperty(value = "注意事项") | ||
74 | private String attentionNote; | ||
75 | /** | ||
76 | * 交班人 | ||
77 | */ | ||
78 | @Excel(name = "交班人", width = 15) | ||
79 | @ApiModelProperty(value = "交班人") | ||
80 | private String handOverUser; | ||
81 | /** | ||
82 | * 接班人 | ||
83 | */ | ||
84 | @Excel(name = "接班人", width = 15) | ||
85 | @ApiModelProperty(value = "接班人") | ||
86 | private String takeOverUser; | ||
87 | /** | ||
88 | * 创建人 | ||
89 | */ | ||
90 | @Excel(name = "创建人", width = 15) | ||
91 | @ApiModelProperty(value = "创建人") | ||
92 | private String createBy; | ||
93 | /** | ||
94 | * 创建日期 | ||
95 | */ | ||
96 | @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss") | ||
97 | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") | ||
98 | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
99 | @ApiModelProperty(value = "创建日期") | ||
100 | private Date createTime; | ||
101 | /** | ||
102 | * 更新人 | ||
103 | */ | ||
104 | @Excel(name = "更新人", width = 15) | ||
105 | @ApiModelProperty(value = "更新人") | ||
106 | private String updateBy; | ||
107 | /** | ||
108 | * 更新日期 | ||
109 | */ | ||
110 | @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss") | ||
111 | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") | ||
112 | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | ||
113 | @ApiModelProperty(value = "更新日期") | ||
114 | private Date updateTime; | ||
115 | /** | ||
116 | * 排序字段 | ||
117 | */ | ||
118 | @Excel(name = "排序字段", width = 15) | ||
119 | @ApiModelProperty(value = "排序字段") | ||
120 | private Integer orderNum; | ||
121 | /** | ||
122 | * 删除状态(0正常;1已删除) | ||
123 | */ | ||
124 | @Excel(name = "删除状态(0正常;1已删除)", width = 15) | ||
125 | @ApiModelProperty(value = "删除状态(0正常;1已删除)") | ||
126 | private String delFlag; | ||
127 | |||
128 | } |
sk-module-biz/src/main/java/com/skua/modules/joinclass/mapper/xml/JoinClassInfoMapper.xml
0 → 100644
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
3 | <mapper namespace="com.skua.modules.joinclass.mapper.JoinClassInfoMapper"> | ||
4 | |||
5 | </mapper> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
sk-module-biz/src/main/java/com/skua/modules/joinclass/service/impl/JoinClassInfoServiceImpl.java
0 → 100644
1 | package com.skua.modules.joinclass.service.impl; | ||
2 | |||
3 | import com.skua.modules.joinclass.entity.JoinClassInfo; | ||
4 | import com.skua.modules.joinclass.mapper.JoinClassInfoMapper; | ||
5 | import com.skua.modules.joinclass.service.IJoinClassInfoService; | ||
6 | import org.springframework.stereotype.Service; | ||
7 | |||
8 | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | ||
9 | |||
10 | /** | ||
11 | * 交接班信息 | ||
12 | */ | ||
13 | @Service | ||
14 | public class JoinClassInfoServiceImpl extends ServiceImpl<JoinClassInfoMapper, JoinClassInfo> implements IJoinClassInfoService { | ||
15 | |||
16 | } |
-
请 注册 或 登录 后发表评论