Commit bf8a49e6 authored by jiaorz's avatar jiaorz

车辆信息统计

parent 1a9caf7b
......@@ -4,10 +4,8 @@
<select id="getAllCountInfo" parameterType="Map" resultType="com.xxfc.platform.vehicle.pojo.BranchCompanyVehicleCountVo">
SELECT
c.company_id,
c.count_date,
b.`name` AS companyName,
sum(c.vehicle_num) as vehicleNum
c.*,
b.`name` AS companyName
FROM
branch_company_vehicle_count c
LEFT JOIN branch_company b ON b.id = c.company_id
......
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