|
@@ -752,7 +752,7 @@ public class ProtDataServiceImpl extends ServiceImpl<ProtDataMapper, ProtData> i
|
|
|
QueryWrapper<ProtWarningInfo> queryWrapper1 = new QueryWrapper<>();
|
|
|
queryWrapper1.eq("farm_id", farmId);
|
|
|
Integer count1 = protWarningInfoMapper.selectCount(queryWrapper1);//全年报警条数
|
|
|
- queryWrapper1.ge("create_date", timesmorning);
|
|
|
+ queryWrapper1.ge("date", timesmorning);
|
|
|
Integer countDay = protWarningInfoMapper.selectCount(queryWrapper1);//今日报警条数
|
|
|
|
|
|
//得到监测保障天数
|