| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.common.model.vos.community.ComMngPopulationCommunityTagsVo; |
| | | import com.panzhihua.common.utlis.DateUtils; |
| | | import com.panzhihua.common.utlis.LabelUtils; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | eventVisitingTasksVO |
| | | .setNation(PopulPoliticalOutlookEnum.getCnDescByName(eventVisitingTasksVO.getNationCode())); |
| | | } |
| | | //查询该人口的标签 |
| | | List<ComMngPopulationCommunityTagsVo> communityTagsList = this.baseMapper.getCommunityTagList(eventVisitingTasksVO.getVisiterId()); |
| | | String label = LabelUtils.assembleLabel(communityTagsList); |
| | | eventVisitingTasksVO.setLabel(label); |
| | | } |
| | | return R.ok(page); |
| | | } |
| | |
| | | eventVisitingTasksVO |
| | | .setNation(PopulPoliticalOutlookEnum.getCnDescByName(eventVisitingTasksVO.getNationCode())); |
| | | } |
| | | |
| | | //查询该人口的标签 |
| | | List<ComMngPopulationCommunityTagsVo> communityTagsList = this.baseMapper.getCommunityTagList(eventVisitingTasksVO.getVisiterId()); |
| | | String label = LabelUtils.assembleLabel(communityTagsList); |
| | | eventVisitingTasksVO.setLabel(label); |
| | | } |
| | | return R.ok(page); |
| | | } |
| | |
| | | |
| | | //获取上月第一天时间 |
| | | Date lastMonthFirst = DateUtils.getLastMonthFirst(); |
| | | // Date lastMonthFirst = DateUtils.getYearMonthStart(2021,7); |
| | | //获取上月最后一天时间 |
| | | Date lastMonthEnd = DateUtils.getLastMonthEnd(); |
| | | // Date lastMonthEnd = DateUtils.getYearMonthEnd(2021,7); |
| | | |
| | | //查询上月已走访任务 |
| | | List<EventVisitingTasksDO> visitingTasksList = this.baseMapper.selectList(new QueryWrapper<EventVisitingTasksDO>().lambda() |