| | |
| | | |
| | | /** |
| | | * 定时任务刷新社区动态置顶状态 |
| | | * |
| | | * @return 刷新个数 |
| | | * @throws Exception |
| | | * 出现的异常 |
| | | */ |
| | | @XxlJob("test") |
| | | public ReturnT<String> test(String param) throws Exception { |
| | | log.info("定时测试"); |
| | | log.info("执行结果1111【{}】", "sucess"); |
| | | return ReturnT.SUCCESS; |
| | | } |
| | | |
| | | /** |
| | | * 定时任务刷新社区动态置顶状态 |
| | | * |
| | | * @return 刷新个数 |
| | | * @throws Exception |
| | |
| | | sysUserNoticeVO.setBusinessContent("报名人数不足活动自动取消"); |
| | | sysUserNoticeVO.setBusinessStatus(1); |
| | | sysUserNoticeVO |
| | | .setActivityType(activitySignVO.getIsVolunteer().intValue() == 1 ? 1 : 2); |
| | | .setActivityType(activitySignVO.getSignIdentity().intValue() == 1 ? 1 : 2); |
| | | R r2 = userService.addNotice(sysUserNoticeVO); |
| | | if (R.isOk(r2)) { |
| | | log.info("新增社区活动取消通知成功【{}】", JSONObject.toJSONString(sysUserNoticeVO)); |
| | |
| | | AddComActIntegralUserDTO addComActIntegralUserDTO = new AddComActIntegralUserDTO(); |
| | | addComActIntegralUserDTO.setUserId(people.getUserId()); |
| | | addComActIntegralUserDTO.setIntegralType(AddComActIntegralUserDTO.integralType.qxhd); |
| | | addComActIntegralUserDTO.setActivityType(1); |
| | | addComActIntegralUserDTO.setIsVolunteer(people.getIsVolunteer()); |
| | | addComActIntegralUserDTO.setSignIdentity(people.getSignIdentity()); |
| | | addComActIntegralUserDTO.setCommunityId(people.getCommunityId()); |
| | | addComActIntegralUserDTO.setServiceId(activityId); |
| | | communityService.addIntegralTradeAdmin(addComActIntegralUserDTO); |