Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
bailuntec-cost
Commits
6850e85c
Commit
6850e85c
authored
Apr 15, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加实际付款时间
parent
183972e6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
2 deletions
+16
-2
CostDto.java
...ces/src/main/java/com/bailuntec/cost/api/dto/CostDto.java
+4
-0
CostCashiercallbackDomain.java
...m/blt/other/database/model/CostCashiercallbackDomain.java
+2
-0
CostDomain.java
...main/java/com/blt/other/module/cost/model/CostDomain.java
+4
-0
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+1
-0
Paydetail.java
...src/main/java/com/blt/other/module/cost/vo/Paydetail.java
+3
-0
CostCashiercallbackMapper.xml
...e/src/main/resources/mapper/CostCashiercallbackMapper.xml
+2
-2
No files found.
cost-interfaces/src/main/java/com/bailuntec/cost/api/dto/CostDto.java
View file @
6850e85c
...
@@ -136,6 +136,10 @@ public class CostDto {
...
@@ -136,6 +136,10 @@ public class CostDto {
@ApiModelProperty
(
"支付时间"
)
@ApiModelProperty
(
"支付时间"
)
private
Date
payTime
;
private
Date
payTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@ApiModelProperty
(
"实际付款时间"
)
private
Date
actualTime
;
@ApiModelProperty
(
"转人民币汇率"
)
@ApiModelProperty
(
"转人民币汇率"
)
private
BigDecimal
toRmbRate
;
private
BigDecimal
toRmbRate
;
@ApiModelProperty
(
"费用单人民币总金额"
)
@ApiModelProperty
(
"费用单人民币总金额"
)
...
...
cost-service/src/main/java/com/blt/other/database/model/CostCashiercallbackDomain.java
View file @
6850e85c
...
@@ -3,6 +3,7 @@ package com.blt.other.database.model;
...
@@ -3,6 +3,7 @@ package com.blt.other.database.model;
import
lombok.Data
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@Data
public
class
CostCashiercallbackDomain
{
public
class
CostCashiercallbackDomain
{
...
@@ -31,5 +32,6 @@ public class CostCashiercallbackDomain {
...
@@ -31,5 +32,6 @@ public class CostCashiercallbackDomain {
private
Integer
cashierbankcardtype
;
private
Integer
cashierbankcardtype
;
private
String
cashiermothercard
;
private
String
cashiermothercard
;
private
BigDecimal
toRmbRate
;
private
BigDecimal
toRmbRate
;
private
Date
actualTime
;
}
}
cost-service/src/main/java/com/blt/other/module/cost/model/CostDomain.java
View file @
6850e85c
...
@@ -271,6 +271,10 @@ public class CostDomain implements Serializable {
...
@@ -271,6 +271,10 @@ public class CostDomain implements Serializable {
@ApiModelProperty
(
value
=
"ns会计科目Id"
)
@ApiModelProperty
(
value
=
"ns会计科目Id"
)
private
Integer
nsAccountingSubjectId
;
private
Integer
nsAccountingSubjectId
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
@ApiModelProperty
(
"实际付款时间"
)
private
Date
actualTime
;
public
void
setCostType
(
CostTypeDomain
costTypeDomain
)
{
public
void
setCostType
(
CostTypeDomain
costTypeDomain
)
{
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
6850e85c
...
@@ -467,6 +467,7 @@ public abstract class AbstractCostService implements CostService {
...
@@ -467,6 +467,7 @@ public abstract class AbstractCostService implements CostService {
costDomain
.
setAmountRmb
(
costCashiercallbackDomain
.
getCashierpaymoneyrmb
());
costDomain
.
setAmountRmb
(
costCashiercallbackDomain
.
getCashierpaymoneyrmb
());
costDomain
.
setPayUserId
(
costCashiercallbackDomain
.
getPayuserid
());
costDomain
.
setPayUserId
(
costCashiercallbackDomain
.
getPayuserid
());
costDomain
.
setPayTime
(
new
Date
());
costDomain
.
setPayTime
(
new
Date
());
costDomain
.
setActualTime
(
costCashiercallbackDomain
.
getActualTime
());
this
.
updateCost
(
costDomain
);
this
.
updateCost
(
costDomain
);
costLogService
.
save
(
costCashiercallbackDomain
.
getCostNo
(),
costCashiercallbackDomain
.
getPayuserid
(),
"出纳收/付款成功:"
+
costCashiercallbackDomain
.
getPaynote
());
costLogService
.
save
(
costCashiercallbackDomain
.
getCostNo
(),
costCashiercallbackDomain
.
getPayuserid
(),
"出纳收/付款成功:"
+
costCashiercallbackDomain
.
getPaynote
());
...
...
cost-service/src/main/java/com/blt/other/module/cost/vo/Paydetail.java
View file @
6850e85c
...
@@ -3,6 +3,7 @@ package com.blt.other.module.cost.vo;
...
@@ -3,6 +3,7 @@ package com.blt.other.module.cost.vo;
import
lombok.Data
;
import
lombok.Data
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@Data
public
class
Paydetail
{
public
class
Paydetail
{
...
@@ -34,4 +35,6 @@ public class Paydetail {
...
@@ -34,4 +35,6 @@ public class Paydetail {
private
Integer
cashierbankcardtype
;
private
Integer
cashierbankcardtype
;
private
String
cashiermothercard
;
private
String
cashiermothercard
;
private
Date
actualTime
;
}
}
cost-service/src/main/resources/mapper/CostCashiercallbackMapper.xml
View file @
6850e85c
...
@@ -9,14 +9,14 @@
...
@@ -9,14 +9,14 @@
cost_no,message,payid,payno,payamount,payuserid,payusername,paynote,cashierbankaccountid,
cost_no,message,payid,payno,payamount,payuserid,payusername,paynote,cashierbankaccountid,
cashierbankname,cashierbankcard,cashierbankcardname,cashierunitcode,cashierunitname,
cashierbankname,cashierbankcard,cashierbankcardname,cashierunitcode,cashierunitname,
cashierrate,cashierpaymoney,cashierpaymoneyrmb,cashierservicemoneyrmb,otherordercode,
cashierrate,cashierpaymoney,cashierpaymoneyrmb,cashierservicemoneyrmb,otherordercode,
cashierannex,cashierbankcardtype,cashiermothercard,to_rmb_rate
cashierannex,cashierbankcardtype,cashiermothercard,to_rmb_rate
,actualTime
)
)
VALUE
VALUE
(
(
#{costNo},#{message}, #{payid}, #{payno}, #{payamount}, #{payuserid}, #{payusername}, #{paynote}, #{cashierbankaccountid},
#{costNo},#{message}, #{payid}, #{payno}, #{payamount}, #{payuserid}, #{payusername}, #{paynote}, #{cashierbankaccountid},
#{cashierbankname}, #{cashierbankcard}, #{cashierbankcardname}, #{cashierunitcode}, #{cashierunitname},
#{cashierbankname}, #{cashierbankcard}, #{cashierbankcardname}, #{cashierunitcode}, #{cashierunitname},
#{cashierrate}, #{cashierpaymoney}, #{cashierpaymoneyrmb}, #{cashierservicemoneyrmb}, #{otherordercode},
#{cashierrate}, #{cashierpaymoney}, #{cashierpaymoneyrmb}, #{cashierservicemoneyrmb}, #{otherordercode},
#{cashierannex}, #{cashierbankcardtype}, #{cashiermothercard},#{toRmbRate}
#{cashierannex}, #{cashierbankcardtype}, #{cashiermothercard},#{toRmbRate}
,#{actualTime}
)
)
</insert>
</insert>
</mapper>
</mapper>
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