Commit 0074a93e by “Kongxiangkun”

活动投票状态筛选优化

parent 18050c0c
......@@ -198,9 +198,9 @@ public class TpContentStudentStatusServiceUsing {
CheckResearchStateVo checkResearchStateVo = new CheckResearchStateVo();
checkResearchStateVo.setContext(context);
checkResearchStateVo.setResearchId(activity.getRelationId());
Integer state = researchClient.checkResearchState(checkResearchStateVo);
log.info("查询活动id:{}中,投票id:{}中的投票状态state:{}", activity.getTrainingProjectId(), activity.getRelationId(), state);
if(state.intValue() > 2) {
Integer count = researchClient.checkTPlanResearchState(checkResearchStateVo);
log.info("查询活动id:{}中,投票id:{}中的投票状态count:{}", activity.getTrainingProjectId(), activity.getRelationId(), count);
if(count.intValue() <= 0) {
continue;
}
TrainingProjectContentActivityVo activityVo = new TrainingProjectContentActivityVo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment