编辑Bug 350小程序-物业/政府:停车数量错误
Bug标题
重现步骤

账号

三轮测试小区

登录名:GEhQuccmadmin

密码:QRG43ls@

账号:

18878383588

[问题描述]

1-统计数量未去掉逻辑删除数据!

file-read-651.png

##登记长期车辆数

select count(distinct plate_no) from b_car where community_id=140

and deleted_flag=0

and type in (0,1,4); ## 0-私家车 1-月卡车 4-白名单车

##登记的临时车辆数

select count(distinct plate_no) from b_car where community_id=140

and deleted_flag=0

and type in (2) ## 2-临时车

2-在停车辆分类有误

进出场记录未做逻辑删除,若做了逻辑删除,请剔除逻辑删除数据!

file-read-655.png

##在停车辆总数

select count(distinct plate_no) from b_car_inout where out_type=0;

##在停长期车辆数

select count(distinct plate_no) from b_car_inout where out_type=0

and plate_no in (

select plate_no from b_car where community_id=140

and deleted_flag=0

and type in (0,1,2,4)) ## 0-私家车 1-月卡车 2-临时车 4-白名单车

【需求】

file-read-652.png

附件
备注
基本信息
所属产品
所属模块
所属计划
来源用例
Bug类型
严重程度
优先级
Bug状态
是否确认
指派给
截止日期
反馈者
通知邮箱
操作系统
浏览器
关键词
抄送给
项目/研发需求/任务
所属项目
所属执行
相关需求
相关任务
Bug的一生
由谁创建
影响版本
解决者
解决日期
解决版本
解决方案
由谁关闭
关闭日期
其他相关
相关Bug
测试单