| | |
| | | jsonObject.put(sysConfig.getConfigKey(),sysConfig.getConfigValue()); |
| | | } |
| | | //记录well表中oil_production为抽油机的数据有多少条 |
| | | QueryWrapper<ArdAlarmpointsWell> queryWrapperWell = new QueryWrapper<>(); |
| | | // QueryWrapper<ArdAlarmpointsWell> queryWrapperWell = new QueryWrapper<>(); |
| | | // queryWrapperWell.eq("oil_production","抽油机"); |
| | | queryWrapperWell.eq("well_type","1"); |
| | | int num = wellMapper.selectCount(queryWrapperWell); |
| | | // queryWrapperWell.eq("well_type","1"); |
| | | int num = wellMapper.selectCount(null); |
| | | jsonObject.put("well",String.valueOf(num)); |
| | | return Results.succeed(jsonObject); |
| | | } |