Commit fd782b23 authored by hezhen's avatar hezhen

123

parent 4cbea2b6
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
<select id="getByPage" parameterType="java.util.Map" <select id="getByPage" parameterType="java.util.Map"
resultType="com.xinxincaravan.caravan.vehicle.vo.QueryVehicleVo"> resultType="com.xinxincaravan.caravan.vehicle.vo.QueryVehicleVo">
SELECT r.* FROM (
select DISTINCT v.`id`, select DISTINCT v.`id`,
v.`code`, v.`code`,
v.`status`, v.`status`,
...@@ -118,10 +119,12 @@ ...@@ -118,10 +119,12 @@
) )
</if> </if>
order by v.code order by v.code
) r ORDER BY r.subBranchName
</select> </select>
<select id="getByPageNotAllData" parameterType="java.util.Map" <select id="getByPageNotAllData" parameterType="java.util.Map"
resultType="com.xinxincaravan.caravan.vehicle.vo.QueryVehicleVo"> resultType="com.xinxincaravan.caravan.vehicle.vo.QueryVehicleVo">
SELECT r.* FROM (
select DISTINCT v.`id`, select DISTINCT v.`id`,
v.`code`, v.`code`,
v.`status`, v.`status`,
...@@ -244,6 +247,7 @@ ...@@ -244,6 +247,7 @@
) )
</if> </if>
order by v.code order by v.code
) r ORDER BY r.subBranchName
</select> </select>
<select id="lockByCode" resultType="com.xinxincaravan.caravan.vehicle.entity.Vehicle" <select id="lockByCode" resultType="com.xinxincaravan.caravan.vehicle.entity.Vehicle"
......
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