记得上下班打卡 | 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
4d9146cf
Commit
4d9146cf
authored
Jul 29, 2022
by
GaoHu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIX组合购新增预约开启字段,原上架字段补充
parent
abf07a0a
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
4 deletions
+18
-4
GoblinMixAppDetailsVo.java
...iquidnet/service/goblin/dto/vo/GoblinMixAppDetailsVo.java
+6
-0
GoblinMixAppListVo.java
...m/liquidnet/service/goblin/dto/vo/GoblinMixAppListVo.java
+3
-0
GoblinMixDetailsVo.java
...m/liquidnet/service/goblin/dto/vo/GoblinMixDetailsVo.java
+2
-0
GoblinMixDetailsParam.java
...liquidnet/service/goblin/param/GoblinMixDetailsParam.java
+2
-1
GoblinMixUpdateParam.java
.../liquidnet/service/goblin/param/GoblinMixUpdateParam.java
+2
-0
GoblinJobServiceImpl.java
...rvice/goblin/service/impl/inner/GoblinJobServiceImpl.java
+1
-1
GoblinMixServiceImpl.java
...vice/goblin/service/impl/manage/GoblinMixServiceImpl.java
+1
-1
sqlmap.properties
...-service-goblin-impl/src/main/resources/sqlmap.properties
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinMixAppDetailsVo.java
View file @
4d9146cf
...
@@ -51,6 +51,10 @@ public class GoblinMixAppDetailsVo implements Serializable, Cloneable {
...
@@ -51,6 +51,10 @@ public class GoblinMixAppDetailsVo implements Serializable, Cloneable {
private
BigDecimal
sellPrice
;
private
BigDecimal
sellPrice
;
@ApiModelProperty
(
position
=
23
,
value
=
"原价"
)
@ApiModelProperty
(
position
=
23
,
value
=
"原价"
)
private
BigDecimal
price
;
private
BigDecimal
price
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
@ApiModelProperty
(
position
=
23
,
value
=
"预约开启标识[0:未开启,1开启]"
)
private
int
reserve
;
private
static
final
GoblinMixAppDetailsVo
obj
=
new
GoblinMixAppDetailsVo
();
private
static
final
GoblinMixAppDetailsVo
obj
=
new
GoblinMixAppDetailsVo
();
...
@@ -82,6 +86,8 @@ public class GoblinMixAppDetailsVo implements Serializable, Cloneable {
...
@@ -82,6 +86,8 @@ public class GoblinMixAppDetailsVo implements Serializable, Cloneable {
this
.
setStoreName
(
storeName
);
this
.
setStoreName
(
storeName
);
this
.
setPrice
(
source
.
getPrice
());
this
.
setPrice
(
source
.
getPrice
());
this
.
setSellPrice
(
source
.
getSellPrice
());
this
.
setSellPrice
(
source
.
getSellPrice
());
this
.
setShelvesTime
(
source
.
getShelvesTime
());
this
.
setReserve
(
source
.
getReserve
());
return
this
;
return
this
;
}
}
}
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinMixAppListVo.java
View file @
4d9146cf
...
@@ -37,6 +37,8 @@ public class GoblinMixAppListVo implements Serializable, Cloneable {
...
@@ -37,6 +37,8 @@ public class GoblinMixAppListVo implements Serializable, Cloneable {
private
String
nowTime
;
private
String
nowTime
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
String
shelvesTime
;
@ApiModelProperty
(
position
=
23
,
value
=
"预约开启标识[0:未开启,1开启]"
)
private
int
reserve
;
private
static
final
GoblinMixAppListVo
obj
=
new
GoblinMixAppListVo
();
private
static
final
GoblinMixAppListVo
obj
=
new
GoblinMixAppListVo
();
...
@@ -61,6 +63,7 @@ public class GoblinMixAppListVo implements Serializable, Cloneable {
...
@@ -61,6 +63,7 @@ public class GoblinMixAppListVo implements Serializable, Cloneable {
this
.
setCreatedAt
(
source
.
getCreatedAt
());
this
.
setCreatedAt
(
source
.
getCreatedAt
());
this
.
setShelvesTime
(
source
.
getShelvesTime
());
this
.
setShelvesTime
(
source
.
getShelvesTime
());
this
.
setNowTime
(
nowTime
);
this
.
setNowTime
(
nowTime
);
this
.
setReserve
(
source
.
getReserve
());
return
this
;
return
this
;
}
}
}
}
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinMixDetailsVo.java
View file @
4d9146cf
...
@@ -72,6 +72,8 @@ public class GoblinMixDetailsVo implements Serializable, Cloneable {
...
@@ -72,6 +72,8 @@ public class GoblinMixDetailsVo implements Serializable, Cloneable {
private
String
storeId
;
private
String
storeId
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
String
shelvesTime
;
@ApiModelProperty
(
value
=
"预约开启标识"
)
private
int
reserve
;
private
static
final
GoblinMixDetailsVo
obj
=
new
GoblinMixDetailsVo
();
private
static
final
GoblinMixDetailsVo
obj
=
new
GoblinMixDetailsVo
();
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/param/GoblinMixDetailsParam.java
View file @
4d9146cf
...
@@ -55,7 +55,8 @@ public class GoblinMixDetailsParam implements Serializable, Cloneable {
...
@@ -55,7 +55,8 @@ public class GoblinMixDetailsParam implements Serializable, Cloneable {
private
String
storeId
;
private
String
storeId
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
String
shelvesTime
;
@ApiModelProperty
(
position
=
23
,
value
=
"预约开启标识[0:未开启,1开启]"
)
private
int
reserve
;
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 @
4d9146cf
...
@@ -24,6 +24,8 @@ public class GoblinMixUpdateParam implements Serializable, Cloneable {
...
@@ -24,6 +24,8 @@ public class GoblinMixUpdateParam implements Serializable, Cloneable {
private
String
xlsName
;
private
String
xlsName
;
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
@ApiModelProperty
(
position
=
22
,
value
=
"上架时间"
)
private
String
shelvesTime
;
private
String
shelvesTime
;
@ApiModelProperty
(
position
=
23
,
value
=
"预约开启标识[0:未开启,1开启]"
)
private
int
reserve
;
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/inner/GoblinJobServiceImpl.java
View file @
4d9146cf
...
@@ -72,7 +72,7 @@ public class GoblinJobServiceImpl {
...
@@ -72,7 +72,7 @@ public class GoblinJobServiceImpl {
LocalDateTime
nt
=
LocalDateTime
.
now
();
LocalDateTime
nt
=
LocalDateTime
.
now
();
//筛选 活动中 和 活动中且售罄的
//筛选 活动中 和 活动中且售罄的
for
(
GoblinMixDetailsVo
item
:
nftDetailsList
)
{
for
(
GoblinMixDetailsVo
item
:
nftDetailsList
)
{
LocalDateTime
st
=
LocalDateTime
.
parse
(
item
.
getTimeStart
(
),
DTF_YMD_HMS
);
LocalDateTime
st
=
LocalDateTime
.
parse
(
item
.
getTimeStart
OrShelvesTime
(
item
),
DTF_YMD_HMS
);
LocalDateTime
et
=
LocalDateTime
.
parse
(
item
.
getTimeEnd
(),
DTF_YMD_HMS
);
LocalDateTime
et
=
LocalDateTime
.
parse
(
item
.
getTimeEnd
(),
DTF_YMD_HMS
);
if
(
nt
.
isAfter
(
st
)
&&
nt
.
isBefore
(
et
))
{
//活动中
if
(
nt
.
isAfter
(
st
)
&&
nt
.
isBefore
(
et
))
{
//活动中
int
stock
=
0
;
int
stock
=
0
;
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/manage/GoblinMixServiceImpl.java
View file @
4d9146cf
...
@@ -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
.
getShelvesTime
()
vo
.
getIsLock
(),
vo
.
getLimit
(),
vo
.
getWhiteType
(),
vo
.
getWhiteUrl
(),
vo
.
getPayType
(),
vo
.
getStoreId
(),
LocalDateTime
.
now
(),
vo
.
getShelvesTime
()
,
vo
.
getReserve
()
});
});
//设置redis
//设置redis
redisUtils
.
setMixDetails
(
mixId
,
vo
);
redisUtils
.
setMixDetails
(
mixId
,
vo
);
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/resources/sqlmap.properties
View file @
4d9146cf
...
@@ -150,7 +150,7 @@ goblin_list_detail_insert=INSERT INTO goblin_list_details (`list_id`,`spu_id`,`s
...
@@ -150,7 +150,7 @@ goblin_list_detail_insert=INSERT INTO goblin_list_details (`list_id`,`spu_id`,`s
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 ----
#---- \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`,
shelves_time,reserve) 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 = ?,shelves_time = ? 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
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