大屏:出租装备分析
This commit is contained in:
parent
a94d150c5a
commit
a80aae8836
|
|
@ -56,7 +56,7 @@ public class LargeScreenController {
|
||||||
return AjaxResult.success(list);
|
return AjaxResult.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation("出租装备分类占比")
|
@ApiOperation("出租装备分析")
|
||||||
@GetMapping("/getLeaseCountByTypeName")
|
@GetMapping("/getLeaseCountByTypeName")
|
||||||
public AjaxResult getLeaseCountByTypeName() {
|
public AjaxResult getLeaseCountByTypeName() {
|
||||||
List<DevInfo> list = devInfoMapper.getLeaseCountByTypeName();
|
List<DevInfo> list = devInfoMapper.getLeaseCountByTypeName();
|
||||||
|
|
|
||||||
|
|
@ -997,6 +997,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN ma_dev_info mdi on modd.ma_id=mdi.ma_id
|
LEFT JOIN ma_dev_info mdi on modd.ma_id=mdi.ma_id
|
||||||
LEFT JOIN ma_type mt4 on mt4.type_id=mdi.type_id
|
LEFT JOIN ma_type mt4 on mt4.type_id=mdi.type_id
|
||||||
LEFT JOIN ma_type mt3 on mt3.type_id=mt4.parent_id
|
LEFT JOIN ma_type mt3 on mt3.type_id=mt4.parent_id
|
||||||
|
where mt3.type_name is not null
|
||||||
group by type_name
|
group by type_name
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue