| | |
| | | return baseMapper.getList(userId,communityId); |
| | | } |
| | | |
| | | @Override |
| | | public IntegratingTask getDetails(String userId, String communityId, String status) { |
| | | return baseMapper.getDetails(userId,communityId,status); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public R addData(IntegratingTaskVO item) |
| | | { |
| | | |
| | | switch (item.getStatus()) |
| | | { |
| | | case "11": |
| | | //花城登录 |
| | | case "12": |
| | | // 查看问题清单 |
| | | case "13": |
| | | //13查看需求清单 |
| | | case "14": |
| | | //查看报道服务活动 |
| | | case "15": |
| | | //15查看微心愿 |
| | | case "16": |
| | | //查看随手拍 |
| | | case "17": |
| | | //每日签到 |
| | | IntegratingTask task=baseMapper.getDetails(item.getUserId(),item.getCommunityId(),item.getStatus()); |
| | | if(task!=null) |
| | | { |
| | | return R.ok(); |
| | | } |
| | | break; |
| | | } |
| | | |
| | | int num=baseMapper.addData(item); |
| | | if(num>0) |
| | | { |