记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
5e3cf743
Commit
5e3cf743
authored
Oct 20, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 yb报名
parent
1dc5495c
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
2 deletions
+20
-2
SweetYbEnrollParam.java
...liquidnet/service/sweet/dto/param/SweetYbEnrollParam.java
+5
-0
SweetYbActivityExportVo.java
...ent/admin/zhengzai/sweet/dto/SweetYbActivityExportVo.java
+3
-0
SweetYbEnroll.java
...ava/com/liquidnet/service/sweet/entity/SweetYbEnroll.java
+5
-0
db_sweetsugar_structure.sql
.../liquidnet-service-sweet/docu/db_sweetsugar_structure.sql
+2
-0
SweetYbEnrollServiceImpl.java
.../service/sweet/service/impl/SweetYbEnrollServiceImpl.java
+4
-1
sqlmap.properties
...uidnet-service-sweet/src/main/resources/sqlmap.properties
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/dto/param/SweetYbEnrollParam.java
View file @
5e3cf743
...
@@ -46,4 +46,9 @@ public class SweetYbEnrollParam implements Serializable {
...
@@ -46,4 +46,9 @@ public class SweetYbEnrollParam implements Serializable {
@ApiModelProperty
(
position
=
19
,
required
=
false
,
value
=
"活动id"
,
example
=
"0"
)
@ApiModelProperty
(
position
=
19
,
required
=
false
,
value
=
"活动id"
,
example
=
"0"
)
private
String
activityId
;
private
String
activityId
;
@ApiModelProperty
(
position
=
20
,
required
=
false
,
value
=
"平均年龄"
,
example
=
"0"
)
private
Integer
age
;
}
}
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/sweet/dto/SweetYbActivityExportVo.java
View file @
5e3cf743
...
@@ -19,6 +19,8 @@ public class SweetYbActivityExportVo implements Serializable, Cloneable {
...
@@ -19,6 +19,8 @@ public class SweetYbActivityExportVo implements Serializable, Cloneable {
private
String
contactWechat
;
private
String
contactWechat
;
@Excel
(
name
=
"乐队名称"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
@Excel
(
name
=
"乐队名称"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
nickname
;
private
String
nickname
;
@Excel
(
name
=
"平均年龄"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
age
;
@Excel
(
name
=
"风格"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
@Excel
(
name
=
"风格"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
private
String
style
;
private
String
style
;
@Excel
(
name
=
"图片地址"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
@Excel
(
name
=
"图片地址"
,
cellType
=
Excel
.
ColumnType
.
STRING
)
...
@@ -46,6 +48,7 @@ public class SweetYbActivityExportVo implements Serializable, Cloneable {
...
@@ -46,6 +48,7 @@ public class SweetYbActivityExportVo implements Serializable, Cloneable {
public
SweetYbActivityExportVo
copyOrderExportVo
(
SweetYbEnroll
source
,
String
name
)
{
public
SweetYbActivityExportVo
copyOrderExportVo
(
SweetYbEnroll
source
,
String
name
)
{
this
.
setActivityName
(
name
);
this
.
setActivityName
(
name
);
this
.
setAge
(
source
.
getAge
()+
""
);
this
.
setContactTell
(
source
.
getContactTell
());
this
.
setContactTell
(
source
.
getContactTell
());
this
.
setContactWechat
(
source
.
getContactWechat
());
this
.
setContactWechat
(
source
.
getContactWechat
());
this
.
setNickname
(
source
.
getNickname
());
this
.
setNickname
(
source
.
getNickname
());
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetYbEnroll.java
View file @
5e3cf743
...
@@ -70,6 +70,11 @@ public class SweetYbEnroll implements Serializable {
...
@@ -70,6 +70,11 @@ public class SweetYbEnroll implements Serializable {
*/
*/
private
String
cityName
;
private
String
cityName
;
/**
* 平均年龄
*/
private
int
age
;
/**
/**
* 活动id
* 活动id
*/
*/
...
...
liquidnet-bus-service/liquidnet-service-sweet/docu/db_sweetsugar_structure.sql
View file @
5e3cf743
...
@@ -512,6 +512,8 @@ alter table sweet_yb_enroll
...
@@ -512,6 +512,8 @@ alter table sweet_yb_enroll
add
city_name
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'常驻城市名称'
after
universities
;
add
city_name
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'常驻城市名称'
after
universities
;
alter
table
sweet_yb_enroll
alter
table
sweet_yb_enroll
add
activity_id
varchar
(
255
)
DEFAULT
'0'
COMMENT
'活动id'
after
city_name
;
add
activity_id
varchar
(
255
)
DEFAULT
'0'
COMMENT
'活动id'
after
city_name
;
alter
table
sweet_yb_enroll
add
age
int
DEFAULT
0
COMMENT
'平均年龄'
after
city_name
;
-- YB活动
-- YB活动
drop
TABLE
if
exists
`sweet_yb_activity`
;
drop
TABLE
if
exists
`sweet_yb_activity`
;
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetYbEnrollServiceImpl.java
View file @
5e3cf743
...
@@ -48,6 +48,9 @@ public class SweetYbEnrollServiceImpl implements ISweetYbEnrollService {
...
@@ -48,6 +48,9 @@ public class SweetYbEnrollServiceImpl implements ISweetYbEnrollService {
if
(
param
.
getActivityId
()
==
null
||
param
.
getActivityId
().
equals
(
""
))
{
if
(
param
.
getActivityId
()
==
null
||
param
.
getActivityId
().
equals
(
""
))
{
param
.
setActivityId
(
"0"
);
param
.
setActivityId
(
"0"
);
}
}
if
(
param
.
getAge
()
==
null
)
{
param
.
setAge
(
0
);
}
LinkedList
<
String
>
sqls
=
CollectionUtil
.
linkedListString
();
LinkedList
<
String
>
sqls
=
CollectionUtil
.
linkedListString
();
LinkedList
<
Object
[]>
sqlsDataA
=
CollectionUtil
.
linkedListObjectArr
();
LinkedList
<
Object
[]>
sqlsDataA
=
CollectionUtil
.
linkedListObjectArr
();
sqls
.
add
(
SqlMapping
.
get
(
"sweet_yb_enroll.insert"
));
sqls
.
add
(
SqlMapping
.
get
(
"sweet_yb_enroll.insert"
));
...
@@ -55,7 +58,7 @@ public class SweetYbEnrollServiceImpl implements ISweetYbEnrollService {
...
@@ -55,7 +58,7 @@ public class SweetYbEnrollServiceImpl implements ISweetYbEnrollService {
IDGenerator
.
nextSnowId
(),
StringUtil
.
isEmpty
(
param
.
getContactTell
())
?
""
:
param
.
getContactTell
(),
IDGenerator
.
nextSnowId
(),
StringUtil
.
isEmpty
(
param
.
getContactTell
())
?
""
:
param
.
getContactTell
(),
StringUtil
.
isEmpty
(
param
.
getContactWechat
())
?
""
:
param
.
getContactWechat
(),
param
.
getNickname
(),
param
.
getStyle
(),
StringUtil
.
isEmpty
(
param
.
getContactWechat
())
?
""
:
param
.
getContactWechat
(),
param
.
getNickname
(),
param
.
getStyle
(),
param
.
getImgUrl
(),
param
.
getAudioUrl
(),
StringUtil
.
isEmpty
(
param
.
getUniversities
())
?
""
:
param
.
getUniversities
(),
param
.
getImgUrl
(),
param
.
getAudioUrl
(),
StringUtil
.
isEmpty
(
param
.
getUniversities
())
?
""
:
param
.
getUniversities
(),
StringUtil
.
isEmpty
(
param
.
getCityName
())
?
""
:
param
.
getCityName
(),
param
.
getActivityId
()
StringUtil
.
isEmpty
(
param
.
getCityName
())
?
""
:
param
.
getCityName
(),
param
.
getActivityId
()
,
param
.
getAge
()
});
});
queueUtils
.
sendMsgByRedis
(
MQConst
.
SweetQueue
.
SWEET_ANSWER_INSERT
.
getKey
(),
queueUtils
.
sendMsgByRedis
(
MQConst
.
SweetQueue
.
SWEET_ANSWER_INSERT
.
getKey
(),
SqlMapping
.
gets
(
sqls
,
sqlsDataA
));
SqlMapping
.
gets
(
sqls
,
sqlsDataA
));
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/resources/sqlmap.properties
View file @
5e3cf743
This diff is collapsed.
Click to expand it.
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