Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
head_group
xyqb-user2
Commits
6b2cd7d7
Commit
6b2cd7d7
authored
May 24, 2018
by
xiaoguang.xu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: enum no set
parent
fbe49235
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
23 deletions
+1
-23
MaritalStatus.java
...va/cn/quantgroup/xyqb/entity/enumerate/MaritalStatus.java
+0
-4
Gender.java
src/main/java/cn/quantgroup/xyqb/model/Gender.java
+0
-4
IdType.java
src/main/java/cn/quantgroup/xyqb/model/IdType.java
+0
-4
SmsMerchant.java
src/main/java/cn/quantgroup/xyqb/model/sms/SmsMerchant.java
+0
-10
SmsServiceImpl.java
...a/cn/quantgroup/xyqb/service/sms/impl/SmsServiceImpl.java
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/entity/enumerate/MaritalStatus.java
View file @
6b2cd7d7
...
@@ -23,10 +23,6 @@ public enum MaritalStatus {
...
@@ -23,10 +23,6 @@ public enum MaritalStatus {
return
description
;
return
description
;
}
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
String
sb
=
"MaritalStatus{"
+
"description='"
+
description
+
'\''
+
String
sb
=
"MaritalStatus{"
+
"description='"
+
description
+
'\''
+
...
...
src/main/java/cn/quantgroup/xyqb/model/Gender.java
View file @
6b2cd7d7
...
@@ -18,10 +18,6 @@ public enum Gender {
...
@@ -18,10 +18,6 @@ public enum Gender {
return
name
;
return
name
;
}
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
name
;
return
name
;
...
...
src/main/java/cn/quantgroup/xyqb/model/IdType.java
View file @
6b2cd7d7
...
@@ -26,10 +26,6 @@ public enum IdType {
...
@@ -26,10 +26,6 @@ public enum IdType {
return
name
;
return
name
;
}
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
name
;
return
name
;
...
...
src/main/java/cn/quantgroup/xyqb/model/sms/SmsMerchant.java
View file @
6b2cd7d7
...
@@ -79,14 +79,4 @@ public enum SmsMerchant {
...
@@ -79,14 +79,4 @@ public enum SmsMerchant {
}
}
return
merchant
;
return
merchant
;
}
}
/*
public static void main(String[] args){
String name = "FLYING_cow_TO_BORROW";
name = null;
name = Optional.ofNullable(name).orElse("");
System.out.println(SmsMerchant.of(name.toUpperCase()));
System.out.println(SmsMerchant.valueOf(name.toUpperCase()));
}
*/
}
}
src/main/java/cn/quantgroup/xyqb/service/sms/impl/SmsServiceImpl.java
View file @
6b2cd7d7
...
@@ -78,7 +78,7 @@ public class SmsServiceImpl implements ISmsService {
...
@@ -78,7 +78,7 @@ public class SmsServiceImpl implements ISmsService {
getSmsSender
().
sendMsg
(
msgParams
);
getSmsSender
().
sendMsg
(
msgParams
);
log
.
info
(
"注册完成,发送短信, phoneNo:{}"
,
phoneNo
);
log
.
info
(
"注册完成,发送短信, phoneNo:{}"
,
phoneNo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
e
.
printStackTrace
(
);
log
.
error
(
"注册完成短信发送异常"
,
e
);
}
}
}
}
...
...
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