Commit f626aa38 authored by 鲁鸿波's avatar 鲁鸿波

关键字修改

parent 03046a6d
......@@ -397,13 +397,13 @@ public class TSafeHazardOrgController extends SuperController {
//一般危险隐患
QueryWrapper<TSafeHazardOrg> generallyQueryWrapper = new QueryWrapper<TSafeHazardOrg>().in("org_id", subInstitutionIds)
.ne("status", BizConstants.STATUS_DELETE).ne("process_status", 5).ne("process_status", 4)
.eq("`level`", 1);
.eq("\"level\"", 1);
int generallyCount = tSafeHazardOrgService.count(generallyQueryWrapper);
hiddenDangerVO.setGenerally(generallyCount);
//重大危险隐患
QueryWrapper<TSafeHazardOrg> majorQueryWrapper = new QueryWrapper<TSafeHazardOrg>().in("org_id", subInstitutionIds)
.ne("status", BizConstants.STATUS_DELETE).ne("process_status", 5).ne("process_status", 4)
.eq("`level`", 2);
.eq("\"level\"", 2);
int majorCount = tSafeHazardOrgService.count(majorQueryWrapper);
hiddenDangerVO.setMajor(majorCount);
}
......
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