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
bd9556a3
Commit
bd9556a3
authored
Jul 29, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform
into base-modify
parents
6795121c
46661c89
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
10 deletions
+17
-10
WalletCathListDTO.java
.../github/wxiaoqi/security/admin/dto/WalletCathListDTO.java
+3
-0
WalletCathAdminVo.java
...m/github/wxiaoqi/security/admin/vo/WalletCathAdminVo.java
+3
-0
MyWalletCathMapper.xml
...ce-admin/src/main/resources/mapper/MyWalletCathMapper.xml
+2
-1
BaseOrderBiz.java
...c/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
+3
-3
BaseOrderMapper.xml
...rder-server/src/main/resources/mapper/BaseOrderMapper.xml
+6
-6
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/dto/WalletCathListDTO.java
View file @
bd9556a3
...
...
@@ -40,4 +40,7 @@ public class WalletCathListDTO {
@ApiModelProperty
(
value
=
"审核日期"
)
private
Long
finishTime
;
@ApiModelProperty
(
"单号"
)
private
String
cono
;
}
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/WalletCathAdminVo.java
View file @
bd9556a3
...
...
@@ -37,4 +37,7 @@ public class WalletCathAdminVo {
@ApiModelProperty
(
value
=
"审核日期"
)
private
Long
finishTime
;
@ApiModelProperty
(
"单号"
)
private
String
cono
;
}
ace-modules/ace-admin/src/main/resources/mapper/MyWalletCathMapper.xml
View file @
bd9556a3
...
...
@@ -13,7 +13,8 @@
wc.cath_type AS `cathType`,
wc.stauts,
wc.crt_time AS `crtTime`,
wc.finish_time AS `finishTime`
wc.finish_time AS `finishTime`,
wc.cono
FROM
(SELECT * FROM `my_wallet_cath`
<if
test=
"state != null"
>
WHERE `stauts`=#{state}
...
...
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/BaseOrderBiz.java
View file @
bd9556a3
...
...
@@ -146,7 +146,7 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper,BaseOrder> {
if
(
orderPageVo
.
getStatus
()
==
4
)
{
//未交车
List
<
VehicleUserLicense
>
vehicleUserLicenses
=
Lists
.
newArrayList
();
boolean
flag
=
getTodyTime
(
orderPageVo
.
getOrderRentVehicleDetail
().
getStartTime
());
boolean
flag
=
getTod
a
yTime
(
orderPageVo
.
getOrderRentVehicleDetail
().
getStartTime
());
if
(!
flag
)
{
return
ObjectRestResponse
.
createFailedResult
(
3501
,
"今日不是交车日期"
);
}
...
...
@@ -589,9 +589,9 @@ public class BaseOrderBiz extends BaseBiz<BaseOrderMapper,BaseOrder> {
// }
// }
public
boolean
getTodyTime
(
Long
time
)
{
public
boolean
getTod
a
yTime
(
Long
time
)
{
Long
startTime
=
getDayStart
();
if
(
time
>
startTime
&&
time
<
startTime
+
24
*
60
*
60
*
1000
-
1
)
{
if
(
time
>
=
startTime
&&
time
<=
startTime
+
24
*
60
*
60
*
1000
-
1
)
{
return
true
;
}
return
false
;
...
...
xx-order/xx-order-server/src/main/resources/mapper/BaseOrderMapper.xml
View file @
bd9556a3
...
...
@@ -135,16 +135,16 @@
and b.name like CONCAT ("%", #{name}, "%")
</if>
<if
test=
"startTime != null"
>
and r.start_time between #{startTime} and #{endTime}
or t.start_time between #{startTime} and #{endTime}
and
(
r.start_time between #{startTime} and #{endTime}
or t.start_time between #{startTime} and #{endTime}
)
</if>
<if
test=
"startCompanyId != null"
>
and r.start_company_id = #{startCompanyId}
or t.start_company_id = #{startCompanyId}
and
(
r.start_company_id = #{startCompanyId}
or t.start_company_id = #{startCompanyId}
)
</if>
<if
test=
"startZoneId != null"
>
and r.start_zone_id = #{startZoneId}
or t.start_zone_id = #{startZoneId}
and
(
r.start_zone_id = #{startZoneId}
or t.start_zone_id = #{startZoneId}
)
</if>
</where>
order by b.crt_time desc
...
...
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