记得上下班打卡 | 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
9a5449c0
Commit
9a5449c0
authored
Jul 27, 2022
by
GaoHu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
混合售新增上架时间字段
parent
c4443c8d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
GoblinMixDetailsVo.java
...m/liquidnet/service/goblin/dto/vo/GoblinMixDetailsVo.java
+3
-0
GoblinMixDetailsParam.java
...liquidnet/service/goblin/param/GoblinMixDetailsParam.java
+2
-0
GoblinMixUpdateParam.java
.../liquidnet/service/goblin/param/GoblinMixUpdateParam.java
+2
-0
GoblinMixServiceImpl.java
...vice/goblin/service/impl/manage/GoblinMixServiceImpl.java
+3
-2
sqlmap.properties
...-service-goblin-impl/src/main/resources/sqlmap.properties
+3
-3
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinMixDetailsVo.java
View file @
9a5449c0
...
@@ -70,6 +70,8 @@ public class GoblinMixDetailsVo implements Serializable, Cloneable {
...
@@ -70,6 +70,8 @@ public class GoblinMixDetailsVo implements Serializable, Cloneable {
private
String
xlsName
;
private
String
xlsName
;
@ApiModelProperty
(
position
=
26
,
value
=
"店铺id"
)
@ApiModelProperty
(
position
=
26
,
value
=
"店铺id"
)
private
String
storeId
;
private
String
storeId
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
static
final
GoblinMixDetailsVo
obj
=
new
GoblinMixDetailsVo
();
private
static
final
GoblinMixDetailsVo
obj
=
new
GoblinMixDetailsVo
();
...
@@ -111,6 +113,7 @@ public class GoblinMixDetailsVo implements Serializable, Cloneable {
...
@@ -111,6 +113,7 @@ public class GoblinMixDetailsVo implements Serializable, Cloneable {
this
.
setPayType
(
source
.
getPayType
());
this
.
setPayType
(
source
.
getPayType
());
this
.
setXlsName
(
source
.
getXlsName
());
this
.
setXlsName
(
source
.
getXlsName
());
this
.
setStoreId
(
source
.
getStoreId
());
this
.
setStoreId
(
source
.
getStoreId
());
this
.
setShelvesTime
(
source
.
getShelvesTime
());
return
this
;
return
this
;
}
}
}
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/param/GoblinMixDetailsParam.java
View file @
9a5449c0
...
@@ -53,6 +53,8 @@ public class GoblinMixDetailsParam implements Serializable, Cloneable {
...
@@ -53,6 +53,8 @@ public class GoblinMixDetailsParam implements Serializable, Cloneable {
private
String
xlsName
;
private
String
xlsName
;
@ApiModelProperty
(
position
=
21
,
value
=
"店铺id"
)
@ApiModelProperty
(
position
=
21
,
value
=
"店铺id"
)
private
String
storeId
;
private
String
storeId
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
static
final
GoblinMixDetailsParam
obj
=
new
GoblinMixDetailsParam
();
private
static
final
GoblinMixDetailsParam
obj
=
new
GoblinMixDetailsParam
();
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/param/GoblinMixUpdateParam.java
View file @
9a5449c0
...
@@ -22,6 +22,8 @@ public class GoblinMixUpdateParam implements Serializable, Cloneable {
...
@@ -22,6 +22,8 @@ public class GoblinMixUpdateParam implements Serializable, Cloneable {
private
String
whiteUrl
;
private
String
whiteUrl
;
@ApiModelProperty
(
position
=
20
,
value
=
"xls名称"
)
@ApiModelProperty
(
position
=
20
,
value
=
"xls名称"
)
private
String
xlsName
;
private
String
xlsName
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
static
final
GoblinMixUpdateParam
obj
=
new
GoblinMixUpdateParam
();
private
static
final
GoblinMixUpdateParam
obj
=
new
GoblinMixUpdateParam
();
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinMixServiceImpl.java
View file @
9a5449c0
...
@@ -195,7 +195,7 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
...
@@ -195,7 +195,7 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
mixId
,
uid
,
vo
.
getName
(),
vo
.
getTimeStart
(),
vo
.
getTimeEnd
(),
6
,
vo
.
getShowPosition
(),
mixId
,
uid
,
vo
.
getName
(),
vo
.
getTimeStart
(),
vo
.
getTimeEnd
(),
6
,
vo
.
getShowPosition
(),
vo
.
getSellName
(),
vo
.
getExpressPrice
(),
vo
.
getIntro
(),
vo
.
getWatchType
(),
vo
.
getCoverPic
(),
vo
.
getSellName
(),
vo
.
getExpressPrice
(),
vo
.
getIntro
(),
vo
.
getWatchType
(),
vo
.
getCoverPic
(),
vo
.
getVideo
(),
vo
.
getDetailUrl
(),
vo
.
getDetails
(),
vo
.
getStock
(),
vo
.
getStockLock
(),
vo
.
getVideo
(),
vo
.
getDetailUrl
(),
vo
.
getDetails
(),
vo
.
getStock
(),
vo
.
getStockLock
(),
vo
.
getIsLock
(),
vo
.
getLimit
(),
vo
.
getWhiteType
(),
vo
.
getWhiteUrl
(),
vo
.
getPayType
(),
vo
.
getStoreId
(),
LocalDateTime
.
now
()
vo
.
getIsLock
(),
vo
.
getLimit
(),
vo
.
getWhiteType
(),
vo
.
getWhiteUrl
(),
vo
.
getPayType
(),
vo
.
getStoreId
(),
LocalDateTime
.
now
()
,
vo
.
getShelvesTime
()
});
});
//设置redis
//设置redis
redisUtils
.
setMixDetails
(
mixId
,
vo
);
redisUtils
.
setMixDetails
(
mixId
,
vo
);
...
@@ -235,6 +235,7 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
...
@@ -235,6 +235,7 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
vo
.
setWhiteType
(
param
.
getWhiteType
());
vo
.
setWhiteType
(
param
.
getWhiteType
());
vo
.
setWhiteUrl
(
param
.
getWhiteUrl
());
vo
.
setWhiteUrl
(
param
.
getWhiteUrl
());
vo
.
setXlsName
(
param
.
getXlsName
());
vo
.
setXlsName
(
param
.
getXlsName
());
vo
.
setShelvesTime
(
param
.
getShelvesTime
());
//redis
//redis
redisUtils
.
setMixDetails
(
param
.
getMixId
(),
vo
);
redisUtils
.
setMixDetails
(
param
.
getMixId
(),
vo
);
redisList
(
vo
.
getShowPosition
(),
vo
.
getMixId
(),
vo
.
getStatus
());
redisList
(
vo
.
getShowPosition
(),
vo
.
getMixId
(),
vo
.
getStatus
());
...
@@ -245,7 +246,7 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
...
@@ -245,7 +246,7 @@ public class GoblinMixServiceImpl implements IGoblinMixService {
mongoUtils
.
changeGoblinMixDetailsVo
(
vo
);
mongoUtils
.
changeGoblinMixDetailsVo
(
vo
);
//sql入库
//sql入库
queueUtils
.
sendMsgByRedis
(
MQConst
.
GoblinQueue
.
GOBLIN_STORE_MARKET
.
getKey
(),
queueUtils
.
sendMsgByRedis
(
MQConst
.
GoblinQueue
.
GOBLIN_STORE_MARKET
.
getKey
(),
SqlMapping
.
get
(
"goblin_mix_update"
,
vo
.
getShowPosition
(),
vo
.
getLimit
(),
vo
.
getWhiteType
(),
vo
.
getWhiteUrl
(),
LocalDateTime
.
now
(),
param
.
getMixId
()));
SqlMapping
.
get
(
"goblin_mix_update"
,
vo
.
getShowPosition
(),
vo
.
getLimit
(),
vo
.
getWhiteType
(),
vo
.
getWhiteUrl
(),
LocalDateTime
.
now
(),
vo
.
getShelvesTime
(),
param
.
getMixId
()));
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/resources/sqlmap.properties
View file @
9a5449c0
...
@@ -149,8 +149,8 @@ goblin_list_insert=INSERT INTO goblin_list (`list_id`,`uid`,`name`,`white_type`,
...
@@ -149,8 +149,8 @@ goblin_list_insert=INSERT INTO goblin_list (`list_id`,`uid`,`name`,`white_type`,
goblin_list_detail_insert
=
INSERT INTO goblin_list_details (`list_id`,`spu_id`,`sku_id`,`created_at`,`sku_stock`,`price_v`,`product_id`,`price`) VALUES (?,?,?,?,?,?,?,?)
goblin_list_detail_insert
=
INSERT INTO goblin_list_details (`list_id`,`spu_id`,`sku_id`,`created_at`,`sku_stock`,`price_v`,`product_id`,`price`) VALUES (?,?,?,?,?,?,?,?)
goblin_list_update
=
UPDATE goblin_list SET white_url = ? ,white_type = ? , black_url = ? , updated_at = ? WHERE list_id = ?
goblin_list_update
=
UPDATE goblin_list SET white_url = ? ,white_type = ? , black_url = ? , updated_at = ? WHERE list_id = ?
goblin_list_remove
=
UPDATE goblin_list set del_tag = 1 , updated_at = ? WHERE list_id = ?
goblin_list_remove
=
UPDATE goblin_list set del_tag = 1 , updated_at = ? WHERE list_id = ?
#----
混合售卖
----
#----
\u6DF7\u5408\u552E\u5356
----
goblin_mix_insert
=
INSERT INTO goblin_mix (`mix_id`,`uid`,`name`,`time_start`,`time_end`,`status`,`show_position`,`sell_name`,`express_price`,`intro`,`watch_type`,`cover_pic`,`video`,`detail_url`,`details`,`stock`,`stock_lock`,`is_lock`,`limit`,`white_type`,`white_url`,`pay_type`,`store_id`,`created_at`
) VALUES (
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
goblin_mix_insert
=
INSERT INTO goblin_mix (`mix_id`,`uid`,`name`,`time_start`,`time_end`,`status`,`show_position`,`sell_name`,`express_price`,`intro`,`watch_type`,`cover_pic`,`video`,`detail_url`,`details`,`stock`,`stock_lock`,`is_lock`,`limit`,`white_type`,`white_url`,`pay_type`,`store_id`,`created_at`
,) VALUES (?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
goblin_mix_details_insert
=
INSERT INTO goblin_mix_details (`mix_id`,`position`,`spu_id`,`sku_id`,`price`,`price_v`,`product_id`,`count`,`created_at`) VALUES (?,?,?,?,?,?,?,?,?)
goblin_mix_details_insert
=
INSERT INTO goblin_mix_details (`mix_id`,`position`,`spu_id`,`sku_id`,`price`,`price_v`,`product_id`,`count`,`created_at`) VALUES (?,?,?,?,?,?,?,?,?)
goblin_mix_status_update
=
UPDATE goblin_mix SET status = ? , updated_at = ? WHERE mix_id = ?
goblin_mix_status_update
=
UPDATE goblin_mix SET status = ? , updated_at = ? WHERE mix_id = ?
goblin_mix_update
=
UPDATE goblin_mix SET show_position = ? , `limit`=?,white_type=?,white_url=? , updated_at = ? WHERE mix_id = ?
goblin_mix_update
=
UPDATE goblin_mix SET show_position = ? , `limit`=?,white_type=?,white_url=? , updated_at = ?,shelves_time = ? WHERE mix_id = ?
\ No newline at end of file
\ No newline at end of file
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