| | |
| | | package com.ks.lucky.util.factory; |
| | | |
| | | import com.ks.lucky.pojo.DO.ActivityJoinAssistEvent; |
| | | import com.ks.lucky.pojo.DO.LuckyActivityJoinAssist; |
| | | import com.ks.lucky.pojo.DO.LuckyActivityUserWeightRecord; |
| | | |
| | |
| | | return weightRecord; |
| | | } |
| | | |
| | | public static LuckyActivityUserWeightRecord createAssist(Long activityId, Long appId, String uid, LuckyActivityJoinAssist.ActivityJoinAssistEvent event, int weight) { |
| | | public static LuckyActivityUserWeightRecord createAssist(Long activityId, Long appId, String uid, ActivityJoinAssistEvent event, int weight) { |
| | | LuckyActivityUserWeightRecord weightRecord = getCommon(activityId, appId, uid, weight); |
| | | weightRecord.setTitle(event.getName()); |
| | | return weightRecord; |