| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.panzhihua.service_community.dao.ComBpActivityDAO; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | |
| | | private ComActDiscussOptionService comActDiscussOptionService; |
| | | @Resource |
| | | private ComActActivityService comActActivityService; |
| | | @Resource |
| | | private ComBpActivityDAO comBpActivityDAO; |
| | | |
| | | /** |
| | | * 查询用户某个时间段交易数量 |
| | |
| | | break; |
| | | case 8: |
| | | remark.append("成功参加活动奖励积分"); |
| | | ComActActivityDO actActivityDO1 = comActActivityService.getById(serviceId); |
| | | if(actActivityDO1!=null){ |
| | | amount=actActivityDO1.getRewardIntegral(); |
| | | if(integralUserDTO.getActivityType()==1){ |
| | | ComActActivityDO actActivityDO1 = comActActivityService.getById(serviceId); |
| | | if(actActivityDO1!=null){ |
| | | amount=actActivityDO1.getRewardIntegral(); |
| | | if(actActivityDO1.getVolunteerMax()!=0){ |
| | | identityType=3; |
| | | }else { |
| | | identityType=1; |
| | | } |
| | | } |
| | | }else { |
| | | ComPbActivityDO comPbActivityDO = comBpActivityDAO.selectById(serviceId); |
| | | if(comPbActivityDO!=null){ |
| | | amount=comPbActivityDO.getRewardIntegral(); |
| | | identityType=2; |
| | | } |
| | | } |
| | | default: |
| | | break; |