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
a166cd6f
Commit
a166cd6f
authored
May 11, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公积金导入批量办理
parent
f9a6b095
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
ErrorCodes.java
.../cloud/plus/v1/yifu/common/core/exception/ErrorCodes.java
+4
-1
ErrorMessage.java
...ifu/cloud/plus/v1/yifu/common/core/util/ErrorMessage.java
+20
-1
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+2
-0
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/exception/ErrorCodes.java
View file @
a166cd6f
...
...
@@ -551,5 +551,8 @@ public interface ErrorCodes {
* 公积金办理:无办理权限或无可需要办理的公积金数据
*/
String
FUND_IMPORT_HANDLE_NOT_EXITS
=
"fund.import.handle.not.exits"
;
/**
* 公积金办理:办理失败,失败原因必填
*/
String
FUND_IMPORT_HANDLE_REASON_NOT_EMPY
=
"fund_import_handle_reason_not_empty"
;
}
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/util/ErrorMessage.java
View file @
a166cd6f
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
common
.
core
.
util
;
import
lombok.Data
;
import
lombok.Getter
;
import
lombok.Setter
;
import
java.io.Serializable
;
import
java.util.HashSet
;
...
...
@@ -10,7 +12,7 @@ import java.util.Set;
* @author fang
*/
@Data
public
class
ErrorMessage
implements
Serializable
{
public
class
ErrorMessage
<
T
>
implements
Serializable
{
/**
* 行数或INDEX
*/
...
...
@@ -29,18 +31,35 @@ public class ErrorMessage implements Serializable {
* 错误信息
*/
private
String
message
;
/**
* 数据
*/
private
T
data
;
public
ErrorMessage
(
Integer
lineNum
,
String
message
)
{
this
.
lineNum
=
lineNum
;
this
.
color
=
"red"
;
this
.
message
=
message
;
}
public
ErrorMessage
(
Integer
lineNum
,
String
message
,
T
t
)
{
this
.
lineNum
=
lineNum
;
this
.
color
=
"red"
;
this
.
message
=
message
;
this
.
data
=
t
;
}
public
ErrorMessage
(
Integer
lineNum
,
String
message
,
String
color
)
{
this
.
lineNum
=
lineNum
;
this
.
color
=
color
;
this
.
message
=
message
;
}
public
ErrorMessage
(
Integer
lineNum
,
String
message
,
String
color
,
T
t
)
{
this
.
lineNum
=
lineNum
;
this
.
color
=
color
;
this
.
message
=
message
;
this
.
data
=
t
;
}
public
ErrorMessage
(
Integer
lineNum
,
String
message
,
String
color
,
String
name
)
{
this
.
lineNum
=
lineNum
;
this
.
color
=
color
;
...
...
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
a166cd6f
...
...
@@ -216,6 +216,8 @@ fund.hold.is.empty=\u516C\u79EF\u91D1\u6237\u4E0D\u80FD\u4E3A\u7A7A
fund.import.handle.not.exits
=
\u
65E0
\u
529E
\u7406\u6743\u9650\u6216\u
65E0
\u
53EF
\u9700\u8981\u
529E
\u7406\u7684\u
516C
\u
79EF
\u
91D1
\u6570\u
636E
fund_import_handle_reason_not_empty
=
\u
516C
\u
79EF
\u
91D1
\u
529E
\u7406\u
FF1A
\u
529E
\u7406\u5931\u
8D25
\u
FF0C
\u5931\u
8D25
\u
7C7B
\u
578B
\u
5FC5
\u
586B
...
...
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