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
8c23cb83
Commit
8c23cb83
authored
Nov 05, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
26353219
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
RentVehicleController.java
...com/xxfc/platform/vehicle/rest/RentVehicleController.java
+3
-3
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+1
-1
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/RentVehicleController.java
View file @
8c23cb83
...
@@ -255,7 +255,7 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
...
@@ -255,7 +255,7 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
rbd
.
setCatas2
(
dto
.
getCatas
());
rbd
.
setCatas2
(
dto
.
getCatas
());
rbd
.
setGoodsType
(
dto
.
getGoodsType
());
rbd
.
setGoodsType
(
dto
.
getGoodsType
());
rbd
.
setRecordIntersection
(
Boolean
.
FALSE
);
rbd
.
setRecordIntersection
(
Boolean
.
FALSE
);
rbd
.
setYearNo4Where
(
Boolean
.
TRU
E
);
rbd
.
setYearNo4Where
(
Boolean
.
FALS
E
);
//查询可车辆信息
//查询可车辆信息
PageDataVO
<
UsableVeicleVO
>
pageDataVO
=
vehicleBiz
.
searchUsableVehicle
(
rbd
);
PageDataVO
<
UsableVeicleVO
>
pageDataVO
=
vehicleBiz
.
searchUsableVehicle
(
rbd
);
if
(
CollUtil
.
isNotEmpty
(
pageDataVO
.
getData
()))
{
if
(
CollUtil
.
isNotEmpty
(
pageDataVO
.
getData
()))
{
...
@@ -288,10 +288,10 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
...
@@ -288,10 +288,10 @@ public class RentVehicleController extends BaseController<VehicleBiz> implements
@RequestMapping
(
value
=
"/rent/apply/usable-vehicle"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/rent/apply/usable-vehicle"
,
method
=
RequestMethod
.
POST
)
@IgnoreUserToken
@IgnoreUserToken
public
ObjectRestResponse
<
PageDataVO
<
UsableVeicleVO
>>
applyUsableVehicle
(
@RequestBody
RentVehicleBookDTO
rbd
)
{
public
ObjectRestResponse
<
PageDataVO
<
UsableVeicleVO
>>
applyUsableVehicle
(
@RequestBody
RentVehicleBookDTO
rbd
)
{
rbd
.
setRecordIntersection
(
Boolean
.
TRU
E
);
rbd
.
setRecordIntersection
(
Boolean
.
FALS
E
);
rbd
.
setLimit
(
100
);
rbd
.
setLimit
(
100
);
rbd
.
setPage
(
1
);
rbd
.
setPage
(
1
);
rbd
.
setYearNo4Where
(
Boolean
.
TRU
E
);
rbd
.
setYearNo4Where
(
Boolean
.
FALS
E
);
//查询可车辆信息
//查询可车辆信息
PageDataVO
<
UsableVeicleVO
>
pageDataVO
=
vehicleBiz
.
searchUsableVehicle
(
rbd
);
PageDataVO
<
UsableVeicleVO
>
pageDataVO
=
vehicleBiz
.
searchUsableVehicle
(
rbd
);
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
8c23cb83
...
@@ -1212,7 +1212,7 @@
...
@@ -1212,7 +1212,7 @@
<where>
<where>
<!-- 若需根据预定日期条件查询,针对换为位操作 -->
<!-- 若需根据预定日期条件查询,针对换为位操作 -->
<!-- yearNo4Where 标识时间参数是否用于where条件 -->
<!-- yearNo4Where 标识时间参数是否用于where条件 -->
<if
test=
" yearMonthAndParam !=null and yearMonthAndParam != null and
yearNo4Where == null
"
>
<if
test=
" yearMonthAndParam !=null and yearMonthAndParam != null and
(yearNo4Where == null or yearNo4Where != true)
"
>
vbi.bit_str = #{yearMonthAndParamBitStr}
vbi.bit_str = #{yearMonthAndParamBitStr}
</if>
</if>
...
...
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