Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
b07411ca
Commit
b07411ca
authored
Nov 20, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还车修改
parent
b6425529
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
14 deletions
+15
-14
OrderPayBiz.java
...ain/java/com/xxfc/platform/universal/biz/OrderPayBiz.java
+2
-2
VehicleBiz.java
...c/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
+2
-2
VehicleInformationDownloadBiz.java
...c/platform/vehicle/biz/VehicleInformationDownloadBiz.java
+10
-9
VehicleMapper.java
.../java/com/xxfc/platform/vehicle/mapper/VehicleMapper.java
+1
-1
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/biz/OrderPayBiz.java
View file @
b07411ca
...
@@ -675,12 +675,12 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay>{
...
@@ -675,12 +675,12 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay>{
orderPayVo
.
setAmount
(
3
);
orderPayVo
.
setAmount
(
3
);
orderPayVo
.
setBody
(
"扣除租车订单费用"
);
orderPayVo
.
setBody
(
"扣除租车订单费用"
);
orderPayVo
.
setSubject
(
"租车订单交易费用"
);
orderPayVo
.
setSubject
(
"租车订单交易费用"
);
orderPayBiz
.
testTradeRefund
(
"216584713656209408"
,
105000
,
"退还违约金1050元"
,
"2165847136562094081050"
);
//
orderPayBiz.testTradeRefund("216584713656209408", 105000, "退还违约金1050元", "2165847136562094081050");
//orderPayBiz.fundAuthOrderUnFreeze(orderPayVo, "");
//orderPayBiz.fundAuthOrderUnFreeze(orderPayVo, "");
//orderPayBiz.alipayOrderRefund("20191024153859000003","2019102422001421530513773694", 2, "xxxx", "");
//orderPayBiz.alipayOrderRefund("20191024153859000003","2019102422001421530513773694", 2, "xxxx", "");
//orderPayBiz.tradePay("20191108195202000020", "2019110810002001710518149012", 120000,"退还押金", "退还押金");
//orderPayBiz.tradePay("20191108195202000020", "2019110810002001710518149012", 120000,"退还押金", "退还押金");
//orderPayBiz.fundAuthCancel(orderPayVo, "");
//orderPayBiz.fundAuthCancel(orderPayVo, "");
//orderPayBiz.tradePay("20191114182254000019", "2019111410002001530505959461", 1,"扣除违约金", "扣除违约金");
//orderPayBiz.tradePay("20191114182254000019", "2019111410002001530505959461", 1,"扣除违约金", "扣除违约金");
orderPayBiz
.
fundAuthQuery
(
"20191
115092455000004
"
);
orderPayBiz
.
fundAuthQuery
(
"20191
031172653000026
"
);
}
}
}
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
View file @
b07411ca
...
@@ -1514,8 +1514,8 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
...
@@ -1514,8 +1514,8 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
return
vehicles
.
stream
().
map
(
Vehicle:
:
getId
).
collect
(
Collectors
.
toList
());
return
vehicles
.
stream
().
map
(
Vehicle:
:
getId
).
collect
(
Collectors
.
toList
());
}
}
public
List
<
BranchCompanyVehicleCountVo
>
getAllVehicleInfo
()
{
public
List
<
BranchCompanyVehicleCountVo
>
getAllVehicleInfo
(
Map
<
String
,
Object
>
param
)
{
return
mapper
.
getAllVehicleInfo
();
return
mapper
.
getAllVehicleInfo
(
param
);
}
}
}
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleInformationDownloadBiz.java
View file @
b07411ca
...
@@ -19,13 +19,9 @@ import org.joda.time.DateTime;
...
@@ -19,13 +19,9 @@ import org.joda.time.DateTime;
import
org.joda.time.format.DateTimeFormat
;
import
org.joda.time.format.DateTimeFormat
;
import
org.joda.time.format.DateTimeFormatter
;
import
org.joda.time.format.DateTimeFormatter
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
@Service
@Service
@Slf4j
@Slf4j
...
@@ -38,6 +34,7 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -38,6 +34,7 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
private
BranchCompanyVehicleCountBiz
branchCompanyVehicleCountBiz
;
private
BranchCompanyVehicleCountBiz
branchCompanyVehicleCountBiz
;
public
static
final
DateTimeFormatter
DATE_TIME_FORMATTER
=
DateTimeFormat
.
forPattern
(
"yyyy-MM-dd"
);
public
static
final
DateTimeFormatter
DATE_TIME_FORMATTER
=
DateTimeFormat
.
forPattern
(
"yyyy-MM-dd"
);
public
static
final
DateTimeFormatter
DEFAULT_DATE_TIME_FORMATTER
=
DateTimeFormat
.
forPattern
(
"yyyy-MM-dd HH:mm:ss"
);
public
List
getByPageNotAllData
(
VehiclePageQueryVo
vehiclePageQueryVo
,
List
<
Integer
>
companyList
)
throws
Exception
{
public
List
getByPageNotAllData
(
VehiclePageQueryVo
vehiclePageQueryVo
,
List
<
Integer
>
companyList
)
throws
Exception
{
...
@@ -103,13 +100,15 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -103,13 +100,15 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
}
}
public
List
<
BranchCompanyVehicleCountVo
>
getAllVehicleInfo
()
{
public
List
<
BranchCompanyVehicleCountVo
>
getAllVehicleInfo
()
{
return
vehicleBiz
.
getAllVehicleInfo
();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
""
,
DateTime
.
now
().
toString
(
DEFAULT_DATE_TIME_FORMATTER
));
map
.
put
(
""
,
DateTime
.
now
().
toString
(
DEFAULT_DATE_TIME_FORMATTER
));
return
vehicleBiz
.
getAllVehicleInfo
(
map
);
}
}
@Scheduled
(
cron
=
"0 0 */2 * * *"
)
public
void
add
(
Map
<
String
,
Object
>
param
)
{
public
void
add
()
{
List
<
BranchCompanyVehicleCountVo
>
branchCompanyVehicleCountVos
=
vehicleBiz
.
getAllVehicleInfo
(
param
);
List
<
BranchCompanyVehicleCountVo
>
branchCompanyVehicleCountVos
=
vehicleBiz
.
getAllVehicleInfo
();
branchCompanyVehicleCountVos
.
parallelStream
().
forEach
(
result
->{
branchCompanyVehicleCountVos
.
parallelStream
().
forEach
(
result
->{
try
{
try
{
BranchCompanyVehicleCount
branchCompanyVehicleCount
=
new
BranchCompanyVehicleCount
();
BranchCompanyVehicleCount
branchCompanyVehicleCount
=
new
BranchCompanyVehicleCount
();
...
@@ -125,4 +124,6 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
...
@@ -125,4 +124,6 @@ public class VehicleInformationDownloadBiz extends BaseBiz<VehicleMapper, Vehicl
});
});
}
}
}
}
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/mapper/VehicleMapper.java
View file @
b07411ca
...
@@ -54,5 +54,5 @@ public interface VehicleMapper extends Mapper<Vehicle> {
...
@@ -54,5 +54,5 @@ public interface VehicleMapper extends Mapper<Vehicle> {
@Select
(
"select `id` from `vehicle` where `is_del`=0"
)
@Select
(
"select `id` from `vehicle` where `is_del`=0"
)
List
<
String
>
findExistVehicleIds
();
List
<
String
>
findExistVehicleIds
();
List
<
BranchCompanyVehicleCountVo
>
getAllVehicleInfo
();
List
<
BranchCompanyVehicleCountVo
>
getAllVehicleInfo
(
Map
<
String
,
Object
>
params
);
}
}
\ 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