Commit 5743bff9 authored by 周健威's avatar 周健威

修改

parent 733601d1
......@@ -161,6 +161,9 @@ public class VehiclePlatCataBiz extends BaseBiz<VehiclePlatCataMapper, VehiclePl
List<VehiclePlatCata> vehiclePlatCatas = childrens.parallelStream().filter(vehiclePlatCata -> {
vehiclePlatCata.setParentId(parentId);
vehiclePlatCata.setCrtTime(System.currentTimeMillis());
if(null == vehiclePlatCata.getRank()) {
vehiclePlatCata.setRank(1);
}
return vehiclePlatCata.getState() == 0;
}).filter(vpc -> StringUtils.isNotBlank(vpc.getName())).collect(Collectors.toList());
......
......@@ -12,10 +12,7 @@
<foreach collection ="vpclist" item="vpc" index="index" separator =",">
<if test="vpc.state == 0" >
(#{vpc.parentId},#{vpc.name},#{vpc.icon},#{vpc.depict}
<if test="vpc.rank != null">
,#{vpc.rank}
</if>
,#{vpc.level},#{vpc.state},#{vpc.crtTime}
,#{vpc.rank},#{vpc.level},#{vpc.state},#{vpc.crtTime}
,#{vpc.updTime},#{vpc.isMore},#{vpc.startUsing})
</if>
</foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment