Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
52603ec0
You need to sign in or sign up before continuing.
Commit
52603ec0
authored
Mar 17, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目规则配置-fxj
parent
e6cfd6fd
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
10 deletions
+25
-10
SysAutoDictItem.java
...u/cloud/plus/v1/yifu/archives/entity/SysAutoDictItem.java
+1
-1
TAutoEmpRuleInfo.java
.../cloud/plus/v1/yifu/archives/entity/TAutoEmpRuleInfo.java
+11
-6
TAutoMainRel.java
...yifu/cloud/plus/v1/yifu/archives/entity/TAutoMainRel.java
+6
-0
TAutoMainRelExportVo.java
.../cloud/plus/v1/yifu/archives/vo/TAutoMainRelExportVo.java
+2
-0
TAutoEmpRuleInfoMapper.xml
...-biz/src/main/resources/mapper/TAutoEmpRuleInfoMapper.xml
+2
-1
TAutoMainRelMapper.xml
...ives-biz/src/main/resources/mapper/TAutoMainRelMapper.xml
+3
-2
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/SysAutoDictItem.java
View file @
52603ec0
...
...
@@ -52,7 +52,7 @@ public class SysAutoDictItem extends BaseEntity {
/**
* 字典ID
*/
@ExcelAttribute
(
name
=
"字典ID"
,
isNotEmpty
=
true
,
errorInfo
=
"字典ID不能为空"
)
@ExcelAttribute
(
name
=
"字典ID"
)
@NotBlank
(
message
=
"字典ID不能为空"
)
@ExcelProperty
(
"字典ID"
)
@Schema
(
description
=
"字典ID"
)
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TAutoEmpRuleInfo.java
View file @
52603ec0
...
...
@@ -62,20 +62,25 @@ public class TAutoEmpRuleInfo extends BaseEntity {
/**
* 收集方式:0自动1 手动
*/
@ExcelAttribute
(
name
=
"收集方式:0自动1 手动"
,
isNotEmpty
=
true
,
errorInfo
=
"收集方式不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"收集方式:0自动1 手动不能为空"
)
@ExcelAttribute
(
name
=
"收集方式:0自动1 手动"
)
@Length
(
max
=
1
,
message
=
"收集方式:0自动1 手动不能超过1个字符"
)
@ExcelProperty
(
"收集方式:0自动1 手动"
)
@Schema
(
description
=
"收集方式:0自动1 手动"
)
private
String
collectType
;
/**
* 推送类型
*/
@ExcelAttribute
(
name
=
"推送类型"
)
@ExcelProperty
(
"推送类型"
)
@Schema
(
description
=
"推送类型 0 入职日期"
)
private
String
pushType
;
/**
* 推送时间
*/
@ExcelAttribute
(
name
=
"推送时间"
,
isNotEmpty
=
true
,
errorInfo
=
"推送时间不能为空"
,
isDate
=
true
)
@NotBlank
(
message
=
"推送时间不能为空"
)
@ExcelAttribute
(
name
=
"推送时间"
)
@ExcelProperty
(
"推送时间"
)
@Schema
(
description
=
"推送时间"
)
private
Date
pushDate
;
private
String
pushDate
;
/**
* 员工类型
*/
...
...
@@ -119,7 +124,7 @@ public class TAutoEmpRuleInfo extends BaseEntity {
/**
* 业务细分(同合的业务细分)
*/
@ExcelAttribute
(
name
=
"业务细分(同合的业务细分)"
,
isNotEmpty
=
true
,
errorInfo
=
"业务细分不能为空"
,
maxLength
=
32
)
@ExcelAttribute
(
name
=
"业务细分(同合的业务细分)"
)
@NotBlank
(
message
=
"业务细分(同合的业务细分)不能为空"
)
@Length
(
max
=
32
,
message
=
"业务细分(同合的业务细分)不能超过32个字符"
)
@ExcelProperty
(
"业务细分(同合的业务细分)"
)
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TAutoMainRel.java
View file @
52603ec0
...
...
@@ -91,6 +91,12 @@ public class TAutoMainRel extends BaseEntity {
@Schema
(
description
=
"服务状态:0正常 1停止服务 2冻结"
)
@TableField
(
exist
=
false
)
private
String
stopFlag
;
/**
* 岗位是否统一
*/
@ExcelAttribute
(
name
=
"岗位是否统一"
,
maxLength
=
1
)
@Schema
(
description
=
"岗位是否统一 0是 1 否"
)
private
String
postFlag
;
/**
* 项目名称
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TAutoMainRelExportVo.java
View file @
52603ec0
...
...
@@ -18,6 +18,7 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.HeadFontStyle
;
import
com.alibaba.excel.annotation.write.style.HeadStyle
;
import
com.baomidou.mybatisplus.annotation.IdType
;
...
...
@@ -42,6 +43,7 @@ import java.util.Date;
* @date 2025-03-13 15:15:26
*/
@Data
@ColumnWidth
(
30
)
@Schema
(
description
=
"项目配置表主表"
)
public
class
TAutoMainRelExportVo
implements
Serializable
{
/**
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoEmpRuleInfoMapper.xml
View file @
52603ec0
...
...
@@ -27,6 +27,7 @@
<id
property=
"id"
column=
"ID"
/>
<result
property=
"autoFlag"
column=
"AUTO_FLAG"
/>
<result
property=
"collectType"
column=
"COLLECT_TYPE"
/>
<result
property=
"pushType"
column=
"PUSH_TYPE"
/>
<result
property=
"pushDate"
column=
"PUSH_DATE"
/>
<result
property=
"empType"
column=
"EMP_TYPE"
/>
<result
property=
"empProvince"
column=
"EMP_PROVINCE"
/>
...
...
@@ -63,7 +64,7 @@
a.UPDATE_TIME,
a.DEPT_NO,
a.DEPT_ID,
a.MAIN_ID
a.MAIN_ID
,a.PUSH_TYPE
</sql>
<sql
id=
"tAutoEmpRuleInfo_where"
>
<if
test=
"tAutoEmpRuleInfo != null"
>
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoMainRelMapper.xml
View file @
52603ec0
...
...
@@ -34,6 +34,7 @@
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"postFlag"
column=
"POST_FLAG"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
...
...
@@ -45,7 +46,7 @@
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
a.UPDATE_TIME
,a.post_flag
</sql>
<sql
id=
"tAutoMainRel_where"
>
<if
test=
"tAutoMainRel != null"
>
...
...
@@ -95,7 +96,7 @@
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
a.UPDATE_TIME
,a.post_flag
,b.DEPART_NAME,IFNULL(b.cs_name,'') csUserName,b.DEPART_NO dept_NO,IF(b.STOP_FLAG='0','是','否') STOP_FLAG
FROM t_auto_main_rel a
left join t_settle_domain b on a.DEPT_ID = b.id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment