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
a5918261
Commit
a5918261
authored
Aug 15, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加积分补充接口
parent
90d278e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
VehicleWarningMsgBiz.java
...a/com/xxfc/platform/vehicle/biz/VehicleWarningMsgBiz.java
+1
-1
VehicleWarningMsgMapper.xml
...ver/src/main/resources/mapper/VehicleWarningMsgMapper.xml
+4
-8
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleWarningMsgBiz.java
View file @
a5918261
...
@@ -94,7 +94,7 @@ public class VehicleWarningMsgBiz extends BaseBiz<VehicleWarningMsgMapper, Vehic
...
@@ -94,7 +94,7 @@ public class VehicleWarningMsgBiz extends BaseBiz<VehicleWarningMsgMapper, Vehic
try
{
try
{
QueryVehicleWarningMsgVo
queryVehicleWarningMsgVo
=
JSON
.
parseObject
(
queryVehicleWarningMsgVoJson
,
QueryVehicleWarningMsgVo
.
class
);
QueryVehicleWarningMsgVo
queryVehicleWarningMsgVo
=
JSON
.
parseObject
(
queryVehicleWarningMsgVoJson
,
QueryVehicleWarningMsgVo
.
class
);
PageHelper
.
startPage
(
queryVehicleWarningMsgVo
.
getPage
(),
queryVehicleWarningMsgVo
.
getLimit
());
PageHelper
.
startPage
(
queryVehicleWarningMsgVo
.
getPage
(),
queryVehicleWarningMsgVo
.
getLimit
());
List
<
VehicleWarningMsg
>
vehicleWarningMsgs
=
mapper
.
getByPage
s
(
queryVehicleWarningMsgVo
);
List
<
VehicleWarningMsg
>
vehicleWarningMsgs
=
mapper
.
getByPage
(
queryVehicleWarningMsgVo
);
PageInfo
<
VehicleWarningMsg
>
vehicleWarningMsgPageInfo
=
new
PageInfo
<>(
vehicleWarningMsgs
);
PageInfo
<
VehicleWarningMsg
>
vehicleWarningMsgPageInfo
=
new
PageInfo
<>(
vehicleWarningMsgs
);
return
RestResponse
.
data
(
PageDataVO
.
pageInfo
(
vehicleWarningMsgPageInfo
));
return
RestResponse
.
data
(
PageDataVO
.
pageInfo
(
vehicleWarningMsgPageInfo
));
}
catch
(
JSONException
ex
)
{
}
catch
(
JSONException
ex
)
{
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleWarningMsgMapper.xml
View file @
a5918261
...
@@ -22,9 +22,11 @@
...
@@ -22,9 +22,11 @@
and v.number_plate = #{numberPlate}
and v.number_plate = #{numberPlate}
</if>
</if>
<if
test=
"type != null"
>
<if
test=
"type != null"
>
and type = #{type}
and v.type = #{type}
</if>
<if
test=
"colorType != null"
>
and color_type = #{colorType}
</if>
</if>
</select>
</select>
<select
id=
"getMsgByVehicle"
parameterType=
"java.util.Map"
resultType=
"com.xxfc.platform.vehicle.entity.VehicleWarningMsg"
>
<select
id=
"getMsgByVehicle"
parameterType=
"java.util.Map"
resultType=
"com.xxfc.platform.vehicle.entity.VehicleWarningMsg"
>
...
@@ -73,12 +75,6 @@
...
@@ -73,12 +75,6 @@
<if
test=
"numberPlate != null and numberPlate != '' "
>
<if
test=
"numberPlate != null and numberPlate != '' "
>
and number_plate = #{numberPlate}
and number_plate = #{numberPlate}
</if>
</if>
<if
test=
"type != null"
>
and type = #{type}
</if>
<if
test=
"colorType != null"
>
and color_type = #{colorType}
</if>
</select>
</select>
</mapper>
</mapper>
\ 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