|
@ -16,6 +16,7 @@ import com.lottery.utils.ConvertBeanUtil; |
|
|
import com.lottery.utils.HttpUtils; |
|
|
import com.lottery.utils.HttpUtils; |
|
|
import com.lottery.utils.ValidationUtils; |
|
|
import com.lottery.utils.ValidationUtils; |
|
|
import com.lottery.vo.FundingActivityVo; |
|
|
import com.lottery.vo.FundingActivityVo; |
|
|
|
|
|
import com.lottery.vo.FundingDataVO; |
|
|
import com.lottery.vo.FundingUserVo; |
|
|
import com.lottery.vo.FundingUserVo; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
@ -240,7 +241,7 @@ public class FundingServiceImpl implements IFundingService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public Map<String, Object> getDate(Integer activityId) { |
|
|
|
|
|
|
|
|
public FundingDataVO getDate1(Integer activityId) { |
|
|
//根据活动id查询俩个市场,俩个市场是一条数据 |
|
|
//根据活动id查询俩个市场,俩个市场是一条数据 |
|
|
Map<String, Object> market = fundingMapper.getMarket(activityId); |
|
|
Map<String, Object> market = fundingMapper.getMarket(activityId); |
|
|
//获取map |
|
|
//获取map |
|
@ -262,14 +263,9 @@ public class FundingServiceImpl implements IFundingService { |
|
|
Integer time = fundingMapper.getTime(activityId,marketOne); |
|
|
Integer time = fundingMapper.getTime(activityId,marketOne); |
|
|
Map<String, Object> result = new HashMap<>(); |
|
|
Map<String, Object> result = new HashMap<>(); |
|
|
|
|
|
|
|
|
result.put("time", time) ; |
|
|
|
|
|
result.put("showOne", showOne); |
|
|
|
|
|
result.put("showTwo", showTwo); |
|
|
|
|
|
result.put("markerOneTotal", markerTwoVirtual); |
|
|
|
|
|
result.put("markerTwoTotal", markerTwoVirtual); |
|
|
|
|
|
result.put("marketOneVirtual", markerOneVirtual); |
|
|
|
|
|
result.put("marketTwoVirtual", markerTwoVirtual); |
|
|
|
|
|
return result; |
|
|
|
|
|
|
|
|
FundingDataVO fundingDataVO = new FundingDataVO(marketOne, marketTwo, time, showOne, showTwo, markerOneVirtual, markerTwoVirtual, markerOneTotal, markerTwoTotal); |
|
|
|
|
|
|
|
|
|
|
|
return fundingDataVO; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|