| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.panzhihua.common.model.dtos.community.acid.BatchCheckAcidRecordDTO; |
| | | import com.panzhihua.common.model.dtos.community.acid.ComActAcidRecordDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.acid.*; |
| | |
| | | } |
| | | @Override |
| | | public R fiveCountPlus(String date,String localCity,String loginAccount) { |
| | | Integer type = isVilliage(loginAccount); |
| | | log.info("type===="+type); |
| | | Integer type=3; |
| | | if (StringUtils.isNotEmpty(loginAccount)){ |
| | | type = isVilliage(loginAccount); |
| | | } |
| | | return R.ok(this.baseMapper.fiveCountPlus(date,localCity,type)); |
| | | } |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * 批量核对防疫信息数据 |
| | | * @param batchCheckAcidRecordDTO |
| | | * @return |
| | | */ |
| | | @Override |
| | | public R batchCheck(BatchCheckAcidRecordDTO batchCheckAcidRecordDTO) { |
| | | this.baseMapper.batchCheck(batchCheckAcidRecordDTO); |
| | | return R.ok(); |
| | | } |
| | | |
| | | public static void areaCheck(ComCun area,ComStreetDO comStreetDO){ |
| | | switch (area.getArea()){ |
| | | case "西区": comStreetDO.setAreaCode(510423); break; |