Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gogirl-miniapp-backend
Overview
Overview
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
huluobin
gogirl-miniapp-backend
Commits
fd5c12ec
Commit
fd5c12ec
authored
May 15, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购订单时间显示
parent
1c370996
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
PurchaseOrder.java
.../java/com/gogirl/domain/order/purchase/PurchaseOrder.java
+7
-0
Test.java
src/test/java/com/gogirl/Test.java
+3
-1
No files found.
src/main/java/com/gogirl/domain/order/purchase/PurchaseOrder.java
View file @
fd5c12ec
...
@@ -3,6 +3,7 @@ package com.gogirl.domain.order.purchase;
...
@@ -3,6 +3,7 @@ package com.gogirl.domain.order.purchase;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.*
;
...
@@ -64,21 +65,27 @@ public class PurchaseOrder implements Serializable {
...
@@ -64,21 +65,27 @@ public class PurchaseOrder implements Serializable {
private
Integer
status
;
private
Integer
status
;
@ApiModelProperty
(
value
=
"创建时间"
)
@ApiModelProperty
(
value
=
"创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
createTime
;
private
Date
createTime
;
@ApiModelProperty
(
value
=
"待采购时间"
)
@ApiModelProperty
(
value
=
"待采购时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
waitPurchaseTime
;
private
Date
waitPurchaseTime
;
@ApiModelProperty
(
value
=
"确认采购时间"
)
@ApiModelProperty
(
value
=
"确认采购时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
purchaseTime
;
private
Date
purchaseTime
;
@ApiModelProperty
(
value
=
"入库时间"
)
@ApiModelProperty
(
value
=
"入库时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
inStoreTime
;
private
Date
inStoreTime
;
@ApiModelProperty
(
value
=
"出库时间"
)
@ApiModelProperty
(
value
=
"出库时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
outStoreTime
;
private
Date
outStoreTime
;
@ApiModelProperty
(
value
=
"收货时间"
)
@ApiModelProperty
(
value
=
"收货时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
receiveTime
;
private
Date
receiveTime
;
@ApiModelProperty
(
value
=
"收货人id"
)
@ApiModelProperty
(
value
=
"收货人id"
)
...
...
src/test/java/com/gogirl/Test.java
View file @
fd5c12ec
...
@@ -640,6 +640,9 @@ public class Test {
...
@@ -640,6 +640,9 @@ public class Test {
marketService
.
achievementReCalc
(
13175
);
marketService
.
achievementReCalc
(
13175
);
}
}
/**
* 重算2020订单完整度
*/
@org
.
junit
.
Test
@org
.
junit
.
Test
public
void
reCalcOrderDataIntegrity
()
{
public
void
reCalcOrderDataIntegrity
()
{
...
@@ -658,5 +661,4 @@ public class Test {
...
@@ -658,5 +661,4 @@ public class Test {
});
});
}
}
}
}
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