代码优化-又清理了部分前朝遗物代码
This commit is contained in:
@@ -10,8 +10,6 @@ import com.accompany.admin.params.flowteam.TeamMemberEditParams;
|
||||
import com.accompany.admin.params.flowteam.TeamMemberQueryParams;
|
||||
import com.accompany.admin.util.InviteCodeUtil;
|
||||
import com.accompany.admin.vo.flowteam.*;
|
||||
import com.accompany.business.event.ActivityUserInfoUpdateEvent;
|
||||
import com.accompany.business.message.UserInfoUpdateMessage;
|
||||
import com.accompany.business.model.RoomInviteCode;
|
||||
import com.accompany.business.model.UserInviteCode;
|
||||
import com.accompany.business.service.room.RoomInviteCodeService;
|
||||
@@ -53,7 +51,6 @@ import javax.annotation.Nonnull;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.*;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@Service
|
||||
@@ -666,23 +663,11 @@ public class FlowTeamService {
|
||||
userForUpdate.setInviteCode(user.getInviteCode());
|
||||
userForUpdate.setInviteUid(inviteUid);
|
||||
|
||||
// 发送用户完善/修改个人信息活动事件
|
||||
UserInfoUpdateMessage userInfoUpdateMessage = converToUpdateUserInfoMsg(userForUpdate);
|
||||
applicationContext.publishEvent(new ActivityUserInfoUpdateEvent(userInfoUpdateMessage));
|
||||
|
||||
usersBaseService.updateUser(userForUpdate);
|
||||
// 绑定用户与引流团队成员的邀请关系
|
||||
flowTeamMemberInviteUserBizService.saveFlowTeamMemberInviteUserAsync(user.getInviteCode(), user.getUid());
|
||||
}
|
||||
|
||||
|
||||
private UserInfoUpdateMessage converToUpdateUserInfoMsg(Users users){
|
||||
UserInfoUpdateMessage userInfoUpdateMsg = new UserInfoUpdateMessage();
|
||||
userInfoUpdateMsg.setMsgStatus(Constant.UserInfoUpdateMsgSource.FILL_INVITE);
|
||||
userInfoUpdateMsg.setUsers(users);
|
||||
return userInfoUpdateMsg;
|
||||
}
|
||||
|
||||
/**
|
||||
* 组长添加组内成员
|
||||
* @param params
|
||||
|
@@ -44,24 +44,17 @@ public class JmsConfig {
|
||||
|
||||
private int idleTimeout;
|
||||
|
||||
|
||||
|
||||
|
||||
public final static String MY_QUEUE = "spring-queue";
|
||||
public final static String GIFT_QUEUE = "gift-queue";
|
||||
|
||||
public final static String OPENBOX_QUEUE = "openbox-queue";
|
||||
|
||||
public final static String WISHSTARCUP_QUEUE = "wishstarcup-queue";
|
||||
|
||||
|
||||
//用户退出清除已点歌曲的延迟队列
|
||||
public final static String CLEAN_MUSIC_QUEUE = "clean-music-queue";
|
||||
//活动礼包队列
|
||||
public final static String ACTIVITY_PACK_QUEUE = "activity-pack-queue";
|
||||
|
||||
public final static String GIFT_TOPIC = "erban-gift-topic";
|
||||
|
||||
public final static String PAY_FINISH_QUEUE = "pay-finish-queue";
|
||||
|
||||
public final static String AD_PLATFORM_USER_LOGIN_MSG_QUEUE = "ad_platform_user_login_msg_queue";
|
||||
@@ -88,11 +81,6 @@ public class JmsConfig {
|
||||
return new ActiveMQQueue(OPENBOX_QUEUE);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Queue wishStarCupQueue() {
|
||||
return new ActiveMQQueue(WISHSTARCUP_QUEUE);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Queue cleanMusicQueue() {
|
||||
return new ActiveMQQueue(CLEAN_MUSIC_QUEUE);
|
||||
@@ -133,18 +121,6 @@ public class JmsConfig {
|
||||
return pooledConnectionFactory;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 定义一个主题
|
||||
* @return
|
||||
*/
|
||||
@Bean
|
||||
public Topic giftTopic() {
|
||||
return new ActiveMQTopic(GIFT_TOPIC);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 配置队列生产者的JmsTemplate
|
||||
* @param activeMQConnectionFactory
|
||||
@@ -168,17 +144,6 @@ public class JmsConfig {
|
||||
return template;
|
||||
}
|
||||
|
||||
@Bean("giftTopicJmsTemplate")
|
||||
public JmsTemplate giftTopicJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
JmsTemplate template = new JmsTemplate(activeMQConnectionFactory);
|
||||
template.setExplicitQosEnabled(true);
|
||||
template.setDeliveryMode(DeliveryMode.PERSISTENT);
|
||||
template.setDefaultDestination(giftTopic());
|
||||
template.setSessionTransacted(true);
|
||||
return template;
|
||||
}
|
||||
|
||||
|
||||
@Bean("openBoxJmsTemplate")
|
||||
public JmsTemplate openBoxJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
JmsTemplate template = new JmsTemplate(activeMQConnectionFactory);
|
||||
@@ -186,24 +151,6 @@ public class JmsConfig {
|
||||
return template;
|
||||
}
|
||||
|
||||
@Bean("wishStarCupJmsTemplate")
|
||||
public JmsTemplate wishStarCupJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
JmsTemplate template = new JmsTemplate(activeMQConnectionFactory);
|
||||
template.setDefaultDestination(wishStarCupQueue());
|
||||
return template;
|
||||
}
|
||||
|
||||
@Bean("wishStarCupContainer")
|
||||
public DefaultJmsListenerContainerFactory wishStarCupContainer() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
= new DefaultJmsListenerContainerFactory();
|
||||
factory.setConnectionFactory(connectionFactory());
|
||||
factory.setSessionTransacted(true);
|
||||
factory.setSessionAcknowledgeMode(4);
|
||||
factory.setConcurrency("4-8");
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
@Bean("cleanMusicJmsTemplate")
|
||||
public JmsTemplate cleanMusicJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
@@ -293,38 +240,6 @@ public class JmsConfig {
|
||||
return factory;
|
||||
}
|
||||
|
||||
@Bean("jmsContainer4")
|
||||
public DefaultJmsListenerContainerFactory jmsContainer4() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
= new DefaultJmsListenerContainerFactory();
|
||||
factory.setConnectionFactory(connectionFactory());
|
||||
factory.setSessionTransacted(true);
|
||||
factory.setSessionAcknowledgeMode(4);
|
||||
factory.setSubscriptionDurable(false);
|
||||
factory.setPubSubDomain(true);
|
||||
factory.setConcurrency("4-8");
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
@Bean("newyearJmsContainer")
|
||||
public DefaultJmsListenerContainerFactory newyearJmsContainer() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
= new DefaultJmsListenerContainerFactory();
|
||||
factory.setConnectionFactory(connectionFactory());
|
||||
factory.setSessionTransacted(true);
|
||||
factory.setSessionAcknowledgeMode(4);
|
||||
factory.setSubscriptionDurable(false);
|
||||
factory.setPubSubDomain(true);
|
||||
factory.setConcurrency("4-8");
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Bean("cleanMusicContainer")
|
||||
public DefaultJmsListenerContainerFactory cleanMusicContainer() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
|
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: ActLuckyBagRankAdminController
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/4/19
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.admin.controller.activity;
|
||||
|
||||
import com.accompany.business.service.activities.ActCandyBizService;
|
||||
import com.accompany.core.vo.BaseResponseVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/4/19]
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(value = "/admin/candy")
|
||||
public class ActCandy2022AdminController {
|
||||
|
||||
@Autowired
|
||||
private ActCandyBizService actCandyBizService;
|
||||
|
||||
/**
|
||||
* 测试手动触发发放奖励
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/sendAwardForTest")
|
||||
public BaseResponseVO sendAwardForTest() {
|
||||
actCandyBizService.sendAward();
|
||||
return new BaseResponseVO();
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: ActLuckyBagRankAdminController
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/4/19
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.admin.controller.activity;
|
||||
|
||||
import com.accompany.business.service.activity.ActLuckyBagRankService;
|
||||
import com.accompany.core.vo.BaseResponseVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/4/19]
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(value = "/admin/luckybag")
|
||||
public class ActLuckyBagRankAdminController {
|
||||
|
||||
@Autowired
|
||||
private ActLuckyBagRankService actLuckyBagRankService;
|
||||
|
||||
/**
|
||||
* 测试手动触发发放奖励
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/sendAwardForTest")
|
||||
public BaseResponseVO sendAwardForTest() {
|
||||
actLuckyBagRankService.sendAward();
|
||||
return new BaseResponseVO();
|
||||
}
|
||||
}
|
@@ -1,88 +0,0 @@
|
||||
package com.accompany.admin.controller.activity;
|
||||
|
||||
import com.accompany.business.service.activity.*;
|
||||
import com.accompany.common.config.SystemConfig;
|
||||
import com.accompany.common.result.BusiResult;
|
||||
import com.accompany.common.status.BusiStatus;
|
||||
import com.accompany.core.enumeration.BusinessStatusCodeEnum;
|
||||
import com.accompany.core.vo.BaseResponseVO;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("/admin/award/backUp")
|
||||
public class ActivityAwardBackUpAdminController {
|
||||
|
||||
@Autowired
|
||||
private ActivityFortuneService activityFortuneService;
|
||||
@Autowired
|
||||
private ActYearCeremonyService actYearCeremonyService;
|
||||
@Autowired
|
||||
private ActivityLoveRankService activityLoveRankService;
|
||||
@Autowired
|
||||
private ActivityOneYearService activityOneYearService;
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
@Autowired
|
||||
private ActMagicSchoolService actMagicSchoolService;
|
||||
|
||||
// 许愿集福气分配红包 (分多少份,每份多少金额) 备用接口
|
||||
@GetMapping(value = "caveUpRedPacket")
|
||||
public BaseResponseVO caveUpRedPacket(@RequestParam("secretaryUid") Long secretaryUid){
|
||||
activityFortuneService.caveUpRedPacket(secretaryUid);
|
||||
return new BaseResponseVO(BusinessStatusCodeEnum.SUCCESS);
|
||||
}
|
||||
|
||||
// 许愿集福气自动分配红包 (分多少份,每份多少金额) 备用接口
|
||||
@PostMapping(value = "caveUpGold")
|
||||
public BaseResponseVO caveUpGold(@RequestParam("secretaryUid") Long secretaryUid){
|
||||
activityFortuneService.caveUpGold(secretaryUid);
|
||||
return new BaseResponseVO(BusinessStatusCodeEnum.SUCCESS);
|
||||
}
|
||||
|
||||
// 21年度庆典固化榜单备用接口
|
||||
@PostMapping("fixationRankType")
|
||||
public BusiResult testFixationRankType(Byte rankType){
|
||||
actYearCeremonyService.backUpixationRankType(rankType);
|
||||
return new BusiResult(BusiStatus.SUCCESS);
|
||||
}
|
||||
|
||||
@PostMapping("/loveRankAward")
|
||||
public BusiResult sednActLoveRankAward(@RequestParam("secretaryUid") Long secretaryUid){
|
||||
if(! checkSendAwardRole(secretaryUid)){
|
||||
return new BusiResult(BusiStatus.NOAUTHORITY);
|
||||
}
|
||||
activityLoveRankService.sednActLoveRankAward();
|
||||
return new BusiResult(BusiStatus.SUCCESS);
|
||||
}
|
||||
|
||||
@PostMapping("/oneYearAward")
|
||||
public BusiResult sednActOneYearAward(@RequestParam("secretaryUid") Long secretaryUid){
|
||||
if(! checkSendAwardRole(secretaryUid)){
|
||||
return new BusiResult(BusiStatus.NOAUTHORITY);
|
||||
}
|
||||
log.info("ActivityTask.sednActOneYearAward 开始发放 一周年奖励");
|
||||
activityOneYearService.sednActOneYearAward();
|
||||
log.info("ActivityTask.sednActOneYearAward 一周年奖励发放结束");
|
||||
activityOneYearSweetCakeService.sendCompoundCakeAward();
|
||||
return new BusiResult(BusiStatus.SUCCESS);
|
||||
}
|
||||
|
||||
// 2022魔法学院发奖
|
||||
@PostMapping("testMagicSchoolRank")
|
||||
public BusiResult testMagicSchoolRank(){
|
||||
actMagicSchoolService.sendActRankAward();
|
||||
return new BusiResult(BusiStatus.SUCCESS);
|
||||
}
|
||||
|
||||
private Boolean checkSendAwardRole(Long secretaryUid){
|
||||
Long uid = Long.valueOf(SystemConfig.secretaryUid);
|
||||
if(secretaryUid.equals(uid)){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: ActLuckyBagRankAdminController
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/4/19
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.admin.controller.activity;
|
||||
|
||||
import com.accompany.business.service.activities.CpAct2022BizService;
|
||||
import com.accompany.core.vo.BaseResponseVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/4/19]
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(value = "/admin/cpAct2022")
|
||||
public class CpAct2022AdminController {
|
||||
|
||||
@Autowired
|
||||
private CpAct2022BizService cpAct2022BizService;
|
||||
|
||||
/**
|
||||
* 测试手动触发发放奖励
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/sendAwardForTest")
|
||||
public BaseResponseVO sendAwardForTest() {
|
||||
cpAct2022BizService.sendAward();
|
||||
return new BaseResponseVO();
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: ActLuckyBagRankAdminController
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/4/19
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.admin.controller.activity;
|
||||
|
||||
import com.accompany.business.service.activities.SummerAct2022BizService;
|
||||
import com.accompany.core.vo.BaseResponseVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/4/19]
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(value = "/admin/summerAct2022")
|
||||
public class SummerAct2022AdminController {
|
||||
|
||||
@Autowired
|
||||
private SummerAct2022BizService summerAct2022BizService;
|
||||
|
||||
/**
|
||||
* 测试手动触发发放奖励
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/sendAwardForTest")
|
||||
public BaseResponseVO sendAwardForTest() {
|
||||
summerAct2022BizService.sendAward();
|
||||
return new BaseResponseVO();
|
||||
}
|
||||
}
|
@@ -44,23 +44,16 @@ public class JmsConfig {
|
||||
|
||||
private int idleTimeout;
|
||||
|
||||
|
||||
|
||||
|
||||
public final static String MY_QUEUE = "spring-queue";
|
||||
public final static String GIFT_QUEUE = "gift-queue";
|
||||
|
||||
public final static String OPENBOX_QUEUE = "openbox-queue";
|
||||
|
||||
|
||||
|
||||
//用户退出清除已点歌曲的延迟队列
|
||||
public final static String CLEAN_MUSIC_QUEUE = "clean-music-queue";
|
||||
//活动礼包队列
|
||||
public final static String ACTIVITY_PACK_QUEUE = "activity-pack-queue";
|
||||
|
||||
public final static String GIFT_TOPIC = "erban-gift-topic";
|
||||
|
||||
public final static String PAY_FINISH_QUEUE = "pay-finish-queue";
|
||||
|
||||
public final static String AD_PLATFORM_USER_LOGIN_MSG_QUEUE = "ad_platform_user_login_msg_queue";
|
||||
@@ -128,18 +121,6 @@ public class JmsConfig {
|
||||
return pooledConnectionFactory;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 定义一个主题
|
||||
* @return
|
||||
*/
|
||||
@Bean
|
||||
public Topic giftTopic() {
|
||||
return new ActiveMQTopic(GIFT_TOPIC);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 配置队列生产者的JmsTemplate
|
||||
* @param activeMQConnectionFactory
|
||||
@@ -163,17 +144,6 @@ public class JmsConfig {
|
||||
return template;
|
||||
}
|
||||
|
||||
@Bean("giftTopicJmsTemplate")
|
||||
public JmsTemplate giftTopicJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
JmsTemplate template = new JmsTemplate(activeMQConnectionFactory);
|
||||
template.setExplicitQosEnabled(true);
|
||||
template.setDeliveryMode(DeliveryMode.PERSISTENT);
|
||||
template.setDefaultDestination(giftTopic());
|
||||
template.setSessionTransacted(true);
|
||||
return template;
|
||||
}
|
||||
|
||||
|
||||
@Bean("openBoxJmsTemplate")
|
||||
public JmsTemplate openBoxJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
JmsTemplate template = new JmsTemplate(activeMQConnectionFactory);
|
||||
@@ -272,38 +242,6 @@ public class JmsConfig {
|
||||
return factory;
|
||||
}
|
||||
|
||||
@Bean("jmsContainer4")
|
||||
public DefaultJmsListenerContainerFactory jmsContainer4() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
= new DefaultJmsListenerContainerFactory();
|
||||
factory.setConnectionFactory(connectionFactory());
|
||||
factory.setSessionTransacted(true);
|
||||
factory.setSessionAcknowledgeMode(4);
|
||||
factory.setSubscriptionDurable(false);
|
||||
factory.setPubSubDomain(true);
|
||||
factory.setConcurrency("4-8");
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
@Bean("newyearJmsContainer")
|
||||
public DefaultJmsListenerContainerFactory newyearJmsContainer() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
= new DefaultJmsListenerContainerFactory();
|
||||
factory.setConnectionFactory(connectionFactory());
|
||||
factory.setSessionTransacted(true);
|
||||
factory.setSessionAcknowledgeMode(4);
|
||||
factory.setSubscriptionDurable(false);
|
||||
factory.setPubSubDomain(true);
|
||||
factory.setConcurrency("4-8");
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@Bean("cleanMusicContainer")
|
||||
public DefaultJmsListenerContainerFactory cleanMusicContainer() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
@@ -392,32 +330,6 @@ public class JmsConfig {
|
||||
return factory;
|
||||
}
|
||||
|
||||
public final static String WISHSTARCUP_QUEUE = "wishstarcup-queue";
|
||||
|
||||
|
||||
@Bean
|
||||
public Queue wishStarCupQueue() {
|
||||
return new ActiveMQQueue(WISHSTARCUP_QUEUE);
|
||||
}
|
||||
|
||||
@Bean("wishStarCupJmsTemplate")
|
||||
public JmsTemplate wishStarCupJmsTemplate(@Qualifier("myConnectionFactory")ConnectionFactory activeMQConnectionFactory) {
|
||||
JmsTemplate template = new JmsTemplate(activeMQConnectionFactory);
|
||||
template.setDefaultDestination(wishStarCupQueue());
|
||||
return template;
|
||||
}
|
||||
|
||||
@Bean("wishStarCupContainer")
|
||||
public DefaultJmsListenerContainerFactory wishStarCupContainer() {
|
||||
DefaultJmsListenerContainerFactory factory
|
||||
= new DefaultJmsListenerContainerFactory();
|
||||
factory.setConnectionFactory(connectionFactory());
|
||||
factory.setSessionTransacted(true);
|
||||
factory.setSessionAcknowledgeMode(4);
|
||||
factory.setConcurrency("4-8");
|
||||
return factory;
|
||||
}
|
||||
|
||||
|
||||
public String getBrokerUrl() {
|
||||
return brokerUrl;
|
||||
|
@@ -7,29 +7,6 @@ public class ActivityConf {
|
||||
public static final String ACT_GIFT_LIST = "act_gift_list";
|
||||
public static final String ACT_GOLD_RATE = "act_gold_rate";
|
||||
|
||||
/**
|
||||
* 淘汰赛
|
||||
*/
|
||||
public static final String TT_RANK_TYPE = "tt_rank_type"; // 排行榜类型
|
||||
public static final String TT_RANK_COUNT = "tt_rank_count"; // 排行榜人数
|
||||
public static final String TT_RANK_START = "tt_rank_start"; // 开始时间
|
||||
public static final String TT_RANK_END = "tt_rank_end"; // 结束时间
|
||||
|
||||
/**
|
||||
* 半决赛
|
||||
*/
|
||||
public static final String BJ_RANK_TYPE = "bj_rank_type"; // 排行榜类型
|
||||
public static final String BJ_RANK_COUNT = "bj_rank_count";
|
||||
public static final String BJ_RANK_START = "bj_rank_start";
|
||||
public static final String BJ_RANK_END = "bj_rank_end";
|
||||
|
||||
/**
|
||||
* 总决赛
|
||||
*/
|
||||
public static final String ZJ_RANK_TYPE = "zj_rank_type"; // 排行榜类型
|
||||
public static final String ZJ_RANK_COUNT = "zj_rank_count";
|
||||
public static final String ZJ_RANK_START = "zj_rank_start";
|
||||
public static final String ZJ_RANK_END = "zj_rank_end";
|
||||
|
||||
/**
|
||||
* 2018情人节活动
|
||||
@@ -49,10 +26,6 @@ public class ActivityConf {
|
||||
public static final String SP_GIFT_GIFTID = "giftId";
|
||||
public static final String SP_GIFT_SCORE = "score";
|
||||
|
||||
public static final int TYPE_TTS = 1; // 淘汰赛
|
||||
public static final int TYPE_BJS = 2; // 半决赛
|
||||
public static final int TYPE_ZJS = 3; // 总决赛
|
||||
|
||||
public static final int RANK_RICH = 1; // 土豪榜
|
||||
public static final int RANK_STAR = 2; // 明星榜
|
||||
public static final int RANK_ROOM = 3; // 房间榜
|
||||
@@ -81,13 +54,6 @@ public class ActivityConf {
|
||||
public static final String CUR_ACT_GIFT_GIFTID = "giftId";
|
||||
public static final String CUR_ACT_GIFT_SCORE = "score";
|
||||
|
||||
/**
|
||||
* vkiss暗号领取奖励活动
|
||||
*/
|
||||
public static final String VKISS_PRIZE_START = "vkiss_prize_start";
|
||||
public static final String VKISS_PRIZE_END = "vkiss_prize_end";
|
||||
public static final String VKISS_PRIZE_SINGLE_GIFTS = "vkiss_prize_single_gifts";
|
||||
public static final String VKISS_PRIZE_CP_GIFTS = "vkiss_prize_cp_gifts";
|
||||
|
||||
public static class ActivityPackType {
|
||||
public static final byte common = 1; //普通礼包
|
||||
@@ -104,15 +70,6 @@ public class ActivityConf {
|
||||
public static final byte official = 2; //官方赠送
|
||||
}
|
||||
|
||||
/**
|
||||
* 圣诞树活动
|
||||
*/
|
||||
public static final String CHRISTMAS_TREE_START = "christmas_tree_start";
|
||||
public static final String CHRISTMAS_TREE_END = "christmas_tree_end";
|
||||
public static final String CHRISTMAS_TREE_RECEIVE_END = "christmas_tree_receive_end";
|
||||
public static final String CHRISTMAS_TREE_REWARD_GIFT = "christmas_tree_reward_gift";
|
||||
public static final String CHRISTMAS_TREE_GIFT_RULE = "christmas_tree_gift_rule";
|
||||
|
||||
/**
|
||||
* 年终盛典榜单
|
||||
*/
|
||||
@@ -133,44 +90,6 @@ public class ActivityConf {
|
||||
public static final byte ONLINE_SENSATION = 2; //网红
|
||||
}
|
||||
|
||||
/**
|
||||
* 活动类型
|
||||
*/
|
||||
public static class ActType {
|
||||
public static Byte KTV_EXPORSURE = 1;// ktv预热
|
||||
public static Byte WANGHONG = 2;// 网红预热
|
||||
public static Byte HALLOWMAS = 3;// 万圣节分享礼物活动
|
||||
public static Byte CHRISTMAS = 4; // 圣诞节活动
|
||||
public static Byte SPRING_FESTIVAL = 5; // 春节活动
|
||||
public static Byte VALENTINE = 6; // 情人节活动
|
||||
public static Byte WOMENDAY = 7; // 少女节
|
||||
public static Byte PLANTINGTREES = 8; // 植树节
|
||||
public static Byte MIDYEAR = 9; // 年中活动
|
||||
}
|
||||
|
||||
/**
|
||||
* 榜单类型
|
||||
*/
|
||||
public static class RankType {
|
||||
public static final Byte RANK_RICH = 1; // 土豪榜
|
||||
public static final Byte RANK_CHARM = 2; // 明星榜
|
||||
public static final Byte RANK_ROOM = 3; // 房间榜
|
||||
public static final Byte RANK_CHARM_MALE = 4; // 男神榜
|
||||
public static final Byte RANK_CHARM_FEMALE = 5; // 女神榜
|
||||
}
|
||||
|
||||
/**
|
||||
* 春节活动配置,开始时间,结束时间
|
||||
*/
|
||||
public static final String SPRING_FESTIVAL_START = "spring_festival_start";
|
||||
public static final String SPRING_FESTIVAL_END = "spring_festival_end";
|
||||
|
||||
|
||||
/**
|
||||
* 情人节配置
|
||||
*/
|
||||
// public static final String VALENTINE_START = "valentine_start";
|
||||
// public static final String VALENTINE_END = "valentine_end";
|
||||
|
||||
/**
|
||||
* 活动进行状态
|
||||
@@ -195,27 +114,6 @@ public class ActivityConf {
|
||||
//作品投票结束时间
|
||||
public static final String ACT_LIKE_END_TIME = "act_like_end_time";
|
||||
|
||||
/**
|
||||
* 少女节配置
|
||||
*/
|
||||
public static final String WOMENDAY_START = "womenday_start";
|
||||
public static final String WOMENDAY_END = "womenday_end";
|
||||
public static final String WOMENDAY_SINGLE_GIFT = "womenday_single_gift";
|
||||
public static final String WOMENDAY_SPECIAL_GIFT_RULE = "womenday_special_gift_rule";
|
||||
|
||||
public static final String PLANTINGTREES_START = "plantingtrees_start";
|
||||
public static final String PLANTINGTREES_END = "plantingtrees_end";
|
||||
public static final String PLANTINGTREES_RULES_1 = "plantingtrees_first_rule";
|
||||
public static final String PLANTINGTREES_RULES_2 = "plantingtrees_second_rule";
|
||||
public static final String PLANTINGTREES_RULES_3 = "plantingtrees_third_rule";
|
||||
public static final String PLANTINGTREES_RULES_4 = "plantingtrees_fourth_rule";
|
||||
|
||||
public static class PlantingTreesId {
|
||||
public static final Byte RULES1 = 1;
|
||||
public static final Byte RULES2 = 2;
|
||||
public static final Byte RULES3 = 3;
|
||||
public static final Byte RULES4 = 4;
|
||||
}
|
||||
|
||||
/**
|
||||
* 活动奖励领取状态
|
||||
@@ -227,15 +125,6 @@ public class ActivityConf {
|
||||
|
||||
}
|
||||
|
||||
public static class ActAwardType {
|
||||
public static final Byte gold = 1;
|
||||
public static final Byte gift = 2;
|
||||
public static final Byte car = 3;
|
||||
public static final Byte headwear = 4;
|
||||
public static final Byte key = 10;
|
||||
public static final Byte noble = 11;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 萝卜促销活动活动
|
||||
@@ -244,73 +133,6 @@ public class ActivityConf {
|
||||
public static final String RADISH_DRAW_END = "radish_draw_end"; //活动结束时间
|
||||
public static final String RADISH_DRAW_LIMIT_TOTAL = "radish_draw_limit_total"; // 每日萝卜支出预算值
|
||||
|
||||
/**
|
||||
* 永恒之心购买活动
|
||||
*/
|
||||
public static final String ETERNAL_HEART_BUY_START = "eternal_heart_buy_start";
|
||||
public static final String ETERNAL_HEART_BUY_END = "eternal_heart_buy_end";
|
||||
public static final String ETERNAL_HEART_GIVE_GIFT = "eternal_heart_give_gift";
|
||||
public static final String ETERNAL_HEART_BUY_GIFT = "eternal_heart_buy_gift";
|
||||
|
||||
/**
|
||||
* 寻恋之旅活动配置
|
||||
*/
|
||||
public static class LoverActivityConf {
|
||||
public static final String LOVER_ACTIVITY_START = "lover_activity_start";
|
||||
public static final String LOVER_ACTIVITY_END = "lover_activity_end";
|
||||
//赠送头饰礼物配置
|
||||
public static final String LOVER_ACTIVITY_GIFTID = "lover_activity_giftID";
|
||||
public static final String LOVER_ACTIVITY_MENGDONGID = "lover_activity_mengdongID";
|
||||
public static final String LOVER_ACTIVITY_QDCKID = "lover_activity_qdckID";
|
||||
public static final String LOVER_ACTIVITY_XXXYID = "lover_activity_xxxyID";
|
||||
public static final String LOVER_ACTIVITY_ZSBYID = "lover_activity_zsbyID";
|
||||
|
||||
//收发礼物配置
|
||||
public static final String LOVER_ACTIVITY_ROSE = "lover_activity_rose";
|
||||
public static final String LOVER_ACTIVITY_XIONGZHANG = "lover_activity_xiongzhang";
|
||||
public static final String LOVER_ACTIVITY_BOBONI = "lover_activity_boboni";
|
||||
public static final String LOVER_ACTIVITY_BIXIN = "lover_activity_bixin";
|
||||
public static final String LOVER_ACTIVITY_ETERNALHEART = "lover_activity_eternalHeart";
|
||||
}
|
||||
|
||||
/**
|
||||
* 夏日大作战活动
|
||||
*/
|
||||
public class MidYearActivityConfig {
|
||||
/**
|
||||
* 任务达人
|
||||
*/
|
||||
public static final String MID_YEAR_TASK_START = "mid_year_task_start";
|
||||
public static final String MID_YEAR_TASK_END = "mid_year_task_end";
|
||||
public static final String MID_YEAR_TASK_DRAW_SHOW_NUM = "mid_year_task_draw_show_num"; //任务奖品显示数量
|
||||
public static final String MID_YEAR_TASK_DRAW = "mid_year_task_draw"; // 任务奖励
|
||||
public static final String MID_YEAR_TASK_DRAW_DAY = "mid_year_task_draw_day"; //奖励的限定天数
|
||||
public static final String MID_YEAR_TASK_DRAW_MSG = "mid_year_task_draw_msg"; //奖励发放小秘书提示
|
||||
|
||||
/**
|
||||
* 嗨玩联盟
|
||||
*/
|
||||
public static final String MID_YEAR_PLAY_ALLIANCE_START = "mid_year_play_alliance_start";
|
||||
public static final String MID_YEAR_PLAY_ALLIANCE_END = "mid_year_play_alliance_end";
|
||||
|
||||
/**
|
||||
* 闪耀主播
|
||||
*/
|
||||
public static final String MID_YEAR_SHINING_ANCHOR_START = "mid_year_shining_anchor_start";
|
||||
public static final String MID_YEAR_SHINING_ANCHOR_END = "mid_year_shining_anchor_end";
|
||||
|
||||
/**
|
||||
* 喂粮cp档
|
||||
*/
|
||||
public static final String MID_YEAR_FEEDING_CP_START = "mid_year_feeding_cp_start";
|
||||
public static final String MID_YEAR_FEEDING_CP_END = "mid_year_feeding_cp_end";
|
||||
|
||||
/**
|
||||
* 吸粉狂人
|
||||
*/
|
||||
public static final String MID_YEAR_FANS_START = "mid_year_fans_start";
|
||||
public static final String MID_YEAR_FANS_END = "mid_year_fans_end";
|
||||
}
|
||||
|
||||
/**
|
||||
* 声音瓶子活动
|
||||
@@ -336,16 +158,6 @@ public class ActivityConf {
|
||||
public static final int COUPLE = 10;
|
||||
}
|
||||
|
||||
public class MidAutumnActConfig{
|
||||
public static final String MID_AUTUMN_FESTIVAL_START = "mid_autumn_festival_start";
|
||||
public static final String MID_AUTUMN_FESTIVAL_END = "mid_autumn_festival_end";
|
||||
public static final String MID_AUTUMN_GOLD_NUM = "mid_autumn_gold_num";
|
||||
public static final String MID_AUTUMN_SHARE_URL = "mid_autumn_share_url";
|
||||
public static final String MID_AUTUMN_TASK_CAKE_NUM = "mid_autumn_task_cake_num";
|
||||
public static final String MID_AUTUMN_TASK_DRAW_DAYS = "mid_autumn_task_draw_days";
|
||||
public static final String MID_AUTUMN_TASK_DRAW = "mid_autumn_task_draw";
|
||||
}
|
||||
|
||||
public class RegisterActConfig{
|
||||
public static final String REGISTER_START = "register_start";
|
||||
public static final String REGISTER_END = "register_end";
|
||||
@@ -353,16 +165,6 @@ public class ActivityConf {
|
||||
public static final String REGISTER_RECEIVE_USER_LIMIT = "register_receive_user_limit";
|
||||
}
|
||||
|
||||
public class NationalDayActivity{
|
||||
public static final String NATIONAL_DAY_START = "national_day_start";
|
||||
public static final String NATIONAL_DAY_END = "national_day_end";
|
||||
public static final String NATIONAL_DAY_TASK_PROGRESS = "national_day_task_progress";
|
||||
public static final String NATIONAL_DAY_FIREWORKS_GOLD = "national_day_fireworks_gold";
|
||||
public static final String NATIONAL_DAY_PRIZE_ID = "national_day_prize_id";
|
||||
public static final String NATIONAL_DAY_SHARE_URL = "national_day_share_url";
|
||||
public static final String NATIONAL_DAY_FIREWORK_LIMIT = "national_day_firework_limit";
|
||||
public static final String NATIONAL_DAY_FIREWORK_GIFT_LIMIT = "national_day_firework_gift_limit";
|
||||
}
|
||||
|
||||
public class DoubleElevenActivity{
|
||||
public static final String DOUBLE_ELEVEN_START = "double_eleven_start";
|
||||
@@ -372,48 +174,4 @@ public class ActivityConf {
|
||||
public static final String DOUBLE_ELEVEN_PRICE_DISCOUNT = "double_eleven_price_discount";
|
||||
}
|
||||
|
||||
public class AnnualActtivity{
|
||||
public static final String ANNUAL_CEREMONY_START = "annual_ceremony_start";
|
||||
public static final String ANNUAL_CEREMONY_END = "annual_ceremony_end";
|
||||
public static final String ANNUAL_CEREMONY_MALE_GIFT_IDS = "annual_ceremony_male_gift_ids";
|
||||
public static final String ANNUAL_CEREMONY_FEMALE_GIFT_IDS = "annual_ceremony_female_gift_ids";
|
||||
public static final String ANNUAL_CEREMONY_SPECIAL_GIFT = "annual_ceremony_special_gift";
|
||||
public static final String ANNUAL_CEREMONY_SPECIAL_GIFT_VALUE = "annual_ceremony_special_gift_value";
|
||||
public static final String ANNUAL_CEREMONY_SPECIAL_GIFT_GOLD = "annual_ceremony_special_gift_gold";
|
||||
public static final String ANNUAL_CEREMONY_SPECIAL_GIFT_NUM = "annual_ceremony_special_gift_num";
|
||||
public static final String ANNUAL_CEREMONY_APPOINT_ROOMID = "annual_ceremony_appoint_roomId";
|
||||
|
||||
public static final String ANNUAL_CEREMONY_TASK_START = "annual_ceremony_task_start";
|
||||
public static final String ANNUAL_CEREMONY_TASK_END = "annual_ceremony_task_end";
|
||||
public static final String ANNUAL_CEREMONY_TASK_PRIZE_ID = "annual_ceremony_task_prize_id";
|
||||
public static final String ANNUAL_CEREMONY_TASK_PRIZE_DAY = "annual_ceremony_task_prize_day";
|
||||
public static final String ANNUAL_CEREMONY_TASK_GOLD_GIFT_ID = "annual_ceremony_task_gold_gift_id";
|
||||
public static final String ANNUAL_CEREMONY_TASK_RADISH_GIFT_ID = "annual_ceremony_task_radish_gift_id";
|
||||
}
|
||||
|
||||
public class NewYearActivities {
|
||||
public static final String NEW_YEAR_ACTIVITIES_START = "new_year_activities_start";
|
||||
public static final String NEW_YEAR_ACTIVITIES_END = "new_year_activities_end";
|
||||
public static final String NEW_YEAR_ACTIVITIES_PACK_ID = "new_year_activities_pack_id";
|
||||
public static final String NEW_YEAR_ACTIVITIES_NOBLE_ID = "new_year_activities_noble_id";
|
||||
public static final String NEW_YEAR_ACTIVITIES_NOBLE_PRICE = "new_year_activities_noble_price";
|
||||
|
||||
}
|
||||
public class ValentineDayActivity {
|
||||
public static final String VALENTINE_START = "valentine_start";
|
||||
public static final String VALENTINE_END = "valentine_end";
|
||||
public static final String VALENTINE_SINGLE_GIFT = "valentine_single_gift";
|
||||
public static final String VALENTINE_SPECIAL_GIFT_RULE = "valentine_special_gift_rule";
|
||||
}
|
||||
|
||||
public class CoupleActivity{
|
||||
public static final String COUPLE_START = "couple_start";
|
||||
public static final String COUPLE_END = "couple_end";
|
||||
public static final String COUPLE_MATCH_END = "couple_match_end";
|
||||
public static final String COUPLE_MATCH_AGE_LIMIT = "couple_match_age_limit";
|
||||
public static final String COUPLE_MATCH_LEVEL_LIMIT = "couple_match_level_limit";
|
||||
public static final String COUPLE_MATCH_SPECIAL_GIFT = "couple_match_special_gift";
|
||||
public static final String COUPLE_PRIZE_ID = "couple_prize_id";
|
||||
public static final String COUPLE_PRIZE_DAY= "couple_prize_day";
|
||||
}
|
||||
}
|
@@ -1239,12 +1239,7 @@ public class Constant {
|
||||
* 青少年模式配置
|
||||
*/
|
||||
public static final String USER_TEEN = "UserTeen";
|
||||
/**
|
||||
* 支付宝原生实体切换策略
|
||||
*/
|
||||
public static final String ALIPAY_NATIVE_AGENT_CHANGE_STRATEGY = "alipay_native_agent_change_strategy";
|
||||
/** 试音卡活动配置 **/
|
||||
public static final String ACTIVITY_AUDIO_CARD_CONFIG = "activity_audio_card_config";
|
||||
|
||||
/**
|
||||
* 比赛管理系统配置
|
||||
*/
|
||||
@@ -1275,15 +1270,7 @@ public class Constant {
|
||||
* 申请铭牌配置
|
||||
*/
|
||||
public static final String APPLY_NAME_PLATE = "apply_name_plate";
|
||||
/**
|
||||
* 六六周年庆活动
|
||||
*/
|
||||
public static final String ACTIVITY_ANNIVERSARY = "activity_anniversary";
|
||||
|
||||
/**
|
||||
* 六六周年庆抽奖配置
|
||||
*/
|
||||
public static final String ACTIVITY_ANNIVERSARY_LOTTERY = "activity_anniversary_lottery";
|
||||
|
||||
/**
|
||||
* 实名未成年人充值开关
|
||||
@@ -1405,24 +1392,6 @@ public class Constant {
|
||||
* 飘屏通知房间最大字数
|
||||
*/
|
||||
public static final String CROSS_ROOM_PK_NOTIFY_TITLE_MAX_NUM = "cross_room_pk_notify_title_max_num";
|
||||
|
||||
/** 年度庆典土豪榜单配置 **/
|
||||
public static final String ACT_YEAR_CEREMONY_TYCOON = "act_year_ceremony_tycoon";
|
||||
/** 年度庆典达人配置 **/
|
||||
public static final String ACT_YEAR_CEREMONY_EXPER = "act_year_ceremony_exper";
|
||||
|
||||
/** 年度庆典房间配置 **/
|
||||
public static final String ACT_YEAR_CEREMONY_ROOM = "act_year_ceremony_room";
|
||||
|
||||
/**
|
||||
* 许愿星杯魔法棒相关配置
|
||||
*/
|
||||
public static final String WISH_STAR_CUP_KEY_CONFIG = "wish_star_cup_key_config";
|
||||
|
||||
/**
|
||||
* 许愿星杯奖池配置
|
||||
*/
|
||||
public static final String WISH_STAR_CUP_PRIZE_POOL_CONFIG = "wish_star_cup_prize_pool_config";
|
||||
/**
|
||||
* 房间榜单显隐配置
|
||||
*/
|
||||
@@ -1645,12 +1614,6 @@ public class Constant {
|
||||
*/
|
||||
public static final String CROSS_ROOM_SINGLE_ROOM_PK_RULE = "cross_room_single_room_pk_rule";
|
||||
|
||||
/** 个播PK **/
|
||||
/**
|
||||
* 2022福袋榜单活动
|
||||
*/
|
||||
public static final String LUCKY_BAG_RANK_CONFIG = "lucky_bag_rank_config";
|
||||
|
||||
/**
|
||||
* 房内引流推荐麦位人数配置
|
||||
*/
|
||||
@@ -1684,10 +1647,6 @@ public class Constant {
|
||||
*/
|
||||
public static final String IOS_PAY_REFUND_CONFIG = "ios_pay_refund_config";
|
||||
|
||||
/** 平台一周年 START **/
|
||||
public static final String ACT_ONE_YEAR_CP_RANK_CONFIG = "act_one_year_cp_rank_config"; // CP榜单配置
|
||||
public static final String ACT_ONE_YEAR_SWEET_CAKE_DRAW_CONFIG = "act_one_year_sweet_cake_draw_config"; // 甜蜜蛋糕屋抽奖配置
|
||||
/** 平台一周年 END **/
|
||||
/**
|
||||
* 每天开魔盒盈利/亏损阈值
|
||||
*/
|
||||
@@ -1698,16 +1657,6 @@ public class Constant {
|
||||
*/
|
||||
public static final String SINGLE_ROOM_RANK_AWARD = "single_room_rank_award";
|
||||
|
||||
/**
|
||||
* 2022夏日活动配置
|
||||
*/
|
||||
public static final String SUMMER_ACT_2022 = "summer_act_2022";
|
||||
|
||||
/**
|
||||
* 2022七夕活动配置
|
||||
*/
|
||||
public static final String CP_ACT_2022 = "cp_act_2022";
|
||||
|
||||
|
||||
/**
|
||||
* 新用户快捷进房配置
|
||||
@@ -1725,11 +1674,6 @@ public class Constant {
|
||||
*/
|
||||
public static final String GIFT_COMPOUND_LIMIT_CONFIG = "gift_compound_limit_config";
|
||||
|
||||
/**
|
||||
* 2022糖果集市活动配置
|
||||
*/
|
||||
public static final String CANDY_ACT = "candy_act";
|
||||
|
||||
/**
|
||||
* 线性奖池配置
|
||||
*/
|
||||
@@ -1740,19 +1684,6 @@ public class Constant {
|
||||
*/
|
||||
public static final String USER_FOLLOW_LIMIT = "user_follow_limit";
|
||||
|
||||
/**
|
||||
* 2022 中秋活动配置
|
||||
*/
|
||||
public static final String ACT_MID_AUTUMN = "act_mid_autumn";
|
||||
|
||||
/**
|
||||
* 2022 幸运星球活动
|
||||
*/
|
||||
public static final String ACT_LUCKY_PLANET_2022 = "act_lucky_planet_2022";
|
||||
|
||||
/** 魔法学院奖励配置 */
|
||||
public static final String ACT_MAGIC_SCHOOL_AWARD_CONFIG = "act_magic_school_award_config";
|
||||
|
||||
public static final String GOOGLE_PAY_LIMIT_CONFIG = "google_pay_limit_config";
|
||||
|
||||
/**
|
||||
|
@@ -119,7 +119,6 @@ public enum RedisKey {
|
||||
block_ip, //被封禁ip
|
||||
block_account,//被封禁账户
|
||||
block_deivce,//被封禁设备
|
||||
acc_latest_login,//最后登录的uid
|
||||
noble_zip,
|
||||
noble_users,
|
||||
noble_right,
|
||||
@@ -136,17 +135,6 @@ public enum RedisKey {
|
||||
auti_banner, //审核中的Banner
|
||||
auti_user, //审核中的测试账号
|
||||
feedback_activity,
|
||||
valentine_day_activity, // 情人节活动
|
||||
valentine_day_activity_top, //情人节活动榜首
|
||||
valentine_day_send_gift_lock, //情人节期间发送礼物的分布式锁
|
||||
valentine_day_receive_draw_lock, //情人节期间领取奖励的分布式锁
|
||||
valentine_day_ranking_list, //情人节期间接收礼物排行榜
|
||||
valentine_day_receive_gift_stat, //情人节接收礼物统计
|
||||
valentine_day_user_status, //情人节用户状态
|
||||
valentine_day_recive_rankings, //情人节用户收礼物排行榜
|
||||
new_year_activity, // 2018新年活动
|
||||
new_year_activity_defender, // 2018新年活动守护者
|
||||
new_year_activity_predator, // 2018新年活动掠夺者
|
||||
|
||||
car_goods, // 座驾
|
||||
user_carport, //用户座驾
|
||||
@@ -493,15 +481,6 @@ public enum RedisKey {
|
||||
act_online_sensation_lock,//网红点赞锁
|
||||
act_online_sensation_like_count,//网红点赞锁
|
||||
lock_payment_callback, // 支付回调非堵塞锁
|
||||
// 夏日活动
|
||||
summer_activity_send_lock, // 送出礼物锁
|
||||
summer_activity_recv_lock, // 收到礼物锁
|
||||
summer_activity_send_count, // 送出奖励天数
|
||||
summer_activity_recv_count, // 收到奖励天数
|
||||
summer_activity_send_rank, // 送出礼物排行
|
||||
summer_activity_recv_rank, // 收到礼物排行
|
||||
// 中秋国庆活动
|
||||
moon_activity_key,
|
||||
|
||||
h5loginjwtoken, // h5登录token
|
||||
h5_sms_code_ip_limit, // h5绑定支付宝验证码ip限制
|
||||
@@ -822,12 +801,6 @@ public enum RedisKey {
|
||||
super_clean_limit_wait,
|
||||
/**超管关闭房间**/
|
||||
super_close_room_wait,
|
||||
mid_autumn_add_cake_login_limit, // 登录页面限制
|
||||
mid_autumn_add_cake_share_limit, //分享限制
|
||||
mid_autumn_add_cake_gift_limit, // 送礼物限制
|
||||
mid_autumn_cake_num, //累计月饼数量
|
||||
mid_autumn_gift_gold_num, // 送礼物累计金币数
|
||||
mid_autumn_gift_gold_num_tip, // 送礼物累计月饼标识
|
||||
lock_mid_autumn_receive_draw, // 领取奖励分布式锁
|
||||
mid_autumn_draw_task_status, // 奖励领取状态
|
||||
lock_mid_autumn_add_cake_gift, //送礼物分布式锁
|
||||
@@ -935,14 +908,6 @@ public enum RedisKey {
|
||||
admin_send_gift_gold_num, //后台赠送礼物金币数额
|
||||
admin_send_gift_gold_sms_multiple, //后台赠送礼物预警金额倍数
|
||||
|
||||
women_day_receive_gift_lock, //女神节期间发送礼物的分布式锁
|
||||
women_day_draw_lock, //女神节期间领取奖励的分布式锁
|
||||
women_day_receive_gift_stat, //女神节接收礼物统计
|
||||
women_day_user_status, //女神节用户状态
|
||||
women_day_blessings, //女神节祝福语
|
||||
women_day_blessings_lock, //女神节祝福语的分布式锁
|
||||
women_day_buy_prize_lock, //女神节购买礼物的分布式锁
|
||||
women_day_bought_prize_uid, //女神节购买过礼物的记录
|
||||
gift_achievement_list, //礼物成就列表
|
||||
gift_achievement_list_lock, //礼物成就列表的分布式锁
|
||||
|
||||
@@ -1623,10 +1588,6 @@ public enum RedisKey {
|
||||
|
||||
clear_room_history_record, // 清理房间公屏消息时间缓存
|
||||
|
||||
activity_love_send_gift_rank, // 2022 520活动送礼榜单
|
||||
activity_love_receive_gift_rank, // 2022 520活动收礼榜单
|
||||
activity_love_rank_award, // 2022 520活动奖励缓存
|
||||
activity_love_rank_award_lock, // 2022 520活动奖励锁
|
||||
/** IAP **/
|
||||
ios_pay_refund_amount_daily, // 内购单日退款总额
|
||||
ios_pay_single_user_amount_daily, // 内购当天单用户充值总额
|
||||
|
@@ -10,31 +10,12 @@ import java.util.List;
|
||||
|
||||
public final class AppUtils {
|
||||
|
||||
public static boolean isYinyouApp(DeviceInfo deviceInfo) {
|
||||
if (deviceInfo == null || StringUtils.isBlank(deviceInfo.getApp())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (deviceInfo.getApp().equalsIgnoreCase(AppEnum.yinyou.getValue())
|
||||
|| deviceInfo.getApp().equalsIgnoreCase(AppEnum.yinyouEnterprise.getValue())) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static List<String> getGroupApps(String app) {
|
||||
if (StringUtils.isBlank(app)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
List<String> groupApps = new ArrayList<>();
|
||||
if (app.equalsIgnoreCase(AppEnum.PlanetStar.getValue()) || app.equalsIgnoreCase(AppEnum.PlanetStar66.getValue())) {
|
||||
groupApps.add(AppEnum.PlanetStar.getValue());
|
||||
groupApps.add(AppEnum.PlanetStar66.getValue());
|
||||
} else if (app.equalsIgnoreCase(AppEnum.yinyou.getValue()) || app.equalsIgnoreCase(AppEnum.yinyouEnterprise.getValue())) {
|
||||
groupApps.add(AppEnum.yinyou.getValue());
|
||||
groupApps.add(AppEnum.yinyouEnterprise.getValue());
|
||||
} else if(app.equalsIgnoreCase(AppEnum.peko.getValue()) || app.equalsIgnoreCase(AppEnum.pekoEnterprise.getValue()) ) {
|
||||
if(app.equalsIgnoreCase(AppEnum.peko.getValue()) || app.equalsIgnoreCase(AppEnum.pekoEnterprise.getValue()) ) {
|
||||
groupApps.add(AppEnum.peko.getValue());
|
||||
groupApps.add(AppEnum.pekoEnterprise.getValue());
|
||||
}
|
||||
|
@@ -1,26 +1,16 @@
|
||||
package com.accompany.core.service.account;
|
||||
|
||||
import com.accompany.core.model.AccountLoginRecord;
|
||||
import com.accompany.core.model.AccountLoginRecordExample;
|
||||
import com.accompany.core.model.AccountLoginRecord;
|
||||
import com.accompany.core.model.AccountLoginRecordExample;
|
||||
import com.accompany.core.mybatismapper.AccountLoginRecordMapper;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import com.google.gson.Gson;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.Assert;
|
||||
import org.springframework.util.StringUtils;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Created by fxw on 2017/12/28.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 增加登录记录
|
||||
*/
|
||||
@@ -29,10 +19,6 @@ public class LoginRecordService {
|
||||
|
||||
@Autowired
|
||||
AccountLoginRecordMapper accountLoginRecordMapper;
|
||||
@Autowired
|
||||
private JedisService jedisService;
|
||||
|
||||
private Gson gson = new Gson();
|
||||
|
||||
public int addAccountLoginRecord(AccountLoginRecord accountLoginRecord) {
|
||||
return accountLoginRecordMapper.insert(accountLoginRecord);
|
||||
@@ -43,27 +29,6 @@ public class LoginRecordService {
|
||||
accountLoginRecordMapper.insert(accountLoginRecord);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户最新的一次登录记录
|
||||
* @param uid
|
||||
* @return
|
||||
*/
|
||||
public AccountLoginRecord getLatestLoginRecord(Long uid){
|
||||
Assert.notNull(uid, "uid is null");
|
||||
|
||||
String login = jedisService.hget(RedisKey.acc_latest_login.getKey(), String.valueOf(uid));
|
||||
if(!StringUtils.isEmpty(login)){
|
||||
AccountLoginRecord accountLoginRecord = gson.fromJson(login, AccountLoginRecord.class);
|
||||
return accountLoginRecord;
|
||||
}else{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public AccountLoginRecord getLatestLoginRecordFromDB(Long uid) {
|
||||
return accountLoginRecordMapper.getLatestLoginRecordFromDB(uid);
|
||||
}
|
||||
|
||||
public int getLevelNum(Long uid){
|
||||
Assert.notNull(uid, "uid is null");
|
||||
int level = 0;
|
||||
@@ -87,16 +52,13 @@ public class LoginRecordService {
|
||||
AccountLoginRecordExample example = new AccountLoginRecordExample();
|
||||
example.createCriteria().andUidEqualTo(uid)
|
||||
.andCreateTimeBetween(DateTimeUtil.getBeginTimeOfDay(date), DateTimeUtil.getEndTimeOfDay(date));
|
||||
int count = accountLoginRecordMapper.countByExample(example);
|
||||
return count;
|
||||
return accountLoginRecordMapper.countByExample(example);
|
||||
}
|
||||
|
||||
public int countLoginRecordBetweenQueryTime(Long uid, Date startTime, Date endTime) {
|
||||
Date date = new Date();
|
||||
AccountLoginRecordExample example = new AccountLoginRecordExample();
|
||||
example.createCriteria().andUidEqualTo(uid)
|
||||
.andCreateTimeBetween(startTime, endTime);
|
||||
int count = accountLoginRecordMapper.countByExample(example);
|
||||
return count;
|
||||
return accountLoginRecordMapper.countByExample(example);
|
||||
}
|
||||
}
|
||||
|
@@ -1,25 +0,0 @@
|
||||
package com.accompany.core.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UserLoginMessageVo implements Serializable {
|
||||
|
||||
private Long uid;
|
||||
private Long messTime; // 消息创建时间
|
||||
|
||||
private String os;
|
||||
private String osVersion;
|
||||
private String app;
|
||||
private String ispType;
|
||||
private String netType;
|
||||
private String model;
|
||||
private String appVersion;
|
||||
private String imei;
|
||||
private String deviceId;
|
||||
private String channel;
|
||||
private String linkedmeChannel;
|
||||
private String lastLoginVersion;
|
||||
}
|
@@ -1,33 +0,0 @@
|
||||
package com.accompany.business;
|
||||
|
||||
import redis.clients.jedis.Jedis;
|
||||
|
||||
/**
|
||||
* Created by liuguofu on 2017/7/25.
|
||||
*/
|
||||
public class RedisTest {
|
||||
public static void business(String[] args) {
|
||||
try {
|
||||
// String host = "r-m5e12ed48316a234.redis.rds.aliyuncs.com";//控制台显示访问地址
|
||||
String host = "115.28.95.16";//控制台显示访问地址
|
||||
int port = 6379;
|
||||
Jedis jedis = new Jedis(host, port);
|
||||
//鉴权信息
|
||||
jedis.auth("erbanRediscav7248866");//password
|
||||
String key = "erban_auditing_iosversion";
|
||||
String value = "1.0.0";
|
||||
//select db默认为0
|
||||
// jedis.select(1);
|
||||
//set一个key
|
||||
jedis.set(key, value);
|
||||
System.out.println("Set Key " + key + " Value: " + value);
|
||||
//get 设置进去的key
|
||||
String getvalue = jedis.get(key);
|
||||
System.out.println("Get Key " + key + " ReturnValue: " + getvalue);
|
||||
jedis.quit();
|
||||
jedis.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,69 +0,0 @@
|
||||
package com.accompany.business.apppay.constant;
|
||||
|
||||
/**
|
||||
* 汇聚代付-明细状态码
|
||||
*
|
||||
* @author fangchengyan
|
||||
* @date 2019-12-27 3:29 下午
|
||||
*/
|
||||
public enum JoinpayTransferStatusEnum {
|
||||
|
||||
/** 订单已创建 */
|
||||
JOINPAY_TRANSFER_DETAIL_ORDER_CREATED("201", "订单已创建"),
|
||||
/** 待商户审核 */
|
||||
JOINPAY_TRANSFER_DETAIL_REVIEWING("202", "待商户审核"),
|
||||
/** 交易处理中 */
|
||||
JOINPAY_TRANSFER_DETAIL_PROCESSING("203", "交易处理中"),
|
||||
/** 交易失败 */
|
||||
JOINPAY_TRANSFER_DETAIL_FAIL("204", "交易失败"),
|
||||
/** 交易成功 */
|
||||
JOINPAY_TRANSFER_DETAIL_SUCCESS("205", "交易成功"),
|
||||
/** 订单已取消 */
|
||||
JOINPAY_TRANSFER_DETAIL_CANCEL("208", "订单已取消"),
|
||||
/** 账务冻结中 */
|
||||
JOINPAY_TRANSFER_DETAIL_FROZEN("210", "账务冻结中"),
|
||||
/** 账务解冻中 */
|
||||
JOINPAY_TRANSFER_DETAIL_UNFREEZE("211", "账务解冻中"),
|
||||
/** 订单取消中 */
|
||||
JOINPAY_TRANSFER_DETAIL_CANCELING("212", "订单取消中"),
|
||||
/** 账务扣款中 */
|
||||
JOINPAY_TRANSFER_DETAIL_PAYING("213", "账务扣款中"),
|
||||
/** 订单不存在 */
|
||||
JOINPAY_TRANSFER_DETAIL_NOT_EXIST("214", "订单不存在"),
|
||||
|
||||
;
|
||||
|
||||
private String code;
|
||||
|
||||
private String desc;
|
||||
|
||||
JoinpayTransferStatusEnum(String code, String desc) {
|
||||
this.code = code;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public static JoinpayTransferStatusEnum getByCode(String code) {
|
||||
for(JoinpayTransferStatusEnum statusEnum : JoinpayTransferStatusEnum.values()) {
|
||||
if(statusEnum.getCode().equals(code)) {
|
||||
return statusEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static String getDescByCode(String code) {
|
||||
JoinpayTransferStatusEnum statusEnum = getByCode(code);
|
||||
if(null == statusEnum) {
|
||||
return "";
|
||||
}
|
||||
return statusEnum.getDesc();
|
||||
}
|
||||
}
|
@@ -1,151 +0,0 @@
|
||||
package com.accompany.business.apppay.constant;
|
||||
|
||||
//import com.accompany.common.utils.PropertyUtil;
|
||||
|
||||
/**
|
||||
* @author yangming
|
||||
* @date 2018-10-15
|
||||
* @description 支付相关常量
|
||||
*/
|
||||
|
||||
public class PayConstant {
|
||||
|
||||
// /**统一下单URL地址*/
|
||||
// public static class OrderUrl{
|
||||
// /**https://api.mch.weixin.qq.com/pay/unifiedorder*/
|
||||
// public static final String WXPAY_URL = PropertyUtil.getProperty("wxpayUrl");
|
||||
//
|
||||
// /**https://openapi.alipay.com/gateway.do*/
|
||||
// public static String ALIPAY_URL = PropertyUtil.getProperty("alipayUrl");
|
||||
// }
|
||||
|
||||
/**微信交易方式*/
|
||||
public static class WxTradeType{
|
||||
/**公众号支付*/
|
||||
public static String JSAPI = "JSAPI";
|
||||
/**扫码支付*/
|
||||
public static String NATIVE = "NATIVE";
|
||||
/**APP支付*/
|
||||
public static String APP = "APP";
|
||||
/**网页支付*/
|
||||
public static String MWEB = "MWEB";
|
||||
}
|
||||
|
||||
/**阿里支付的产品销售码(固定值)*/
|
||||
public static class alipayProdCode {
|
||||
/**app支付*/
|
||||
public static final String QUICK_MSECURITY_PAY = "QUICK_MSECURITY_PAY";
|
||||
|
||||
/**网页支付*/
|
||||
public static final String QUICK_WAP_WAY = "QUICK_WAP_WAY";
|
||||
|
||||
}
|
||||
|
||||
/**支付宝回调支付状态**/
|
||||
public static class AlipayTradeStatus{
|
||||
|
||||
public static String TRADE_SUCCESS = "TRADE_SUCCESS";
|
||||
|
||||
public static String TRADE_FINISHED = "TRADE_FINISHED";
|
||||
|
||||
}
|
||||
|
||||
/**微信回调支付结果**/
|
||||
public static class WeChatTradeStatus {
|
||||
|
||||
public static String TRADE_SUCCESS = "SUCCESS";
|
||||
|
||||
public static String TRADE_FAIL = "FAIL";
|
||||
}
|
||||
|
||||
/**汇聚支付开关**/
|
||||
public static class Switch{
|
||||
|
||||
public static final String TRUE = "true";
|
||||
|
||||
public static final String FALSE = "false";
|
||||
}
|
||||
|
||||
/**
|
||||
* 转账相关封装
|
||||
*/
|
||||
public static class Transfer {
|
||||
/**
|
||||
* 转账结果:成功
|
||||
*/
|
||||
public static final int RESULT_SUCCESS = 1;
|
||||
|
||||
/**
|
||||
* 转账结果:处理中,仅表示第三方支付已收到转账请求,还需要进一步查询才能得到最终结果
|
||||
*/
|
||||
public static final int RESULT_PROCESSING = 2;
|
||||
|
||||
/**
|
||||
* 转账结果:失败
|
||||
*/
|
||||
public static final int RESULT_FAIL = 0;
|
||||
}
|
||||
//
|
||||
// /**微信开放平台审核通过的应用APPID*/
|
||||
// public static String WX_APP_ID = PropertyUtil.getProperty("wxAppId");
|
||||
//
|
||||
// /**微信支付分配的商户号*/
|
||||
// public static String WX_MCH_ID = PropertyUtil.getProperty("wxMchId");
|
||||
//
|
||||
// /**商户平台设置的密钥key**/
|
||||
// public static String WX_API_KEY = PropertyUtil.getProperty("wxApiKey");
|
||||
//
|
||||
// /**微信回调接口*/
|
||||
// public static String WX_NOTIFY_URL = PropertyUtil.getProperty("wxNotifyUrl");
|
||||
|
||||
/**微信配置的商户APP名称**/
|
||||
public static String WX_APP_NAME = "哈哈语音";
|
||||
|
||||
// /**支付宝应用APPID**/
|
||||
// public static String ALIPAY_APP_ID = PropertyUtil.getProperty("alipayAppId");
|
||||
//
|
||||
// /**支付宝应用私钥*/
|
||||
// public static String ALIPAY_APP_PRIVATE_KEY = PropertyUtil.getProperty("alipayAppPrivateKey");
|
||||
//
|
||||
// /**支付宝公钥**/
|
||||
// public static String ALIPAY_PUBLIC_KEY = PropertyUtil.getProperty("alipayPublicKey");
|
||||
//
|
||||
// /**支付宝回调接口*/
|
||||
// public static final String ALIPAY_NOTIFY_URL = PropertyUtil.getProperty("alipayNotifyUrl");
|
||||
|
||||
/**支付宝数据格式(仅支持JSON格式)*/
|
||||
public static final String ALIPAY_FORMAT = "JSON";
|
||||
|
||||
/**支付宝请求编码格式(统一使用UTF-8)*/
|
||||
public static final String ALIPAY_CHATSET = "UTF-8";
|
||||
|
||||
/**支付宝签名方式**/
|
||||
public static final String ALIPAY_SIGN_TYPE = "RSA2";
|
||||
|
||||
/**支付宝收款方账户类型(统一使用账号方式)*/
|
||||
public static final String ALIPAY_PAYEE_TYPE = "ALIPAY_LOGONID";
|
||||
|
||||
/**支付宝转账成功返回码**/
|
||||
public static final String ALIPAY_TRANSFER_SUCCESS_CODE = "10000";
|
||||
|
||||
/** 汇聚代付-应答码 */
|
||||
public static final String JOINPAY_TRANSFER_SUCCESS = "2001";
|
||||
public static final String JOINPAY_TRANSFER_FAIL = "2002";
|
||||
public static final String JOINPAY_TRANSFER_UNKNOWN = "2003";
|
||||
|
||||
// /**汇聚支付请求链接**/
|
||||
// public static final String APPLY_TRADE_URL= PropertyUtil.getProperty("applyTradeUrl");
|
||||
//
|
||||
// /**汇聚支付回调地址**/
|
||||
// public static final String CALL_BACK_URL = PropertyUtil.getProperty("callbackUrl");
|
||||
//
|
||||
// /**汇聚支付商户号**/
|
||||
// public static final String MERCHANT_NO = PropertyUtil.getProperty("merchantNo");
|
||||
//
|
||||
// /**汇聚支秘钥**/
|
||||
// public static final String KEY = PropertyUtil.getProperty("key");
|
||||
|
||||
/**汇聚支付返回码**/
|
||||
public static final Integer JOIN_PAY_SUCCESS= 100;
|
||||
|
||||
}
|
@@ -1,273 +0,0 @@
|
||||
package com.accompany.business.apppay.domain;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
public class WxNotifyParam {
|
||||
|
||||
/**返回编码**/
|
||||
@SerializedName("return_code")
|
||||
private String returnCode;
|
||||
|
||||
/**返回信息**/
|
||||
@SerializedName("return_msg")
|
||||
private String returnMsg;
|
||||
|
||||
/**应用appId**/
|
||||
private String appid;
|
||||
|
||||
/**商户mchId**/
|
||||
@SerializedName("mch_id")
|
||||
private String mchId;
|
||||
|
||||
/**设备信息**/
|
||||
@SerializedName("device_info")
|
||||
private String deviceInfo;
|
||||
|
||||
/**随机字符串**/
|
||||
@SerializedName("nonce_str")
|
||||
private String nonceStr;
|
||||
|
||||
/**签名**/
|
||||
private String sign;
|
||||
|
||||
/**支付结果编码**/
|
||||
@SerializedName("result_code")
|
||||
private String resultCode;
|
||||
|
||||
/**支付结果错误编码**/
|
||||
@SerializedName("err_code")
|
||||
private String errCode;
|
||||
|
||||
/**支付结果错误描述**/
|
||||
@SerializedName("err_code_des")
|
||||
private String errCodeDes;
|
||||
|
||||
/**微信号唯一标识**/
|
||||
private String openid;
|
||||
|
||||
/**是否关注公众账号**/
|
||||
@SerializedName("is_subscribe")
|
||||
private String isSubscribe;
|
||||
|
||||
/**交易类型**/
|
||||
@SerializedName("trade_type")
|
||||
private String tradeType;
|
||||
|
||||
/**付款银行**/
|
||||
@SerializedName("bank_type")
|
||||
private String bankType;
|
||||
|
||||
/**总金额**/
|
||||
@SerializedName("total_fee")
|
||||
private Integer totalFee;
|
||||
|
||||
/**货币种类**/
|
||||
@SerializedName("fee_type")
|
||||
private String feeType;
|
||||
|
||||
/**现金支付金额**/
|
||||
@SerializedName("cash_fee")
|
||||
private Integer cashFee;
|
||||
|
||||
/**现金支付货币类型**/
|
||||
@SerializedName("cash_fee_type")
|
||||
private String cashFeeType;
|
||||
|
||||
/**微信支付订单号**/
|
||||
@SerializedName("transaction_id")
|
||||
private String transactionId;
|
||||
|
||||
/**商户订单号**/
|
||||
@SerializedName("out_trade_no")
|
||||
private String outTradeNo;
|
||||
|
||||
/**商家数据包**/
|
||||
private String attach;
|
||||
|
||||
/**支付完成时间**/
|
||||
@SerializedName("time_end")
|
||||
private String timeEnd;
|
||||
|
||||
public String getReturnCode() {
|
||||
return returnCode;
|
||||
}
|
||||
|
||||
public void setReturnCode(String returnCode) {
|
||||
this.returnCode = returnCode;
|
||||
}
|
||||
|
||||
public String getReturnMsg() {
|
||||
return returnMsg;
|
||||
}
|
||||
|
||||
public void setReturnMsg(String returnMsg) {
|
||||
this.returnMsg = returnMsg;
|
||||
}
|
||||
|
||||
public String getAppid() {
|
||||
return appid;
|
||||
}
|
||||
|
||||
public void setAppid(String appid) {
|
||||
this.appid = appid;
|
||||
}
|
||||
|
||||
public String getMchId() {
|
||||
return mchId;
|
||||
}
|
||||
|
||||
public void setMchId(String mchId) {
|
||||
this.mchId = mchId;
|
||||
}
|
||||
|
||||
public String getDeviceInfo() {
|
||||
return deviceInfo;
|
||||
}
|
||||
|
||||
public void setDeviceInfo(String deviceInfo) {
|
||||
this.deviceInfo = deviceInfo;
|
||||
}
|
||||
|
||||
public String getNonceStr() {
|
||||
return nonceStr;
|
||||
}
|
||||
|
||||
public void setNonceStr(String nonceStr) {
|
||||
this.nonceStr = nonceStr;
|
||||
}
|
||||
|
||||
public String getSign() {
|
||||
return sign;
|
||||
}
|
||||
|
||||
public void setSign(String sign) {
|
||||
this.sign = sign;
|
||||
}
|
||||
|
||||
public String getResultCode() {
|
||||
return resultCode;
|
||||
}
|
||||
|
||||
public void setResultCode(String resultCode) {
|
||||
this.resultCode = resultCode;
|
||||
}
|
||||
|
||||
public String getErrCode() {
|
||||
return errCode;
|
||||
}
|
||||
|
||||
public void setErrCode(String errCode) {
|
||||
this.errCode = errCode;
|
||||
}
|
||||
|
||||
public String getErrCodeDes() {
|
||||
return errCodeDes;
|
||||
}
|
||||
|
||||
public void setErrCodeDes(String errCodeDes) {
|
||||
this.errCodeDes = errCodeDes;
|
||||
}
|
||||
|
||||
public String getOpenid() {
|
||||
return openid;
|
||||
}
|
||||
|
||||
public void setOpenid(String openid) {
|
||||
this.openid = openid;
|
||||
}
|
||||
|
||||
public String getIsSubscribe() {
|
||||
return isSubscribe;
|
||||
}
|
||||
|
||||
public void setIsSubscribe(String isSubscribe) {
|
||||
this.isSubscribe = isSubscribe;
|
||||
}
|
||||
|
||||
public String getTradeType() {
|
||||
return tradeType;
|
||||
}
|
||||
|
||||
public void setTradeType(String tradeType) {
|
||||
this.tradeType = tradeType;
|
||||
}
|
||||
|
||||
public String getBankType() {
|
||||
return bankType;
|
||||
}
|
||||
|
||||
public void setBankType(String bankType) {
|
||||
this.bankType = bankType;
|
||||
}
|
||||
|
||||
public Integer getTotalFee() {
|
||||
return totalFee;
|
||||
}
|
||||
|
||||
public void setTotalFee(Integer totalFee) {
|
||||
this.totalFee = totalFee;
|
||||
}
|
||||
|
||||
public String getFeeType() {
|
||||
return feeType;
|
||||
}
|
||||
|
||||
public void setFeeType(String feeType) {
|
||||
this.feeType = feeType;
|
||||
}
|
||||
|
||||
public Integer getCashFee() {
|
||||
return cashFee;
|
||||
}
|
||||
|
||||
public void setCashFee(Integer cashFee) {
|
||||
this.cashFee = cashFee;
|
||||
}
|
||||
|
||||
public String getCashFeeType() {
|
||||
return cashFeeType;
|
||||
}
|
||||
|
||||
public void setCashFeeType(String cashFeeType) {
|
||||
this.cashFeeType = cashFeeType;
|
||||
}
|
||||
|
||||
public String getTransactionId() {
|
||||
return transactionId;
|
||||
}
|
||||
|
||||
public void setTransactionId(String transactionId) {
|
||||
this.transactionId = transactionId;
|
||||
}
|
||||
|
||||
public String getOutTradeNo() {
|
||||
return outTradeNo;
|
||||
}
|
||||
|
||||
public void setOutTradeNo(String outTradeNo) {
|
||||
this.outTradeNo = outTradeNo;
|
||||
}
|
||||
|
||||
public String getAttach() {
|
||||
return attach;
|
||||
}
|
||||
|
||||
public void setAttach(String attach) {
|
||||
this.attach = attach;
|
||||
}
|
||||
|
||||
public String getTimeEnd() {
|
||||
return timeEnd;
|
||||
}
|
||||
|
||||
public void setTimeEnd(String timeEnd) {
|
||||
this.timeEnd = timeEnd;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new Gson().toJson(this);
|
||||
}
|
||||
}
|
@@ -1,197 +0,0 @@
|
||||
package com.accompany.business.apppay.util;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.net.URLEncoder;
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.Map;
|
||||
import java.util.Vector;
|
||||
|
||||
public class HttpRequester {
|
||||
|
||||
private String defaultContentEncoding;
|
||||
|
||||
public HttpRequester() {
|
||||
this.defaultContentEncoding = Charset.defaultCharset().name();
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送POST请求
|
||||
*
|
||||
* @param urlString
|
||||
* URL地址
|
||||
* @return 响应对象
|
||||
* @throws IOException
|
||||
*/
|
||||
public HttpResponse sendPost(String urlString) throws IOException {
|
||||
return this.send(urlString, "POST", null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送POST请求
|
||||
*
|
||||
* @param urlString
|
||||
* URL地址
|
||||
* @param params
|
||||
* 参数集合
|
||||
* @return 响应对象
|
||||
* @throws IOException
|
||||
*/
|
||||
public HttpResponse sendPost(String urlString, Map<String, Object> params) throws IOException {
|
||||
for (String key : params.keySet()) {
|
||||
if (params.get(key) != null && !"".equals(params.get(key))) {
|
||||
params.put(key, (String) URLEncoder.encode(String.valueOf(params.get(key)), "utf-8"));//(String) 强制类型转换
|
||||
}
|
||||
}
|
||||
|
||||
return this.send(urlString, "POST", params, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送POST请求
|
||||
*
|
||||
* @param urlString
|
||||
* URL地址
|
||||
* @param params
|
||||
* 参数集合
|
||||
* @param propertys
|
||||
* 请求属性
|
||||
* @return 响应对象
|
||||
* @throws IOException
|
||||
*/
|
||||
public HttpResponse sendPost(String urlString, Map<String, Object> params, Map<String, String> propertys) throws IOException {
|
||||
return this.send(urlString, "POST", params, propertys);
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送HTTP请求
|
||||
*
|
||||
* @param urlString
|
||||
* @return 响映对象
|
||||
* @throws IOException
|
||||
*/
|
||||
private HttpResponse send(String urlString, String method, Map<String, Object> parameters, Map<String, String> propertys) throws IOException {
|
||||
HttpURLConnection urlConnection = null;
|
||||
|
||||
if (method.equalsIgnoreCase("GET") && parameters != null) {
|
||||
StringBuffer param = new StringBuffer();
|
||||
int i = 0;
|
||||
for (String key : parameters.keySet()) {
|
||||
if (i == 0)
|
||||
param.append("?");
|
||||
else
|
||||
param.append("&");
|
||||
param.append(key).append("=").append(parameters.get(key));
|
||||
i++;
|
||||
}
|
||||
urlString += param;
|
||||
}
|
||||
URL url = new URL(urlString);
|
||||
urlConnection = (HttpURLConnection) url.openConnection();
|
||||
|
||||
urlConnection.setRequestMethod(method);
|
||||
urlConnection.setDoOutput(true);
|
||||
urlConnection.setDoInput(true);
|
||||
urlConnection.setUseCaches(false);
|
||||
|
||||
if (propertys != null)
|
||||
for (String key : propertys.keySet()) {
|
||||
urlConnection.addRequestProperty(key, propertys.get(key));
|
||||
}
|
||||
|
||||
if (method.equalsIgnoreCase("POST") && parameters != null) {
|
||||
StringBuffer param = new StringBuffer();
|
||||
for (String key : parameters.keySet()) {
|
||||
param.append("&");
|
||||
param.append(key).append("=").append(parameters.get(key));
|
||||
}
|
||||
urlConnection.getOutputStream().write(param.toString().getBytes());
|
||||
urlConnection.getOutputStream().flush();
|
||||
urlConnection.getOutputStream().close();
|
||||
}
|
||||
|
||||
return this.makeContent(urlString, urlConnection);
|
||||
}
|
||||
|
||||
/**
|
||||
* 得到响应对象
|
||||
*
|
||||
* @param urlConnection
|
||||
* @return 响应对象
|
||||
* @throws IOException
|
||||
*/
|
||||
private HttpResponse makeContent(String urlString, HttpURLConnection urlConnection) throws IOException {
|
||||
HttpResponse httpResponser = new HttpResponse();
|
||||
try {
|
||||
InputStream in = urlConnection.getInputStream();
|
||||
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(in));
|
||||
httpResponser.contentCollection = new Vector<String>();
|
||||
StringBuffer temp = new StringBuffer();
|
||||
String line = bufferedReader.readLine();
|
||||
while (line != null) {
|
||||
httpResponser.contentCollection.add(line);
|
||||
temp.append(line).append("\r\n");
|
||||
line = bufferedReader.readLine();
|
||||
}
|
||||
bufferedReader.close();
|
||||
|
||||
String ecod = urlConnection.getContentEncoding();
|
||||
if (ecod == null) {
|
||||
ecod = this.defaultContentEncoding;
|
||||
}
|
||||
|
||||
httpResponser.urlString = urlString;
|
||||
|
||||
httpResponser.defaultPort = urlConnection.getURL().getDefaultPort();
|
||||
httpResponser.file = urlConnection.getURL().getFile();
|
||||
httpResponser.host = urlConnection.getURL().getHost();
|
||||
httpResponser.path = urlConnection.getURL().getPath();
|
||||
httpResponser.port = urlConnection.getURL().getPort();
|
||||
httpResponser.protocol = urlConnection.getURL().getProtocol();
|
||||
httpResponser.query = urlConnection.getURL().getQuery();
|
||||
httpResponser.ref = urlConnection.getURL().getRef();
|
||||
httpResponser.userInfo = urlConnection.getURL().getUserInfo();
|
||||
|
||||
httpResponser.content = new String(temp.toString().getBytes(), ecod);
|
||||
httpResponser.contentEncoding = ecod;
|
||||
httpResponser.code = urlConnection.getResponseCode();
|
||||
httpResponser.message = urlConnection.getResponseMessage();
|
||||
httpResponser.contentType = urlConnection.getContentType();
|
||||
httpResponser.method = urlConnection.getRequestMethod();
|
||||
httpResponser.connectTimeout = urlConnection.getConnectTimeout();
|
||||
httpResponser.readTimeout = urlConnection.getReadTimeout();
|
||||
|
||||
return httpResponser;
|
||||
} catch (IOException e) {
|
||||
throw e;
|
||||
} finally {
|
||||
if (urlConnection != null)
|
||||
urlConnection.disconnect();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 默认的响应字符集
|
||||
*/
|
||||
public String getDefaultContentEncoding() {
|
||||
return this.defaultContentEncoding;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置默认的响应字符集
|
||||
*/
|
||||
public void setDefaultContentEncoding(String defaultContentEncoding) {
|
||||
this.defaultContentEncoding = defaultContentEncoding;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -1,181 +0,0 @@
|
||||
package com.accompany.business.apppay.util;
|
||||
|
||||
import org.apache.commons.httpclient.HttpClient;
|
||||
import org.apache.commons.httpclient.methods.InputStreamRequestEntity;
|
||||
import org.apache.commons.httpclient.methods.PostMethod;
|
||||
import org.apache.commons.httpclient.methods.RequestEntity;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Vector;
|
||||
|
||||
|
||||
public class HttpResponse {
|
||||
String urlString;
|
||||
|
||||
int defaultPort;
|
||||
|
||||
String file;
|
||||
|
||||
String host;
|
||||
|
||||
String path;
|
||||
|
||||
int port;
|
||||
|
||||
String protocol;
|
||||
|
||||
String query;
|
||||
|
||||
String ref;
|
||||
|
||||
String userInfo;
|
||||
|
||||
String contentEncoding;
|
||||
|
||||
String content;
|
||||
|
||||
String contentType;
|
||||
|
||||
int code;
|
||||
|
||||
String message;
|
||||
|
||||
String method;
|
||||
|
||||
int connectTimeout;
|
||||
|
||||
int readTimeout;
|
||||
|
||||
Vector<String> contentCollection;
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public String getContentType() {
|
||||
return contentType;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public Vector<String> getContentCollection() {
|
||||
return contentCollection;
|
||||
}
|
||||
|
||||
public String getContentEncoding() {
|
||||
return contentEncoding;
|
||||
}
|
||||
|
||||
public String getMethod() {
|
||||
return method;
|
||||
}
|
||||
|
||||
public int getConnectTimeout() {
|
||||
return connectTimeout;
|
||||
}
|
||||
|
||||
public int getReadTimeout() {
|
||||
return readTimeout;
|
||||
}
|
||||
|
||||
public String getUrlString() {
|
||||
return urlString;
|
||||
}
|
||||
|
||||
public int getDefaultPort() {
|
||||
return defaultPort;
|
||||
}
|
||||
|
||||
public String getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
public String getHost() {
|
||||
return host;
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public int getPort() {
|
||||
return port;
|
||||
}
|
||||
|
||||
public String getProtocol() {
|
||||
return protocol;
|
||||
}
|
||||
|
||||
public String getQuery() {
|
||||
return query;
|
||||
}
|
||||
|
||||
public String getRef() {
|
||||
return ref;
|
||||
}
|
||||
|
||||
public String getUserInfo() {
|
||||
return userInfo;
|
||||
}
|
||||
|
||||
|
||||
public static String post(String params, String requestUrl) throws IOException {
|
||||
// TODO Auto-generated method stub
|
||||
// try {
|
||||
//HttpRequester request = new HttpRequester();
|
||||
// request.setDefaultContentEncoding("utf-8");
|
||||
byte[] requestBytes = params.getBytes("utf-8"); // 将参数转为二进制流
|
||||
HttpClient httpClient = new HttpClient(); // 客户端实例化
|
||||
PostMethod postMethod = new PostMethod(requestUrl);
|
||||
//设置请求头Authorization
|
||||
// postMethod.setRequestHeader("Authorization", "Basic " + authorization);
|
||||
// 设置请求头 Content-Type
|
||||
postMethod.setRequestHeader("Content-Type", "application/json");
|
||||
InputStream inputStream = new ByteArrayInputStream(requestBytes, 0, requestBytes.length);
|
||||
RequestEntity requestEntity = new InputStreamRequestEntity(inputStream, requestBytes.length, "application/json; charset=utf-8"); // 请求体
|
||||
postMethod.setRequestEntity(requestEntity);
|
||||
httpClient.executeMethod(postMethod);// 执行请求
|
||||
InputStream soapResponseStream = postMethod.getResponseBodyAsStream();// 获取返回的流
|
||||
byte[] datas = null;
|
||||
try {
|
||||
datas = readInputStream(soapResponseStream);// 从输入流中读取数据
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
String result = new String(datas, "UTF-8");// 将二进制流转为String
|
||||
// 打印返回结果
|
||||
// System.out.println(result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 从输入流中读取数据
|
||||
*
|
||||
* @param inStream
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public static byte[] readInputStream(InputStream inStream) throws Exception {
|
||||
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
|
||||
byte[] buffer = new byte[1024];
|
||||
int len = 0;
|
||||
while ((len = inStream.read(buffer)) != -1) {
|
||||
outStream.write(buffer, 0, len);
|
||||
}
|
||||
byte[] data = outStream.toByteArray();
|
||||
outStream.close();
|
||||
inStream.close();
|
||||
return data;
|
||||
}
|
||||
}
|
@@ -1,46 +0,0 @@
|
||||
package com.accompany.business.certification;
|
||||
|
||||
import com.alibaba.cloudapi.sdk.core.BaseApiClient;
|
||||
import com.alibaba.cloudapi.sdk.core.BaseApiClientBuilder;
|
||||
import com.alibaba.cloudapi.sdk.core.enums.Method;
|
||||
import com.alibaba.cloudapi.sdk.core.enums.ParamPosition;
|
||||
import com.alibaba.cloudapi.sdk.core.enums.Scheme;
|
||||
import com.alibaba.cloudapi.sdk.core.model.ApiRequest;
|
||||
import com.alibaba.cloudapi.sdk.core.model.ApiResponse;
|
||||
import com.alibaba.cloudapi.sdk.core.model.BuilderParams;
|
||||
|
||||
/**
|
||||
* @author yangming
|
||||
* @date 2018-12-21
|
||||
* @descreption 云盾身份认证(二要素)
|
||||
*/
|
||||
|
||||
|
||||
public final class AliCertCheckClient extends BaseApiClient {
|
||||
|
||||
public final static String GROUP_HOST = "safrvcert.market.alicloudapi.com";
|
||||
|
||||
private AliCertCheckClient(BuilderParams builderParams) {
|
||||
|
||||
super(builderParams);
|
||||
}
|
||||
|
||||
public static class Builder extends BaseApiClientBuilder<Builder, AliCertCheckClient> {
|
||||
@Override
|
||||
protected AliCertCheckClient build(BuilderParams params) {
|
||||
return new AliCertCheckClient(params);
|
||||
}
|
||||
}
|
||||
|
||||
public static Builder newBuilder(){
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
|
||||
public ApiResponse doApiCertCheck(String serviceParameters){
|
||||
String _apiPath = "/safrv_cert_check";
|
||||
ApiRequest _apiRequest = new ApiRequest(Scheme.HTTPS, Method.GET, GROUP_HOST, _apiPath);
|
||||
_apiRequest.addParam("serviceParameters", serviceParameters, ParamPosition.QUERY, true);
|
||||
return syncInvoke(_apiRequest);
|
||||
}
|
||||
}
|
@@ -1,34 +0,0 @@
|
||||
package com.accompany.business.certification;
|
||||
|
||||
public class AliCertResponse {
|
||||
|
||||
private String code;
|
||||
|
||||
private ResponseValue value;
|
||||
|
||||
private String message;
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public ResponseValue getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public void setValue(ResponseValue value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
@@ -1,48 +0,0 @@
|
||||
package com.accompany.business.certification;
|
||||
|
||||
/**
|
||||
* @author yangming
|
||||
* @date 2018-12-21
|
||||
*/
|
||||
public class ExtDataParam {
|
||||
|
||||
private String callBack;
|
||||
|
||||
private String validator_attr_user_name;
|
||||
|
||||
private String validator_attr_card_num;
|
||||
|
||||
private String validator_attr_input_phone;
|
||||
|
||||
public String getCallBack() {
|
||||
return callBack;
|
||||
}
|
||||
|
||||
public void setCallBack(String callBack) {
|
||||
this.callBack = callBack;
|
||||
}
|
||||
|
||||
public String getValidator_attr_user_name() {
|
||||
return validator_attr_user_name;
|
||||
}
|
||||
|
||||
public void setValidator_attr_user_name(String validator_attr_user_name) {
|
||||
this.validator_attr_user_name = validator_attr_user_name;
|
||||
}
|
||||
|
||||
public String getValidator_attr_card_num() {
|
||||
return validator_attr_card_num;
|
||||
}
|
||||
|
||||
public void setValidator_attr_card_num(String validator_attr_card_num) {
|
||||
this.validator_attr_card_num = validator_attr_card_num;
|
||||
}
|
||||
|
||||
public String getValidator_attr_input_phone() {
|
||||
return validator_attr_input_phone;
|
||||
}
|
||||
|
||||
public void setValidator_attr_input_phone(String validator_attr_input_phone) {
|
||||
this.validator_attr_input_phone = validator_attr_input_phone;
|
||||
}
|
||||
}
|
@@ -1,34 +0,0 @@
|
||||
package com.accompany.business.certification;
|
||||
|
||||
public class ResponseValue {
|
||||
|
||||
private String verifyUrl;
|
||||
|
||||
private String bizCode;
|
||||
|
||||
private String message;
|
||||
|
||||
public String getVerifyUrl() {
|
||||
return verifyUrl;
|
||||
}
|
||||
|
||||
public void setVerifyUrl(String verifyUrl) {
|
||||
this.verifyUrl = verifyUrl;
|
||||
}
|
||||
|
||||
public String getBizCode() {
|
||||
return bizCode;
|
||||
}
|
||||
|
||||
public void setBizCode(String bizCode) {
|
||||
this.bizCode = bizCode;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
}
|
@@ -1,48 +0,0 @@
|
||||
package com.accompany.business.certification;
|
||||
|
||||
/**
|
||||
* @author yangming
|
||||
* @date 2018-12-21
|
||||
*/
|
||||
public class ServiceParam {
|
||||
|
||||
private String __userId;
|
||||
|
||||
private String customerID;
|
||||
|
||||
private String verifyKey;
|
||||
|
||||
private String extData;
|
||||
|
||||
public String get__userId() {
|
||||
return __userId;
|
||||
}
|
||||
|
||||
public void set__userId(String __userId) {
|
||||
this.__userId = __userId;
|
||||
}
|
||||
|
||||
public String getCustomerID() {
|
||||
return customerID;
|
||||
}
|
||||
|
||||
public void setCustomerID(String customerID) {
|
||||
this.customerID = customerID;
|
||||
}
|
||||
|
||||
public String getVerifyKey() {
|
||||
return verifyKey;
|
||||
}
|
||||
|
||||
public void setVerifyKey(String verifyKey) {
|
||||
this.verifyKey = verifyKey;
|
||||
}
|
||||
|
||||
public String getExtData() {
|
||||
return extData;
|
||||
}
|
||||
|
||||
public void setExtData(String extData) {
|
||||
this.extData = extData;
|
||||
}
|
||||
}
|
@@ -1,142 +0,0 @@
|
||||
package com.accompany.business.common;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author liuguofu
|
||||
*/
|
||||
public class ServiceResult<T> implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1954065564856833013L;
|
||||
|
||||
public static final int SC_SUCCESS = 0;
|
||||
public static final int SC_NON_AUTH = 203;
|
||||
|
||||
public static final int SC_BAD_REQUEST = 400;
|
||||
public static final int SC_FORBIDDEN = 403;
|
||||
public static final int SC_TIMEOUT = 408;
|
||||
public static final int SC_GONE = 410;
|
||||
|
||||
public static final int SC_SERVER_ERROR = 500;
|
||||
public static final int SC_DATA_ERROR = 501;
|
||||
|
||||
private int code = -1;
|
||||
|
||||
private String message = "";
|
||||
|
||||
@JsonInclude(Include.NON_NULL)
|
||||
private T data;
|
||||
|
||||
public ServiceResult() {
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> success(T data) {
|
||||
return success(data, StringUtils.EMPTY);
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> success(T data, String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCodeSuccess().setMessage(message).setData(data);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> getInstance() {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCodeSuccess();
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> authFailed(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCode(SC_NON_AUTH).setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> badRequest(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCode(SC_BAD_REQUEST).setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> forbidden(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCodeForbidden().setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> timeout(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCodeTimeout().setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> serverError(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCode(SC_SERVER_ERROR).setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> dataError(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCode(SC_DATA_ERROR).setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public static <T> ServiceResult<T> gone(String message) {
|
||||
ServiceResult<T> result = new ServiceResult<T>();
|
||||
result.setCode(SC_GONE).setMessage(message);
|
||||
return result;
|
||||
}
|
||||
|
||||
public int getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setCode(int code) {
|
||||
this.code = code;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setCodeSuccess() {
|
||||
this.code = SC_SUCCESS;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setCodeForbidden() {
|
||||
this.code = SC_FORBIDDEN;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setCodeServerError() {
|
||||
this.code = SC_SERVER_ERROR;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setCodeTimeout() {
|
||||
this.code = SC_TIMEOUT;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setMessage(String message) {
|
||||
this.message = message;
|
||||
return this;
|
||||
}
|
||||
|
||||
public T getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public ServiceResult<T> setData(T data) {
|
||||
this.data = data;
|
||||
return this;
|
||||
}
|
||||
|
||||
}
|
@@ -1,50 +0,0 @@
|
||||
package com.accompany.business.constant;
|
||||
|
||||
/**
|
||||
* 活动通用记录枚举类
|
||||
*/
|
||||
public enum ActivityRecordIdEnum {
|
||||
|
||||
LOOT_TREASURE(1,"夏日夺宝活动", "act_loot_treasure"),
|
||||
SWEET(2,"缘定七夕", "act_sweet_config"),
|
||||
MOON_FESTIVAL(3,"2021中秋节", "act_moon_festival_conf"),
|
||||
LOL(4,"2021英雄联盟拉新活动", "act_lol_config"),
|
||||
YEAR_CEREMONY(5,"2021年度庆典", "act_year_ceremony"),
|
||||
YEAR_BEAST(6,"2022年兽", "act_year_beast"),
|
||||
LOVE_WALL(7,"2022情人节告白墙", "act_love_wall"),
|
||||
TWO_YEAR(8,"66两周年活动", "act_two_year"),
|
||||
TWO_YEAR_GALAXY_SHOP(9,"66两周年银河商店", "act_two_year_galaxy_shop"),
|
||||
TWO_YEAR_CP_RANK_SHOW_NUM(10,"66两周年宇宙cp活动", "act_two_year_cp_rank_show_num"),
|
||||
TWO_YEAR_TRIP_WORLD(11,"66两周年环游世界", "act_year_two_trip_world"),
|
||||
LOVE_RANK(12,"520榜单", "activity_love_rank_config"),
|
||||
ONE_YEAR(13,"一周年活动", "act_one_year_config"),
|
||||
ONE_YEAR_SWEET_CAKE(14,"一周年甜蜜蛋糕屋", "act_one_year_sweet_cake_config"),
|
||||
MAGIC_SCHOOL(15,"魔法学院活动", "act_magic_school_config"),
|
||||
;
|
||||
|
||||
private Integer activityId;
|
||||
|
||||
private String desc;
|
||||
|
||||
/** 奖品ID **/
|
||||
private String activityConfig;
|
||||
|
||||
|
||||
ActivityRecordIdEnum(Integer activityId, String desc, String activityConfig) {
|
||||
this.activityId = activityId;
|
||||
this.desc = desc;
|
||||
this.activityConfig = activityConfig;
|
||||
}
|
||||
|
||||
public Integer getActivityId() {
|
||||
return activityId;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public String getActivityConfig(){
|
||||
return activityConfig;
|
||||
}
|
||||
}
|
@@ -1,16 +0,0 @@
|
||||
package com.accompany.business.constant.activity;
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/8/16.
|
||||
*/
|
||||
public class MidAutumnConstant {
|
||||
|
||||
/**
|
||||
* 积累月饼任务类型
|
||||
*/
|
||||
public class AddMoonCateType{
|
||||
public static final byte LOGIN = 1;
|
||||
public static final byte GIFT = 2;
|
||||
public static final byte SHARE = 3;
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
package com.accompany.business.constant.activity;
|
||||
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/8/19.
|
||||
*/
|
||||
public enum MidAutumnTaskTypeEnum {
|
||||
HEADWEAR(1,"headwear", "头饰"),
|
||||
CAR(2,"car","座驾"),
|
||||
GIFT(3,"gift", "礼物"),
|
||||
;
|
||||
|
||||
private Integer value;
|
||||
private String key;
|
||||
private String desc;
|
||||
|
||||
MidAutumnTaskTypeEnum(Integer value, String key, String desc) {
|
||||
this.value = value;
|
||||
this.key = key;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public static MidAutumnTaskTypeEnum getEnumByValue(Integer value){
|
||||
for (MidAutumnTaskTypeEnum typeEnum : MidAutumnTaskTypeEnum.values()){
|
||||
if (typeEnum.getValue().equals(value)){
|
||||
return typeEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
@@ -1,41 +0,0 @@
|
||||
package com.accompany.business.constant.activity;
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/5/22.
|
||||
*/
|
||||
public class MidYearActivityConstant {
|
||||
|
||||
/**
|
||||
* 任务类型
|
||||
*/
|
||||
public class ActStatus{
|
||||
public static final byte NO_FINISH = 0; //未完成
|
||||
public static final byte NOT_RECEIVE = 1; //未领取
|
||||
public static final byte FINISH = 2; //已完成
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 加入战队类型
|
||||
*/
|
||||
public class TeamEnterType{
|
||||
public static final byte CREATTEAM = 0;
|
||||
public static final byte JOINREAM = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* 战队状态类型
|
||||
*/
|
||||
public class TeamStatusType{
|
||||
public static final byte USABLE = 0;
|
||||
public static final byte USELESS = 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* 粉丝量更新类型
|
||||
*/
|
||||
public class FansUpdateType{
|
||||
public static final byte ADD = 0;
|
||||
public static final byte REDUCE = 1;
|
||||
}
|
||||
}
|
@@ -1,47 +0,0 @@
|
||||
package com.accompany.business.constant.activity;
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/5/22.
|
||||
*/
|
||||
public enum MidYearTaskTypeEnum {
|
||||
TASKONE(7,"taskOne",1),
|
||||
TASKTWO(14,"taskTwo", 2),
|
||||
TASKTHREE(28,"taskThree", 3),
|
||||
TASKFOUR(56,"taskFour", 4),
|
||||
TASKFIVE(99,"taskFive", 5),
|
||||
TASKSIX(168,"taskSix", 6),
|
||||
TASKSEVEN(188,"taskSeven", 7);
|
||||
|
||||
private int num;
|
||||
|
||||
private String desc;
|
||||
|
||||
private Integer value;
|
||||
|
||||
MidYearTaskTypeEnum(int num, String desc, Integer value) {
|
||||
this.num = num;
|
||||
this.desc = desc;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public int getNum() {
|
||||
return num;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static MidYearTaskTypeEnum getEnumByValue(Integer value){
|
||||
for (MidYearTaskTypeEnum typeEnum : MidYearTaskTypeEnum.values()){
|
||||
if (typeEnum.getValue().equals(value)){
|
||||
return typeEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: ActLinearlyConfig
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/8/3
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.dto.activity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/8/3]
|
||||
*/
|
||||
@Data
|
||||
public class ActCandyConfigDTO {
|
||||
private Date startTime;
|
||||
private Date endTime;
|
||||
private List<ActLinearlyTask> tasks;
|
||||
private List<Long> whiteUids;
|
||||
private List<ActLinearlyAward> top1Awards;
|
||||
private List<ActLinearlyAward> top2Awards;
|
||||
private List<ActLinearlyAward> top3Awards;
|
||||
private List<ActLinearlyAward> othersAwards;
|
||||
|
||||
|
||||
@Data
|
||||
public static class ActLinearlyTask {
|
||||
private Integer taskNo;
|
||||
private Integer taskGiftId;
|
||||
private Integer awardType;
|
||||
private Integer awardId;
|
||||
private Integer awardDay;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class ActLinearlyAward {
|
||||
private Integer id;
|
||||
private Integer type;
|
||||
private Integer awardDay;
|
||||
}
|
||||
}
|
@@ -1,76 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: CpAct2022ConfigDTO
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: aiyo
|
||||
* 创建时间: 2022/7/26
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.dto.activity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author aiyo
|
||||
* @date [2022/7/26]
|
||||
*/
|
||||
@Data
|
||||
public class CpAct2022ConfigDTO {
|
||||
/**
|
||||
* 活动开始时间
|
||||
*/
|
||||
private Date startTime;
|
||||
/**
|
||||
* 活动结束时间
|
||||
*/
|
||||
private Date endTime;
|
||||
/**
|
||||
* 白名单用户
|
||||
*/
|
||||
private List<Long> whiteUids;
|
||||
/**
|
||||
* 活动页面
|
||||
*/
|
||||
private String h5PageUrl;
|
||||
/**
|
||||
* 循环任务
|
||||
*/
|
||||
private List<CpAct2022LoopTask> loopTasks;
|
||||
private List<CpAct2022LevelAward> levelAwards;
|
||||
private List<Long> rankGiftIds;
|
||||
private List<CpAct2022RankAward> dayRankAwards;
|
||||
private List<CpAct2022RankAward> totalRankAwards;
|
||||
|
||||
|
||||
@Data
|
||||
public static class CpAct2022LoopTask {
|
||||
private Long taskGiftId;
|
||||
private Integer batterNum;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CpAct2022LevelAward {
|
||||
private Integer level;
|
||||
private Long id;
|
||||
private Long maleId;
|
||||
private Long femaleId;
|
||||
private Byte type;
|
||||
private Integer days;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class CpAct2022RankAward {
|
||||
private Long id;
|
||||
private Long maleId;
|
||||
private Long femaleId;
|
||||
private Byte type;
|
||||
}
|
||||
}
|
@@ -1,57 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: SummerAct2022ConfigDTO
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/7/14
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.dto.activity;
|
||||
|
||||
import com.accompany.business.config.ActLuckyBagRankConfig;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/7/14]
|
||||
*/
|
||||
@Data
|
||||
public class SummerAct2022ConfigDTO {
|
||||
private Date startTime;
|
||||
private Date endTime;
|
||||
private Date bonusStartTime;
|
||||
private Date bonusEndTime;
|
||||
private List<SummerAct2022TaskConfig> tasks;
|
||||
private List<Long> whiteUids;
|
||||
private String h5PageUrl;
|
||||
private List<Award> dayRankAwards;
|
||||
private List<Award> totalRankAwards;
|
||||
|
||||
@Data
|
||||
public static class SummerAct2022TaskConfig {
|
||||
private Integer taskNo;
|
||||
private Long taskGiftId;
|
||||
private Integer awardType;
|
||||
private Integer awardId;
|
||||
private Integer awardDay;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class Award {
|
||||
private Long id;
|
||||
private Long maleId;
|
||||
private Long femaleId;
|
||||
/**
|
||||
* 奖品类型
|
||||
*/
|
||||
private Byte type;
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: WishStarCupKeyConfigDTO
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/12/6
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.dto.activity;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <br>类描述: 许愿星杯key相关配置
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/12/6]
|
||||
*/
|
||||
@Data
|
||||
public class WishStarCupKeyConfigDTO {
|
||||
private List<LevelConfig> levels;
|
||||
private String h5PageUrl;
|
||||
|
||||
/**
|
||||
* 狂欢段位配置
|
||||
*/
|
||||
@Data
|
||||
@ApiModel
|
||||
public static class LevelConfig {
|
||||
@ApiModelProperty(value = "等级名称")
|
||||
private String levelName;
|
||||
@ApiModelProperty(value = "等级值")
|
||||
private Integer score;
|
||||
}
|
||||
}
|
||||
|
@@ -1,79 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: WishStarCupPrizePoolConfigDTO
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/12/10
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.dto.activity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <br>类描述: 许愿星杯奖池配置
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/12/10]
|
||||
*/
|
||||
@Data
|
||||
public class WishStarCupPrizePoolConfigDTO {
|
||||
/**
|
||||
* 默认奖品id;库存不够时,使用默认奖品代替发放
|
||||
*/
|
||||
private Integer defaultPrizeId;
|
||||
/**
|
||||
* 奖池列表
|
||||
*/
|
||||
private List<WishStarCupPrizePoolItem> prizePools;
|
||||
/**
|
||||
* 限定奖品加入奖池时间
|
||||
*/
|
||||
private List<WishStarCupSpecialPrizeTimeItem> specialPrizeTime;
|
||||
|
||||
/**
|
||||
* 普通奖池
|
||||
*/
|
||||
@Data
|
||||
public static class WishStarCupPrizePoolItem {
|
||||
/**
|
||||
* 奖品id
|
||||
*/
|
||||
private Integer prizeId;
|
||||
/**
|
||||
* 奖品类型 {@link com.accompany.business.constant.PrizeTypeEnum}
|
||||
*/
|
||||
private Integer prizeType;
|
||||
/**
|
||||
* 需要实际入背包的奖品ID
|
||||
*/
|
||||
private Integer refId;
|
||||
/**
|
||||
* 奖池类型 {@link com.accompany.common.constant.Constant.WishStarCupPoolType}
|
||||
*/
|
||||
private Byte poolType;
|
||||
/**
|
||||
* 初始库存
|
||||
*/
|
||||
private Integer stock;
|
||||
/**
|
||||
* 赠送数量
|
||||
*/
|
||||
private Integer prizeNum;
|
||||
/**
|
||||
* 奖品概率占比十万分比(一个奖品池的总占比不能超十万
|
||||
*/
|
||||
private Integer occupationRatio;
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class WishStarCupSpecialPrizeTimeItem {
|
||||
private String startTime;
|
||||
private String endTime;
|
||||
}
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
package com.accompany.business.dto.kuaishou;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@ApiModel
|
||||
public class AdKuaishouTrackActiveReqDto {
|
||||
@ApiModelProperty("用户uid")
|
||||
private Long uid;
|
||||
@ApiModelProperty("设备类型:0-安卓,1-IOS,3-其他")
|
||||
private Integer platOs;
|
||||
@ApiModelProperty("ios 设备 id")
|
||||
private String idfa;
|
||||
@ApiModelProperty("idfa计算md5:规则为32位十六进制数字+4位连接符“-”的原文(比如:32ED3EE5-9968-4F25-A015-DE3CFF569568),再计算MD5,再转大写")
|
||||
private String idfaMd5;
|
||||
@ApiModelProperty("idfa计算sha1:规则是原文带“-”,计算SHA1")
|
||||
private String idfaSha;
|
||||
@ApiModelProperty("imei值")
|
||||
private String imei;
|
||||
@ApiModelProperty("对15位数字的imei进行md5,备注:安卓广告唯一标示,imei双卡手机可能有两个,取默认的一个")
|
||||
private String imeiMd5;
|
||||
@ApiModelProperty("原imei进行sha1")
|
||||
private String imeiSha;
|
||||
@ApiModelProperty("安卓oaid")
|
||||
private String oaid;
|
||||
@ApiModelProperty("安卓androidId")
|
||||
private String androidId;
|
||||
@ApiModelProperty("androidId md5")
|
||||
private String androidMd5;
|
||||
@ApiModelProperty("androidId sha")
|
||||
private String androidSha;
|
||||
@ApiModelProperty("Android设备mac")
|
||||
private String mac;
|
||||
@ApiModelProperty("用户代理")
|
||||
private String ua;
|
||||
@ApiModelProperty("事件类型")
|
||||
private Integer evenType;
|
||||
@ApiModelProperty("金额:单位元(保留两位小数)")
|
||||
private Double purchaseAmount;
|
||||
|
||||
}
|
@@ -1,19 +0,0 @@
|
||||
package com.accompany.business.dto.kuaishou;
|
||||
|
||||
import com.accompany.core.model.Users;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @USER: chenli
|
||||
* @DATE: 2021/9/2 19:09
|
||||
* @DESCRIPTION:
|
||||
*/
|
||||
@Data
|
||||
public class KuaiShouEventDto {
|
||||
private Users user;
|
||||
private Integer eventType;
|
||||
/**
|
||||
* 充值金额:单位分,事件类型为3-付费时使用
|
||||
*/
|
||||
private Long amount;
|
||||
}
|
@@ -1,128 +0,0 @@
|
||||
package com.accompany.business.enums;
|
||||
|
||||
import com.accompany.common.utils.StringUtils;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 快手时间类型
|
||||
*
|
||||
* @data 2021/08/06
|
||||
*/
|
||||
public enum KuaishouEventTypeEnum {
|
||||
|
||||
CLICK("CLICK", -1, "点击", "", 0),
|
||||
ACTIVE("ACTIVE",1, "激活", "CLICK", 10),
|
||||
REGISTER("REGISTER", 2, "注册", "ACTIVE", 20),
|
||||
CHARGE("CHARGE", 3, "付费", "",30),
|
||||
NEXT_DAY_STAY("NEXT_DAY_STAY", 7, "次留", "",30),
|
||||
;
|
||||
|
||||
/**
|
||||
* 事件类型
|
||||
*/
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* 事件的平台值
|
||||
*/
|
||||
private Integer value;
|
||||
|
||||
/**
|
||||
* 描述
|
||||
*/
|
||||
private String desc;
|
||||
|
||||
/**
|
||||
* 前置事件类型
|
||||
*/
|
||||
private String preEventType;
|
||||
|
||||
|
||||
/**
|
||||
* 事件的排序级别,越小代表改事件越早发生
|
||||
*/
|
||||
private Integer seq;
|
||||
|
||||
KuaishouEventTypeEnum(String type, Integer value, String desc, String preEventType, Integer seq) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
this.desc = desc;
|
||||
this.preEventType = preEventType;
|
||||
this.seq = seq;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public String getPreEventType() {
|
||||
return preEventType;
|
||||
}
|
||||
|
||||
public Integer getSeq() {
|
||||
return seq;
|
||||
}
|
||||
|
||||
|
||||
public static KuaishouEventTypeEnum getByType(String type) {
|
||||
for(KuaishouEventTypeEnum kuaishouEventTypeEnum : KuaishouEventTypeEnum.values()) {
|
||||
if(kuaishouEventTypeEnum.getType().equals(type)) {
|
||||
return kuaishouEventTypeEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static KuaishouEventTypeEnum getByValue(Integer value) {
|
||||
for(KuaishouEventTypeEnum kuaishouEventTypeEnum : KuaishouEventTypeEnum.values()) {
|
||||
if(value == kuaishouEventTypeEnum.getValue()) {
|
||||
return kuaishouEventTypeEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public static List<String> listTypeBeforeEventIncludeSelf(KuaishouEventTypeEnum eventType) {
|
||||
List<String> events = new ArrayList<>();
|
||||
for (KuaishouEventTypeEnum kuaishouEventTypeEnum : KuaishouEventTypeEnum.values()) {
|
||||
if (StringUtils.isNotBlank(eventType.getPreEventType())) {
|
||||
// 有前置事件时,优先以前置事件为准
|
||||
events.add(getByType(eventType.getPreEventType()).getType());
|
||||
break;
|
||||
} else if (eventType.getSeq() >= kuaishouEventTypeEnum.getSeq()) {
|
||||
events.add(kuaishouEventTypeEnum.getType());
|
||||
}
|
||||
}
|
||||
return events;
|
||||
}
|
||||
|
||||
public static List<String> listTypeAfterEventIncludeSelf(KuaishouEventTypeEnum eventType) {
|
||||
List<String> events = new ArrayList<>();
|
||||
for (KuaishouEventTypeEnum kuaishouEventTypeEnum : KuaishouEventTypeEnum.values()) {
|
||||
if (eventType.getSeq() < kuaishouEventTypeEnum.getSeq() || eventType.equals(kuaishouEventTypeEnum)) {
|
||||
events.add(kuaishouEventTypeEnum.getType());
|
||||
}
|
||||
}
|
||||
return events;
|
||||
}
|
||||
|
||||
public static List<String> listTypeAfterEventNotIncludeSelf(KuaishouEventTypeEnum eventType) {
|
||||
List<String> events = new ArrayList<>();
|
||||
for (KuaishouEventTypeEnum kuaishouEventTypeEnum : KuaishouEventTypeEnum.values()) {
|
||||
if (eventType.getSeq() < kuaishouEventTypeEnum.getSeq()) {
|
||||
events.add(kuaishouEventTypeEnum.getType());
|
||||
}
|
||||
}
|
||||
return events;
|
||||
}
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
package com.accompany.business.event;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
/**
|
||||
* 用户完善、修改个人信息事件
|
||||
*/
|
||||
public class ActivityUserInfoUpdateEvent extends ApplicationEvent {
|
||||
|
||||
public ActivityUserInfoUpdateEvent(Object source) {
|
||||
super(source);
|
||||
}
|
||||
}
|
@@ -1,13 +0,0 @@
|
||||
package com.accompany.business.event;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
public class ActivityUserLoginEvent extends ApplicationEvent {
|
||||
/**
|
||||
* 构造方法 活动用户登录消息
|
||||
* @param source
|
||||
*/
|
||||
public ActivityUserLoginEvent(Object source) {
|
||||
super(source);
|
||||
}
|
||||
}
|
@@ -1,69 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.service.activity.ActYearCeremonyService;
|
||||
import com.accompany.business.vo.activity.ActYearCeremonyConfig;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActYearCeremonyGiftListener implements ApplicationListener<GiftMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActYearCeremonyService actYearCeremonyService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent giftMessageEvent) {
|
||||
GiftMessage giftMessage = (GiftMessage) giftMessageEvent.getSource();
|
||||
Date sendGiftTime = DateTimeUtil.convertMsToDate(giftMessage.getMessTime());
|
||||
ActYearCeremonyConfig config = actYearCeremonyService.getActYearCeremonyConf();
|
||||
Boolean timeStatus = actYearCeremonyService.checkYearCeremonyTime(sendGiftTime, config.getStartTime(), config.getEndTime());
|
||||
|
||||
|
||||
// 送礼人Uid
|
||||
Long sendUid = giftMessage.getSendUid();
|
||||
// 收礼人Uid
|
||||
Long recvUid = giftMessage.getRecvUid();
|
||||
long time = sendGiftTime.getTime();
|
||||
long goldNum = giftMessage.getGoldNum();
|
||||
Integer giftId = giftMessage.getGiftId();
|
||||
|
||||
if (goldNum <= 0){
|
||||
return;
|
||||
}
|
||||
|
||||
// 送福袋按福袋价值计算
|
||||
if(timeStatus && ! giftMessage.getLuckyBagGift()){
|
||||
|
||||
// 统计神豪王座数据
|
||||
actYearCeremonyService.statisticsRankKing(sendUid,goldNum,time);
|
||||
|
||||
// 统计土豪榜单数据
|
||||
actYearCeremonyService.statisticsTycoonRank(sendUid,goldNum,time,giftId,config);
|
||||
|
||||
// 统计年度达人送礼
|
||||
actYearCeremonyService.statisticsExpertSendGift(recvUid, sendUid, goldNum, time);
|
||||
}
|
||||
|
||||
// 达人榜是按实际收礼物价值计算
|
||||
if(timeStatus){
|
||||
// 统计年度达人榜
|
||||
actYearCeremonyService.statisticsExpert(recvUid, sendUid,goldNum,time,giftId, config, giftMessage.getGiftNum());
|
||||
}
|
||||
|
||||
// 平台牌照房榜单
|
||||
actYearCeremonyService.statisticsRoom(giftMessage, config);
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
@@ -1,53 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.LuckyBagMessageEvent;
|
||||
import com.accompany.business.message.LuckyBagMessage;
|
||||
import com.accompany.business.service.activity.ActYearCeremonyService;
|
||||
import com.accompany.business.vo.activity.ActYearCeremonyConfig;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActYearCeremonyLuckyBagListener implements ApplicationListener<LuckyBagMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActYearCeremonyService actYearCeremonyService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(LuckyBagMessageEvent eveny) {
|
||||
LuckyBagMessage luckyBagMessage = (LuckyBagMessage) eveny.getSource();
|
||||
Date sendGiftTime = luckyBagMessage.getCreateTime();
|
||||
ActYearCeremonyConfig config = actYearCeremonyService.getActYearCeremonyConf();
|
||||
Boolean timeStatus = actYearCeremonyService.checkYearCeremonyTime(sendGiftTime, config.getStartTime(), config.getEndTime());
|
||||
if(timeStatus){
|
||||
Long sendUid = luckyBagMessage.getUid();
|
||||
Long receiveUid = luckyBagMessage.getReceiveUid();
|
||||
|
||||
long time = sendGiftTime.getTime();
|
||||
long goldNum = luckyBagMessage.getTotalGoldNum().longValue();
|
||||
Integer luckyBagId = luckyBagMessage.getLuckyBagId();
|
||||
// 统计神豪王座数据
|
||||
actYearCeremonyService.statisticsRankKing(sendUid,goldNum,time);
|
||||
|
||||
// 统计土豪榜单数据
|
||||
actYearCeremonyService.statisticsTycoonRank(sendUid,goldNum,time,luckyBagId, config);
|
||||
|
||||
// 统计年度达人送礼
|
||||
actYearCeremonyService.statisticsExpertSendGift(receiveUid, sendUid, goldNum, time);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
@@ -1,62 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.constant.CrossRoomRecordStatusEnum;
|
||||
import com.accompany.business.event.CrossRoomPkEndMessageEvent;
|
||||
import com.accompany.business.message.CrossRoomPkEndMessage;
|
||||
import com.accompany.business.model.room.CrossRoomPkRecord;
|
||||
import com.accompany.business.service.activity.ActYearCeremonyService;
|
||||
import com.accompany.business.vo.activity.ActYearCeremonyConfig;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActYearCeremonyPkEndListener implements ApplicationListener<CrossRoomPkEndMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActYearCeremonyService actYearCeremonyService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(CrossRoomPkEndMessageEvent event) {
|
||||
String currentDateTime = DateTimeUtil.getCurrentDateTime();
|
||||
CrossRoomPkEndMessage pkEndMessage = (CrossRoomPkEndMessage) event.getSource();
|
||||
ActYearCeremonyConfig config = actYearCeremonyService.getActYearCeremonyConf();
|
||||
Date beginTime = pkEndMessage.getBeginTime();
|
||||
Date endTime = pkEndMessage.getActualEndTime();
|
||||
log.info("年度庆典:统计跨房PK事件:{},时间:{}", JSON.toJSONString(pkEndMessage), currentDateTime);
|
||||
|
||||
// 获取PK总时长
|
||||
long pkMin = (endTime.getTime() - beginTime.getTime()) / (60000);
|
||||
Boolean timeStatus = actYearCeremonyService.checkYearCeremonyTime(beginTime, config.getStartTime(), config.getPkEndTime());
|
||||
if(! timeStatus || pkMin < 5){
|
||||
return;
|
||||
}
|
||||
|
||||
CrossRoomPkRecord inviteRoom = pkEndMessage.getInviteRoom();
|
||||
int inviteAmount = inviteRoom.getNormalGiftAmount().add(inviteRoom.getBagGiftAmount()).intValue();
|
||||
Long inviteRoomUid = inviteRoom.getRoomUid();
|
||||
|
||||
CrossRoomPkRecord acceptRoom = pkEndMessage.getAcceptRoom();
|
||||
int acceptAmount = acceptRoom.getNormalGiftAmount().add(acceptRoom.getBagGiftAmount()).intValue();
|
||||
Long acceptRoomUid = acceptRoom.getRoomUid();
|
||||
|
||||
int allAmount = inviteAmount + acceptAmount;
|
||||
|
||||
// 双方收礼总和大于等于1000钻
|
||||
if((allAmount) >= 1000){
|
||||
actYearCeremonyService.checkPk(inviteRoom.getStatus(), inviteRoomUid, inviteAmount);
|
||||
actYearCeremonyService.checkPk(acceptRoom.getStatus(), acceptRoomUid, acceptAmount);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.ChargeSuccessEvent;
|
||||
import com.accompany.business.model.ActivityAnniversaryRecord;
|
||||
import com.accompany.business.service.activity.ActivityAnniversaryRecordService;
|
||||
import com.accompany.business.service.activity.ActivityAnniversaryService;
|
||||
import com.accompany.business.service.activity.FirstRechargeActivityService;
|
||||
import com.accompany.business.vo.activity.ActivityAnniversaryLotteryConfig;
|
||||
import com.accompany.common.constant.Constant;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.common.status.BusiStatus;
|
||||
import com.accompany.core.exception.ServiceException;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import com.accompany.payment.event.ChargeEvent;
|
||||
import com.accompany.payment.mapper.ChargeRecordMapper;
|
||||
import com.accompany.payment.mapper.ChargeRecordMapperMgr;
|
||||
import com.accompany.payment.model.ChargeRecord;
|
||||
import com.accompany.payment.model.ChargeRecordExample;
|
||||
import com.accompany.payment.service.ChargeRecordService;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 充值成功活动监听
|
||||
*/
|
||||
@Component
|
||||
public class ActivityAnniversaryChargeListener implements ApplicationListener<ChargeSuccessEvent> {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(ActivityAnniversaryChargeListener.class);
|
||||
|
||||
@Autowired
|
||||
private ActivityAnniversaryService activityAnniversaryService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(ChargeSuccessEvent chargeSuccessEvent) {
|
||||
ActivityAnniversaryLotteryConfig lotteryConfig = activityAnniversaryService.getActivityAnniversaryLotteryConfig();
|
||||
Boolean actTimeStatus = activityAnniversaryService.checkActTime(lotteryConfig.getStartTime(), lotteryConfig.getEndTime());
|
||||
if(actTimeStatus) {
|
||||
ChargeRecord chargeRecord = (ChargeRecord) chargeSuccessEvent.getSource();
|
||||
logger.info("周年庆期间充值 chargeRecord={}", JSON.toJSONString(chargeRecord));
|
||||
Long uid = chargeRecord.getUid();
|
||||
if (chargeRecord.getChargeStatus().equals(Constant.ChargeRecordStatus.finish)) {
|
||||
activityAnniversaryService.checkUserDrawNum(uid, lotteryConfig, chargeRecord.getAmount());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.room.UserInRoomEvent;
|
||||
import com.accompany.business.message.room.UserInRoomMessage;
|
||||
import com.accompany.business.model.UserInRoomRecordExample;
|
||||
import com.accompany.business.mybatismapper.UserInRoomRecordMapper;
|
||||
import com.accompany.business.service.activity.ActivityAnniversaryService;
|
||||
import com.accompany.business.vo.activity.ActivityAnniversaryLotteryConfig;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityAnniversaryFlourListener implements ApplicationListener<UserInRoomEvent> {
|
||||
|
||||
@Autowired
|
||||
private JedisService jedisService;
|
||||
@Autowired
|
||||
private UserInRoomRecordMapper userInRoomRecordMapper;
|
||||
@Autowired
|
||||
private ActivityAnniversaryService activityAnniversaryService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(UserInRoomEvent userInRoomEvent) {
|
||||
ActivityAnniversaryLotteryConfig lotteryConfig = activityAnniversaryService.getActivityAnniversaryLotteryConfig();
|
||||
Boolean actTimeStatus = activityAnniversaryService.checkActTime(lotteryConfig.getStartTime(), lotteryConfig.getEndTime());
|
||||
if(actTimeStatus){
|
||||
UserInRoomMessage userInRoomMessage = (UserInRoomMessage) userInRoomEvent.getSource();
|
||||
String day = DateTimeUtil.getTodayStr();
|
||||
Long uid = userInRoomMessage.getUid();
|
||||
Boolean checkFlour = jedisService.hexists(RedisKey.activity_anniversary_birthday_flour.getKey(day), uid.toString());
|
||||
if(! checkFlour){
|
||||
Date date = new Date();
|
||||
Date beginTimeOfDay = DateTimeUtil.getBeginTimeOfDay(date);
|
||||
Date endTimeOfDay = DateTimeUtil.getEndTimeOfDay(date);
|
||||
UserInRoomRecordExample userInRoomRecordExample = new UserInRoomRecordExample();
|
||||
userInRoomRecordExample.createCriteria().andCreateTimeBetween(beginTimeOfDay,endTimeOfDay).andUidEqualTo(uid);
|
||||
Integer countNum = userInRoomRecordMapper.countByExample(userInRoomRecordExample);
|
||||
if(countNum == 1){
|
||||
jedisService.hsetnx(RedisKey.activity_anniversary_birthday_flour.getKey(day),uid.toString(),"1");
|
||||
log.info("周年庆面粉:用户"+ uid + "首次进房" + System.currentTimeMillis() + "。记录时间:" + DateTimeUtil.getCurrentDateTime());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,40 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.service.activity.ActivityAnniversaryService;
|
||||
import com.accompany.business.vo.activity.ActivityAnniversaryLotteryConfig;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityAnniversaryMilkListener implements ApplicationListener<GiftMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private JedisService jedisService;
|
||||
@Autowired
|
||||
private ActivityAnniversaryService activityAnniversaryService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent giftMessageEvent) {
|
||||
ActivityAnniversaryLotteryConfig lotteryConfig = activityAnniversaryService.getActivityAnniversaryLotteryConfig();
|
||||
Boolean actTimeStatus = activityAnniversaryService.checkActTime(lotteryConfig.getStartTime(), lotteryConfig.getEndTime());
|
||||
if(actTimeStatus) {
|
||||
GiftMessage giftMessage = (GiftMessage) giftMessageEvent.getSource();
|
||||
if (giftMessage.getGoldNum() / giftMessage.getGiftNum() >= 10) {
|
||||
jedisService.hincrBy(RedisKey.activity_anniversary_birthday_milk.getKey(), giftMessage.getSendUid().toString(), giftMessage.getGiftNum().longValue());
|
||||
log.info("周年庆牛奶:用户" + giftMessage.getSendUid() + "送出 " + giftMessage.getGiftId() + " 礼物 * "
|
||||
+ giftMessage.getGiftNum() + "个,给" + giftMessage.getRecvUid() + "。记录时间:" + DateTimeUtil.getCurrentDateTime());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.service.activity.ActivityAudioCardService;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityAudioCardGiftListener implements ApplicationListener<GiftMessageEvent> {
|
||||
|
||||
/** 试音卡活动时间 **/
|
||||
private static final String AUDIO_CARD_STATRT_TIME = "2021-03-25 12:00:00";
|
||||
private static final String AUDIO_CARD_END_TIME = "2021-04-26 00:00:00";
|
||||
|
||||
@Autowired
|
||||
private ActivityAudioCardService activityAudioCardService;
|
||||
@Autowired
|
||||
private JedisService jedisService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent giftMessageEvent) {
|
||||
GiftMessage giftMessage = (GiftMessage) giftMessageEvent.getSource();
|
||||
Integer audioCardId = activityAudioCardService.getAudioCardConfig();
|
||||
if(giftMessage.getGiftId().equals(audioCardId) && giftMessage.getRoomUid()!= null &&
|
||||
DateTimeUtil.isBetweenDate(new Date(),DateTimeUtil.convertStrToDate(AUDIO_CARD_STATRT_TIME), DateTimeUtil.convertStrToDate(AUDIO_CARD_END_TIME))){
|
||||
Double meReceiveNumD = jedisService.zscore(RedisKey.activity_new_audio_card_rankings.getKey(), giftMessage.getRecvUid().toString());
|
||||
Long endTime = DateTimeUtil.convertStrToDate(AUDIO_CARD_END_TIME).getTime();
|
||||
Long maxReciveTime = giftMessage.getMessTime();
|
||||
Long time = endTime - maxReciveTime;
|
||||
// 将时间转换成小数格式与 score 相加
|
||||
double timeDouble = time.doubleValue() / 100000000000D;
|
||||
Double receiveNum;
|
||||
if(meReceiveNumD != null && meReceiveNumD > 1){
|
||||
jedisService.zrem(RedisKey.activity_new_audio_card_rankings.getKey() ,giftMessage.getRecvUid().toString());
|
||||
receiveNum = giftMessage.getGiftNum().doubleValue() + meReceiveNumD.intValue() + timeDouble;
|
||||
}else{
|
||||
receiveNum = giftMessage.getGiftNum().doubleValue() + timeDouble;
|
||||
}
|
||||
jedisService.zincrby(RedisKey.activity_new_audio_card_rankings.getKey() , receiveNum, giftMessage.getRecvUid().toString());
|
||||
log.info("试音卡活动:" + giftMessage.getRecvUid() + "收到,来自:" + giftMessage.getSendUid() + "赠送的试音卡,数量:" + giftMessage.getGiftNum());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
@@ -1,41 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.room.UserInRoomEvent;
|
||||
import com.accompany.business.message.room.UserInRoomMessage;
|
||||
import com.accompany.business.service.activity.ActivityAudioCardService;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.google.gson.Gson;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
/**
|
||||
* 试音卡活动
|
||||
*/
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityAudioCardListener implements ApplicationListener<UserInRoomEvent> {
|
||||
|
||||
/** 试音卡活动时间 **/
|
||||
private static final String AUDIO_CARD_STATRT_TIME = "2021-03-25 12:00:00";
|
||||
private static final String AUDIO_CARD_END_TIME = "2021-04-26 00:00:00";
|
||||
|
||||
@Autowired
|
||||
private ActivityAudioCardService activityAudioCardService;
|
||||
|
||||
@Async
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void onApplicationEvent(UserInRoomEvent userInRoomEvent) {
|
||||
if(activityAudioCardService.checkTime(AUDIO_CARD_STATRT_TIME,AUDIO_CARD_END_TIME)){
|
||||
UserInRoomMessage userInRoomMessage = (UserInRoomMessage) userInRoomEvent.getSource();
|
||||
Long uid = userInRoomMessage.getUid();
|
||||
activityAudioCardService.checkUserfirstInRoom(uid);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,37 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.ActivityUserLoginEvent;
|
||||
import com.accompany.business.service.activity.ActivityAudioCardService;
|
||||
import com.accompany.common.constant.Constant;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.accompany.core.vo.UserLoginMessageVo;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 试音卡用户登录事件
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityAudioCardUserLoginListener implements ApplicationListener<ActivityUserLoginEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityAudioCardService activityAudioCardService;
|
||||
|
||||
@Async
|
||||
@Override
|
||||
public void onApplicationEvent(ActivityUserLoginEvent loginEvent) {
|
||||
Date startTime = DateTimeUtil.convertStrToDate(Constant.activityDate.AUDIO_CARD_STATRT_TIME);
|
||||
Date endTime = DateTimeUtil.convertStrToDate(Constant.activityDate.AUDIO_CARD_END_TIME);
|
||||
if (DateTimeUtil.isBetweenDate(new Date(), startTime, endTime)) {
|
||||
UserLoginMessageVo userLoginMsg = (UserLoginMessageVo) loginEvent.getSource();
|
||||
Long uid = userLoginMsg.getUid();
|
||||
activityAudioCardService.checkUserfirstInRoom(uid);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,56 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.box.BoxPrizeEvent;
|
||||
import com.accompany.business.message.BoxPrizeEntity;
|
||||
import com.accompany.business.message.BoxPrizeMessage;
|
||||
import com.accompany.business.service.activity.ActivityFortuneService;
|
||||
import com.accompany.business.vo.activity.ActivityFortuneConfig;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Component
|
||||
public class ActivityFortuneListener implements ApplicationListener<BoxPrizeEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityFortuneService activityFortuneService;
|
||||
@Autowired
|
||||
private JedisService jedisService;
|
||||
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(BoxPrizeEvent boxPrizeEvent) {
|
||||
ActivityFortuneConfig config = activityFortuneService.getFortuneConfig();
|
||||
if(activityFortuneService.checkTime(config.getCollectStartTime(),config.getCollectEndTime())){
|
||||
BoxPrizeMessage boxPrizeMessage = (BoxPrizeMessage) boxPrizeEvent.getSource();
|
||||
Long uid = boxPrizeMessage.getUid();
|
||||
List<BoxPrizeEntity> entityList = boxPrizeMessage.getPrizeList();
|
||||
Map<String, String> userPrizeMap = jedisService.hgetAll(RedisKey.activity_fortune.getKey(uid.toString()));
|
||||
List<Integer> prizeIdList = config.getPrizeId();
|
||||
for(BoxPrizeEntity prizeEntity : entityList){
|
||||
Integer prizeId = prizeEntity.getPrizeId();
|
||||
if (prizeIdList.contains(prizeId)) {
|
||||
jedisService.hincrBy(RedisKey.activity_fortune.getKey(uid.toString()), prizeId.toString(), (long) prizeEntity.getPrizeNum());
|
||||
prizeIdList.remove(prizeId);
|
||||
}
|
||||
}
|
||||
if (!prizeIdList.isEmpty()) {
|
||||
for (Integer prizeId : prizeIdList) {
|
||||
if (userPrizeMap == null || userPrizeMap.get(prizeId.toString()) == null) {
|
||||
jedisService.hincrBy(RedisKey.activity_fortune.getKey(uid.toString()), prizeId.toString(), 0L);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
activityFortuneService.collectFortune(uid);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,128 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.service.activities.ActCandyBizService;
|
||||
import com.accompany.business.service.activities.CpAct2022BizService;
|
||||
import com.accompany.business.service.activities.SummerAct2022BizService;
|
||||
import com.accompany.business.service.activity.ActivityMidAutumnService;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/4/29.
|
||||
* 金币礼物赠送/接收监听
|
||||
*/
|
||||
@Component
|
||||
public class ActivityGiftListener implements ApplicationListener<GiftMessageEvent> {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(ActivityGiftListener.class);
|
||||
|
||||
/*@Autowired
|
||||
private LoverActivityService loverActivityService;
|
||||
@Autowired
|
||||
private MidAutumnActivityService midAutumnActivityService;
|
||||
@Autowired
|
||||
private NationalDayActivityService nationalDayActivityService;
|
||||
@Autowired
|
||||
private ValentineDay2020ActivityService valentineDay2020ActivityService;
|
||||
@Autowired
|
||||
private ActivityConfigService activityConfigService;
|
||||
@Autowired
|
||||
private WomensDay2020ActivityService womensDay2020ActivityService;
|
||||
@Autowired
|
||||
private BigGiftNameplateActivityService bigGiftNameplateActivityService;
|
||||
@Autowired
|
||||
private SummerActivityService summerActivityService;
|
||||
*/
|
||||
|
||||
@Autowired
|
||||
private SummerAct2022BizService summerAct2022BizService;
|
||||
@Autowired
|
||||
private CpAct2022BizService cpAct2022BizService;
|
||||
@Autowired
|
||||
private ActCandyBizService actLinearlyBizService;
|
||||
@Autowired
|
||||
private ActivityMidAutumnService activityMidAutumnService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent giftMessageEvent) {
|
||||
GiftMessage giftMessage = (GiftMessage) giftMessageEvent.getSource();
|
||||
LOGGER.info("goldGift_updateTaskProgress, goldGiftMessage is {}", giftMessage);
|
||||
try {
|
||||
Long sendUid = giftMessage.getSendUid();
|
||||
Integer giftId = giftMessage.getGiftId();
|
||||
Long recvUid = giftMessage.getRecvUid();
|
||||
Long goldNum = giftMessage.getGoldNum();
|
||||
Integer giftNum = giftMessage.getGiftNum();
|
||||
|
||||
//520活动
|
||||
/*if (activityConfigService.isInActivityRange(new Date(giftMessage.getMessTime()), ActivityConf.LoverActivityConf.LOVER_ACTIVITY_START, ActivityConf.LoverActivityConf.LOVER_ACTIVITY_END)) {
|
||||
loverActivityService.updateTaskProgress(giftMessage.getSendUid(), giftMessage.getRecvUid(),
|
||||
giftMessage.getGiftId(), giftMessage.getGiftNum());
|
||||
}*/
|
||||
//中秋活动
|
||||
/*if (activityConfigService.isInActivityRange(new Date(giftMessage.getMessTime()),
|
||||
ActivityConf.MidAutumnActConfig.MID_AUTUMN_FESTIVAL_START, ActivityConf.MidAutumnActConfig.MID_AUTUMN_FESTIVAL_END)){
|
||||
midAutumnActivityService.addMoonCakeBySendGift(giftMessage.getSendUid(), giftMessage.getGoldNum(), giftMessage.getMessTime());
|
||||
}*/
|
||||
//国庆活动
|
||||
/*if (activityConfigService.isInActivityRange(new Date(giftMessage.getMessTime()), ActivityConf.NationalDayActivity.NATIONAL_DAY_START, ActivityConf.NationalDayActivity.NATIONAL_DAY_END)){
|
||||
if (nationalDayActivityService.checkGift(giftMessage.getGiftId(), NationalDayTaskTypeEnum.GOLD)) {
|
||||
nationalDayActivityService.dealTask(giftMessage.getSendUid(), new Date(giftMessage.getMessTime()), NationalDayTaskTypeEnum.GOLD);
|
||||
}
|
||||
}*/
|
||||
//2020 情人节活动
|
||||
/*if(valentineDay2020ActivityService.checkCondition(giftMessage)){
|
||||
valentineDay2020ActivityService.dealTask(giftMessage);
|
||||
}*/
|
||||
//2020 女神节活动
|
||||
/*if (womensDay2020ActivityService.checkCondition(giftMessage)) {
|
||||
womensDay2020ActivityService.dealTask(giftMessage);
|
||||
}*/
|
||||
|
||||
// 大礼物送铭牌活动
|
||||
// bigGiftNameplateActivityService.handle(giftMessage);
|
||||
|
||||
// 夏日活动
|
||||
// summerActivityService.handle(giftMessage);
|
||||
|
||||
// 2022夏日活动
|
||||
// try {
|
||||
// summerAct2022BizService.handleGiftTask(giftId.longValue(), sendUid);
|
||||
// summerAct2022BizService.handleGiftTask(giftId.longValue(), recvUid);
|
||||
// summerAct2022BizService.updateRank(goldNum.intValue(), sendUid, recvUid, giftId);
|
||||
// } catch (Exception e) {
|
||||
// }
|
||||
|
||||
// try {
|
||||
// // 2022七夕活动
|
||||
// cpAct2022BizService.handleUserSendDayGiftTask(sendUid, giftId.longValue());
|
||||
// cpAct2022BizService.handleUserSendGiftTask(sendUid, giftId.longValue(), giftNum);
|
||||
// cpAct2022BizService.updateRank(goldNum.intValue(), sendUid, recvUid, giftId);
|
||||
// } catch (Exception e) {
|
||||
// LOGGER.error("2022 七夕活动送礼监听出现异常, goldGiftMessage is :" + JSON.toJSONString(giftMessage), e);
|
||||
// }
|
||||
|
||||
|
||||
try {
|
||||
actLinearlyBizService.handleSendGift(sendUid, recvUid, goldNum, giftId);
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("2022 糖果集市送礼监听出现异常, goldGiftMessage is :" + JSON.toJSONString(giftMessage), e);
|
||||
}
|
||||
|
||||
try {
|
||||
activityMidAutumnService.handleGiftSend(sendUid, recvUid, giftId,goldNum );
|
||||
} catch (Exception e) {
|
||||
LOGGER.error("2022 中秋送礼监听出现异常, goldGiftMessage is :" + JSON.toJSONString(giftMessage), e);
|
||||
}
|
||||
} catch (Exception e){
|
||||
LOGGER.error("update looking for task progress failed, goldGiftMessage is :" + JSON.toJSONString(giftMessage), e);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,50 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.box.BoxPrizeEvent;
|
||||
import com.accompany.business.message.BoxPrizeEntity;
|
||||
import com.accompany.business.message.BoxPrizeMessage;
|
||||
import com.accompany.business.service.activity.ActivityNewYearService;
|
||||
import com.accompany.business.vo.activity.ActivityNewYearConfig;
|
||||
import com.accompany.common.redis.RedisKey;
|
||||
import com.accompany.core.model.Users;
|
||||
import com.accompany.core.mybatismapper.UsersMapper;
|
||||
import com.accompany.core.service.common.JedisService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
public class ActivityNewYearListener implements ApplicationListener<BoxPrizeEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityNewYearService activityNewYearService;
|
||||
@Autowired
|
||||
private JedisService jedisService;
|
||||
@Autowired
|
||||
private UsersMapper usersMapper;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(BoxPrizeEvent boxPrizeEvent) {
|
||||
ActivityNewYearConfig config = activityNewYearService.getNewYearConfig();
|
||||
if(activityNewYearService.checkTime(config.getStatisticsStartTime(),config.getUserStatisticsEndTime())){
|
||||
BoxPrizeMessage boxPrizeMessage = (BoxPrizeMessage) boxPrizeEvent.getSource();
|
||||
Long uid = boxPrizeMessage.getUid();
|
||||
Users users = usersMapper.selectByPrimaryKey(uid);
|
||||
/** 运营需求(4位数或以下不算入个人榜单) **/
|
||||
if(users.getErbanNo().toString().length() > 4){
|
||||
List<BoxPrizeEntity> entityList = boxPrizeMessage.getPrizeList();
|
||||
Integer snowmanId = config.getSnowmanPrizeId();
|
||||
/** 新春个人榜单只统计第一个礼物 **/
|
||||
for(BoxPrizeEntity prizeEntity : entityList){
|
||||
if(snowmanId.equals(prizeEntity.getPrizeId())){
|
||||
jedisService.zincrby(RedisKey.activity_user_new_year_rankings.getKey() , prizeEntity.getPrizeNum().doubleValue(), uid.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,48 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.RadishGiftMessageEvent;
|
||||
import com.accompany.business.event.RadishGiftMessageEvent;
|
||||
import com.accompany.business.message.RadishGiftMessage;
|
||||
import com.accompany.business.service.activity.ActivityConfigService;
|
||||
import com.accompany.business.service.activity.MidyearActivityService;
|
||||
import com.accompany.common.constant.ActivityConf;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/5/28.
|
||||
*
|
||||
*/
|
||||
//@Component
|
||||
public class ActivityRadishGiftRankListener implements ApplicationListener<RadishGiftMessageEvent> {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(ActivityRadishGiftRankListener.class);
|
||||
|
||||
@Autowired
|
||||
private MidyearActivityService midyearActivityService;
|
||||
@Autowired
|
||||
private ActivityConfigService activityConfigService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(RadishGiftMessageEvent radishGiftMessageEvent) {
|
||||
RadishGiftMessage giftMessage = (RadishGiftMessage) radishGiftMessageEvent.getSource();
|
||||
LOGGER.info("update radishGift rank, radishGiftMessage is {}", JSON.toJSONString(giftMessage));
|
||||
try {
|
||||
//十二月,闪耀主播
|
||||
if(activityConfigService.isInActivityRange(new Date(giftMessage.getMessTime()),
|
||||
ActivityConf.MidYearActivityConfig.MID_YEAR_SHINING_ANCHOR_START, ActivityConf.MidYearActivityConfig.MID_YEAR_SHINING_ANCHOR_END)){
|
||||
this.midyearActivityService.updateShiningValue(giftMessage.getMessTime(),giftMessage.getRadishNum(),giftMessage.getGiftId(),
|
||||
giftMessage.getReceiveUid(),giftMessage.getSendUid(),giftMessage.getGiftNum());
|
||||
}
|
||||
}catch (Exception e){
|
||||
LOGGER.error("update radishGift rank progress failed, radishGiftMessage is {}", giftMessage,e);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,36 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.service.activity.RankActivityService;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
|
||||
/**
|
||||
* Created by yuanyi on 2019/1/16.
|
||||
*/
|
||||
//@Component
|
||||
public class ActivityRankListener implements ApplicationListener<GiftMessageEvent> {
|
||||
private static final Logger logger = LoggerFactory.getLogger(ActivityRankListener.class);
|
||||
|
||||
@Autowired
|
||||
private RankActivityService rankActivityService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent event){
|
||||
|
||||
GiftMessage giftMessage = (GiftMessage) event.getSource();
|
||||
logger.info("updateActivityRank(),giftMessage={}",giftMessage);
|
||||
try{
|
||||
this.rankActivityService.updateRankings(giftMessage.getMessTime(),giftMessage.getGoldNum(),giftMessage.getGiftId(),giftMessage.getRoomUid(),
|
||||
giftMessage.getRecvUid(),giftMessage.getSendUid(),giftMessage.getGiftNum());
|
||||
}catch (Exception e){
|
||||
logger.error("update act rank failed,giftMessage:{}",giftMessage,e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@@ -1,75 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: AdPlatformChargeSuccessListener
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/8/10
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.dto.kuaishou.KuaiShouEventDto;
|
||||
import com.accompany.business.enums.AdPlatformEnum;
|
||||
import com.accompany.business.enums.JuLiangEventTypeEnum;
|
||||
import com.accompany.business.enums.KuaishouEventTypeEnum;
|
||||
import com.accompany.business.event.ChargeSuccessEvent;
|
||||
import com.accompany.business.service.ad.AdPlatformStrategyFactory;
|
||||
import com.accompany.business.service.ad.IAdPlatformStrategy;
|
||||
import com.accompany.business.util.AdPlatformUtil;
|
||||
import com.accompany.core.model.Users;
|
||||
import com.accompany.core.service.user.UsersBaseService;
|
||||
import com.accompany.payment.model.ChargeRecord;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* <br>类描述: 广告平台充值上报listener
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/8/10]
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class AdPlatformChargeSuccessListener implements ApplicationListener<ChargeSuccessEvent> {
|
||||
@Autowired
|
||||
private AdPlatformStrategyFactory adPlatformStrategyFactory;
|
||||
@Autowired
|
||||
private UsersBaseService usersService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(ChargeSuccessEvent event) {
|
||||
ChargeRecord chargeRecord = (ChargeRecord) event.getSource();
|
||||
Long uid = chargeRecord.getUid();
|
||||
Users user = usersService.getUsersByUid(uid);
|
||||
log.info("AdPlatformChargeSuccessListener, activeTrack charge userInfo {}", JSONObject.toJSONString(user));
|
||||
|
||||
try {
|
||||
AdPlatformEnum adPlatformEnum = adPlatformStrategyFactory.getAdPlatform(user.getChannel());
|
||||
if (adPlatformEnum == null) adPlatformEnum = AdPlatformEnum.MOCK;
|
||||
|
||||
IAdPlatformStrategy strategy = adPlatformStrategyFactory.getAdStrategy(adPlatformEnum);
|
||||
|
||||
if (AdPlatformEnum.KUAISHOU.getType().equals(adPlatformEnum.getType())) {
|
||||
log.info("AdPlatform kuaishou start activeTrack uid[{}],channel[{}],chargeAmount[{}]", user.getUid(), user.getChannel(), chargeRecord.getAmount());
|
||||
KuaiShouEventDto kuaiShouEventDto = new KuaiShouEventDto();
|
||||
kuaiShouEventDto.setUser(user);
|
||||
kuaiShouEventDto.setEventType(KuaishouEventTypeEnum.CHARGE.getValue());
|
||||
kuaiShouEventDto.setAmount(chargeRecord.getAmount());
|
||||
strategy.activeTrack(AdPlatformUtil.buildReqParams(kuaiShouEventDto));
|
||||
}else {
|
||||
log.info("AdPlatform charge douyin start activeTrack uid[{}],channel[{}]", user.getUid(), user.getChannel());
|
||||
strategy.activeTrack(AdPlatformUtil.buildReqParams(user, JuLiangEventTypeEnum.CHARGE.getValue()));
|
||||
}
|
||||
} catch (Exception e){
|
||||
log.error("AdPlatformChargeSuccessListener, activeTrack charge fail",e);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,92 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import com.accompany.business.dto.kuaishou.KuaiShouEventDto;
|
||||
import com.accompany.business.enums.AdPlatformEnum;
|
||||
import com.accompany.business.enums.JuLiangEventTypeEnum;
|
||||
import com.accompany.business.enums.KuaishouEventTypeEnum;
|
||||
import com.accompany.business.service.ad.AdPlatformStrategyFactory;
|
||||
import com.accompany.business.service.ad.IAdPlatformStrategy;
|
||||
import com.accompany.business.service.user.UsersService;
|
||||
import com.accompany.business.util.AdPlatformUtil;
|
||||
import com.accompany.common.utils.DateTimeUtil;
|
||||
import com.accompany.core.model.Users;
|
||||
import com.accompany.core.vo.UserFirstLoginMsgVO;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.jms.annotation.JmsListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Component
|
||||
@Slf4j
|
||||
public class AdPlatformUserLoginMsgListener {
|
||||
|
||||
@Autowired
|
||||
private AdPlatformStrategyFactory adPlatformStrategyFactory;
|
||||
@Autowired
|
||||
private UsersService usersService;
|
||||
|
||||
@JmsListener(destination = "ad_platform_user_login_msg_queue",containerFactory = "adPlatformUserLoginMsgContainer")
|
||||
@Async
|
||||
public void onMessage(UserFirstLoginMsgVO msg) {
|
||||
log.info("AdPlatformUserLoginMsgListener, activeTrack login , msg {}", JSON.toJSONString(msg));
|
||||
try {
|
||||
if (!checkIsRegisterInYesterday(msg.getUid())) {
|
||||
log.info("AdPlatformUserLoginMsgListener, user not register in yesterday , uid {}", msg.getUid());
|
||||
return;
|
||||
}
|
||||
Users user = new Users();
|
||||
user.setUid(msg.getUid());
|
||||
user.setChannel(msg.getChannel());
|
||||
|
||||
AdPlatformEnum adPlatformEnum = adPlatformStrategyFactory.getAdPlatform(msg.getChannel());
|
||||
if (adPlatformEnum == null) adPlatformEnum = AdPlatformEnum.MOCK;
|
||||
|
||||
IAdPlatformStrategy strategy = adPlatformStrategyFactory.getAdStrategy(adPlatformEnum);
|
||||
if (AdPlatformEnum.KUAISHOU.getType().equals(adPlatformEnum.getType())) {
|
||||
log.info("AdPlatformUserLoginMsgListener kuaishou start activeTrack uid[{}],channel[{}]", msg.getUid(), msg.getChannel());
|
||||
KuaiShouEventDto kuaiShouEventDto = new KuaiShouEventDto();
|
||||
kuaiShouEventDto.setUser(user);
|
||||
kuaiShouEventDto.setEventType(KuaishouEventTypeEnum.NEXT_DAY_STAY.getValue());
|
||||
strategy.activeTrack(AdPlatformUtil.buildReqParams(kuaiShouEventDto));
|
||||
}else {
|
||||
log.info("AdPlatformUserLoginMsgListener douyin start activeTrack uid {} channel {}", msg.getUid(), msg.getChannel());
|
||||
strategy.activeTrack(AdPlatformUtil.buildReqParams(user, JuLiangEventTypeEnum.NEXT_DAY_STAY.getValue()));
|
||||
}
|
||||
} catch (Exception e){
|
||||
log.error("AdPlatformUserLoginMsgListener, activeTrack login fail",e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查用户是否昨天注册
|
||||
* @param uid
|
||||
* @return
|
||||
*/
|
||||
public boolean checkIsRegisterInYesterday(Long uid) {
|
||||
Users users = usersService.getUsersByUid(uid);
|
||||
if (ObjectUtil.isNull(users) || ObjectUtil.isNull(users.getCreateTime())) {
|
||||
log.info("次留上报注册日期为空返回");
|
||||
return false;
|
||||
}
|
||||
log.info("AdPlatformUserLoginMsgListener userVoByUid {}", JSON.toJSONString(users));
|
||||
Date userSignDate = users.getCreateTime();
|
||||
Date now = new Date();
|
||||
Date yesterday = DateTimeUtil.addDays(now, -1);
|
||||
Date beginTimeOfYesterday = DateTimeUtil.getBeginTimeOfDay(yesterday);
|
||||
Date endTimeOfYesterday = DateTimeUtil.getEndTimeOfDay(yesterday);
|
||||
log.info("AdPlatformUserLoginMsgListener userSignDate {} beginTimeOfYesterday {}, endTimeOfYesterday {} ",
|
||||
userSignDate.getTime(), beginTimeOfYesterday.getTime(), endTimeOfYesterday.getTime());
|
||||
if (null != userSignDate
|
||||
&& userSignDate.compareTo(beginTimeOfYesterday) >= 0 && userSignDate.compareTo(endTimeOfYesterday) <= 0) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: AdPlatformUserRegisterListener
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/8/10
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.dto.kuaishou.KuaiShouEventDto;
|
||||
import com.accompany.business.enums.AdPlatformEnum;
|
||||
import com.accompany.business.enums.JuLiangEventTypeEnum;
|
||||
import com.accompany.business.enums.KuaishouEventTypeEnum;
|
||||
import com.accompany.business.event.NewUserEvent;
|
||||
import com.accompany.business.service.ad.AdPlatformStrategyFactory;
|
||||
import com.accompany.business.service.ad.IAdPlatformStrategy;
|
||||
import com.accompany.business.util.AdPlatformUtil;
|
||||
import com.accompany.common.constant.Constant;
|
||||
import com.accompany.core.model.Users;
|
||||
import com.accompany.core.service.account.AccountService;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* <br>类描述: 广告平台用户注册listener
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/8/10]
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class AdPlatformUserRegisterListener implements ApplicationListener<NewUserEvent> {
|
||||
@Autowired
|
||||
private AccountService accountService;
|
||||
@Autowired
|
||||
private AdPlatformStrategyFactory adPlatformStrategyFactory;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(NewUserEvent event) {
|
||||
Users user = (Users) event.getSource();
|
||||
if (user.getDefUser() == null) {
|
||||
user.setDefUser(Constant.DefUser.NORMAL);
|
||||
}
|
||||
if (!Constant.DefUser.NORMAL.equals(user.getDefUser())) {
|
||||
return;
|
||||
}
|
||||
log.info("AdPlatformUserRegisterListener, activeTrack register userInfo {}", JSONObject.toJSONString(user));
|
||||
try {
|
||||
AdPlatformEnum adPlatformEnum = adPlatformStrategyFactory.getAdPlatform(user.getChannel());
|
||||
if (adPlatformEnum == null) adPlatformEnum = AdPlatformEnum.MOCK;
|
||||
|
||||
IAdPlatformStrategy strategy = adPlatformStrategyFactory.getAdStrategy(adPlatformEnum);
|
||||
|
||||
if (AdPlatformEnum.KUAISHOU.getType().equals(adPlatformEnum.getType())) {
|
||||
log.info("AdPlatform register kuaishou start activeTrack uid[{}],channel[{}]", user.getUid(), user.getChannel());
|
||||
KuaiShouEventDto kuaiShouEventDto = new KuaiShouEventDto();
|
||||
kuaiShouEventDto.setUser(user);
|
||||
kuaiShouEventDto.setEventType(KuaishouEventTypeEnum.REGISTER.getValue());
|
||||
strategy.activeTrack(AdPlatformUtil.buildReqParams(kuaiShouEventDto));
|
||||
}else {
|
||||
log.info("AdPlatform register douyin start activeTrack uid[{}],channel[{}]", user.getUid(), user.getChannel());
|
||||
strategy.activeTrack(AdPlatformUtil.buildReqParams(user, JuLiangEventTypeEnum.REGISTER.getValue()));
|
||||
}
|
||||
|
||||
} catch (Exception e){
|
||||
log.error("AdPlatformUserRegisterListener, activeTrack register fail",e);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,44 +0,0 @@
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
import com.accompany.business.event.RadishGiftMessageEvent;
|
||||
import com.accompany.business.message.RadishGiftMessage;
|
||||
import com.accompany.business.service.activity.ActivityConfigService;
|
||||
import com.accompany.business.service.activity.LoverActivityService;
|
||||
import com.accompany.common.constant.ActivityConf;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Created By LeeNana on 2019/5/10.
|
||||
* 520 萝卜礼物赠送/接收监听
|
||||
*/
|
||||
//@Component
|
||||
public class LoverActivityRadishGiftListener implements ApplicationListener<RadishGiftMessageEvent> {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(LoverActivityRadishGiftListener.class);
|
||||
|
||||
@Autowired
|
||||
private LoverActivityService loverActivityService;
|
||||
@Autowired
|
||||
private ActivityConfigService activityConfigService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(RadishGiftMessageEvent giftMessageEvent) {
|
||||
RadishGiftMessage giftMessage = (RadishGiftMessage) giftMessageEvent.getSource();
|
||||
LOGGER.info("radishGift_updateTaskProgress, radishGiftMessage is {}", giftMessage);
|
||||
try {
|
||||
if (activityConfigService.isInActivityRange(new Date(giftMessage.getMessTime()), ActivityConf.LoverActivityConf.LOVER_ACTIVITY_START, ActivityConf.LoverActivityConf.LOVER_ACTIVITY_END)) {
|
||||
loverActivityService.updateTaskProgress(giftMessage.getSendUid(), giftMessage.getReceiveUid(),
|
||||
giftMessage.getGiftId(), giftMessage.getGiftNum());
|
||||
}
|
||||
}catch (Exception e){
|
||||
LOGGER.error("update looking for lover task progress failed, radishGiftMessage is {}", giftMessage,e);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,40 +1,52 @@
|
||||
package com.accompany.business.mq;
|
||||
package com.accompany.business.event.listener;
|
||||
|
||||
|
||||
import com.accompany.business.event.NewUserEvent;
|
||||
import com.accompany.business.param.neteasepush.NeteaseSendMsgParam;
|
||||
import com.accompany.business.service.SendSysMsgService;
|
||||
import com.accompany.business.service.user.UserInviteCodeService;
|
||||
import com.accompany.common.config.SystemConfig;
|
||||
import com.accompany.common.constant.Attach;
|
||||
import com.accompany.common.constant.Constant;
|
||||
import com.accompany.core.vo.UserLoginMessageVo;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.accompany.core.model.Users;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.xuanyin.flowteam.service.FlowTeamMemberInviteUserBizService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.jms.annotation.JmsListener;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Slf4j
|
||||
public class FirstLoginVersionUpdateMsgUserLoginListener {
|
||||
public class NewUserListener implements ApplicationListener<NewUserEvent> {
|
||||
|
||||
@Autowired
|
||||
private UserInviteCodeService userInviteCodeService;
|
||||
@Autowired
|
||||
private FlowTeamMemberInviteUserBizService flowTeamMemberInviteUserBizService;
|
||||
@Autowired
|
||||
private SendSysMsgService sendSysMsgService;
|
||||
|
||||
@JmsListener(destination = "first_login_version_msg_queue",containerFactory = "firstLoginVersionMsgContainer")
|
||||
public void onMessage(UserLoginMessageVo userLogin) {
|
||||
log.info("首次登录版本小秘书登录消息, msg: {} ", JSON.toJSONString(userLogin));
|
||||
try {
|
||||
sendFirstLoginVersionUpdateMsgToUser(userLogin.getUid(), userLogin.getAppVersion());
|
||||
} catch (Exception e) {
|
||||
log.error("首次登录版本小秘书登录消息失败", e);
|
||||
}
|
||||
@Async
|
||||
@Override
|
||||
public void onApplicationEvent(NewUserEvent event) {
|
||||
Users user = (Users) event.getSource();
|
||||
Long uid = user.getUid();
|
||||
|
||||
// 初始化用户邀请码
|
||||
userInviteCodeService.initUserInivteCode(uid);
|
||||
// 绑定与引流小组成员的邀请关系
|
||||
flowTeamMemberInviteUserBizService.saveFlowTeamMemberInviteUserAsync(user.getInviteCode(), uid);
|
||||
|
||||
log.info("首次登录版本小秘书登录消息, {} ", uid);
|
||||
sendFirstLoginMsgToUser(uid);
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送小秘书通知给用户
|
||||
*/
|
||||
private void sendFirstLoginVersionUpdateMsgToUser(Long uid, String currLoginVersion) {
|
||||
private void sendFirstLoginMsgToUser(Long uid) {
|
||||
Attach attach = new Attach();
|
||||
attach.setFirst(Constant.DefineProtocol.CUSTOM_MESS_HEAD_SECRETARY);
|
||||
attach.setSecond(Constant.DefineProtocol.CUSTOM_MESS_SUB_SECRETARY_INTRACTION);
|
||||
@@ -54,6 +66,5 @@ public class FirstLoginVersionUpdateMsgUserLoginListener {
|
||||
neteaseSendMsgParam.setAttach(attach);
|
||||
sendSysMsgService.sendMsg(neteaseSendMsgParam);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,36 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.ActivityUserLoginEvent;
|
||||
import com.accompany.business.service.activity.ActivityLoveWallService;
|
||||
import com.accompany.business.service.activity.ActivityOneYearSweetCakeService;
|
||||
import com.accompany.business.service.activity.ActivityYearBeastService;
|
||||
import com.accompany.core.vo.UserLoginMessageVo;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActUserLoginListener implements ApplicationListener<ActivityUserLoginEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityYearBeastService activityYearBeastService;
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
|
||||
@Async
|
||||
@Override
|
||||
public void onApplicationEvent(ActivityUserLoginEvent loginEvent) {
|
||||
UserLoginMessageVo userLoginMsg = (UserLoginMessageVo) loginEvent.getSource();
|
||||
log.info("活动用户登录事件 用户:{} 设备号:{} 下载渠道:{} app:{} 版本:{}",
|
||||
userLoginMsg.getUid(), userLoginMsg.getDeviceId(), userLoginMsg.getChannel(), userLoginMsg.getApp(), userLoginMsg.getAppVersion());
|
||||
|
||||
// 年兽活动首登任务
|
||||
// activityYearBeastService.yearBeastCheckUserFistLogin(userLoginMsg);
|
||||
|
||||
// 一周年每日登录任务
|
||||
activityOneYearSweetCakeService.checkUserLogin(userLoginMsg);
|
||||
}
|
||||
}
|
@@ -1,67 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.room.UserInRoomEvent;
|
||||
import com.accompany.business.message.room.UserInRoomMessage;
|
||||
import com.accompany.business.service.activity.ActMagicSchoolService;
|
||||
import com.accompany.business.service.activity.ActivityLOLService;
|
||||
import com.accompany.business.service.activity.ActivityMidAutumnService;
|
||||
import com.accompany.business.service.activity.ActivityOneYearSweetCakeService;
|
||||
import com.accompany.business.service.activity.ActivityYearBeastService;
|
||||
import com.accompany.business.vo.RoomVo;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import com.google.gson.Gson;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 活动通用进房通知
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivitiyInRoomListener implements ApplicationListener<UserInRoomEvent> {
|
||||
|
||||
private Gson gson = new Gson();
|
||||
|
||||
@Autowired
|
||||
private ActivityLOLService activitiyMoonFestivalService;
|
||||
@Autowired
|
||||
private ActivityYearBeastService activityYearBeastService;
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
@Autowired
|
||||
private ActivityMidAutumnService activityMidAutumnService;
|
||||
@Autowired
|
||||
private ActMagicSchoolService actMagicSchoolService;
|
||||
|
||||
@Async
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void onApplicationEvent(UserInRoomEvent userInRoomEvent) {
|
||||
UserInRoomMessage userInRoomMessage = (UserInRoomMessage) userInRoomEvent.getSource();
|
||||
Long uid = userInRoomMessage.getUid();
|
||||
RoomVo roomVo = userInRoomMessage.getRoomVo();
|
||||
log.info("activity user in room event, uid:{},roomVo:{},", uid, gson.toJson(roomVo));
|
||||
// // 英雄联盟拉新活动
|
||||
// activitiyMoonFestivalService.checkActLOLUserInRoom(uid, roomVo);
|
||||
// 2022打年兽活动
|
||||
// activityYearBeastService.actYearBeastUserInRoom(userInRoomMessage);
|
||||
// 一周年用户房间停留任务
|
||||
activityOneYearSweetCakeService.actUserInRoom(userInRoomMessage);
|
||||
|
||||
try {
|
||||
activityMidAutumnService.handleUserInRoom(uid);
|
||||
} catch (Exception e) {
|
||||
log.error("2022 中秋进房监听出现异常, goldGiftMessage is {}", JSON.toJSONString(userInRoomEvent), e);
|
||||
}
|
||||
// activityOneYearSweetCakeService.actUserInRoom(userInRoomMessage);
|
||||
|
||||
// 2022魔法学院活动
|
||||
actMagicSchoolService.actUserInRoom(userInRoomMessage);
|
||||
}
|
||||
|
||||
|
||||
}
|
@@ -1,77 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.room.UserOutRoomEvent;
|
||||
import com.accompany.business.message.room.UserOutRoomMessage;
|
||||
import com.accompany.business.service.activities.CpAct2022BizService;
|
||||
import com.accompany.business.service.activity.ActMagicSchoolService;
|
||||
import com.accompany.business.service.activity.ActivityLOLService;
|
||||
import com.accompany.business.service.activity.ActivityMidAutumnService;
|
||||
import com.accompany.business.service.activity.ActivityOneYearSweetCakeService;
|
||||
import com.accompany.business.service.activity.ActivityYearBeastService;
|
||||
import com.google.gson.Gson;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 活动通用进房通知
|
||||
*/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivitiyOutRoomListener implements ApplicationListener<UserOutRoomEvent> {
|
||||
|
||||
private Gson gson = new Gson();
|
||||
|
||||
@Autowired
|
||||
private ActivityLOLService activitiyMoonFestivalService;
|
||||
@Autowired
|
||||
private ActivityYearBeastService activityYearBeastService;
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
@Autowired
|
||||
private CpAct2022BizService cpAct2022BizService;
|
||||
@Autowired
|
||||
private ActivityMidAutumnService activityMidAutumnService;
|
||||
@Autowired
|
||||
private ActMagicSchoolService actMagicSchoolService;
|
||||
|
||||
|
||||
@Async
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void onApplicationEvent(UserOutRoomEvent userOutRoomEvent) {
|
||||
UserOutRoomMessage userOutRoomMessage = (UserOutRoomMessage) userOutRoomEvent.getSource();
|
||||
log.info("活动退出房间记录:{}", gson.toJson(userOutRoomMessage));
|
||||
if (userOutRoomMessage == null) {
|
||||
return;
|
||||
}
|
||||
Long roomUid = userOutRoomMessage.getRoomUid();
|
||||
//当前离开房间用户uid
|
||||
Long uid = userOutRoomMessage.getUid();
|
||||
// 英雄联盟拉新活动
|
||||
// activitiyMoonFestivalService.checkActLOLUserOutRoom(uid, roomUid);
|
||||
// 2022打年兽活动
|
||||
// activityYearBeastService.actYearBeastUserOutRoom(uid, roomUid);
|
||||
// 一周年用户房间停留任务
|
||||
activityOneYearSweetCakeService.actUserOutRoom(uid, roomUid);
|
||||
|
||||
// 2022七夕活动
|
||||
cpAct2022BizService.handleUserOutRoomTask(uid);
|
||||
|
||||
try {
|
||||
activityMidAutumnService.handleUserOutRoom(uid);
|
||||
} catch (Exception e) {
|
||||
log.info("act mid autumn handle user out room error", e);
|
||||
}
|
||||
// activityOneYearSweetCakeService.actUserOutRoom(uid,roomUid);
|
||||
// 2022七夕活动
|
||||
// cpAct2022BizService.handleUserOutRoomTask(uid);
|
||||
|
||||
// 2022魔法学院活动
|
||||
actMagicSchoolService.actUserOutRoom(uid,roomUid);
|
||||
}
|
||||
|
||||
}
|
@@ -1,28 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.ChargeSuccessEvent;
|
||||
import com.accompany.business.service.activity.ActivityOneYearSweetCakeService;
|
||||
import com.accompany.payment.model.ChargeRecord;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityChargeSuccessListener implements ApplicationListener<ChargeSuccessEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
|
||||
@Async
|
||||
@Override
|
||||
public void onApplicationEvent(ChargeSuccessEvent chargeSuccessEvent) {
|
||||
ChargeRecord chargeRecord = (ChargeRecord) chargeSuccessEvent.getSource();
|
||||
|
||||
// 一周年充值成功任务
|
||||
activityOneYearSweetCakeService.actChargeSuccess(chargeRecord);
|
||||
}
|
||||
}
|
@@ -1,54 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.service.activity.*;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityGiftLinstener implements ApplicationListener<GiftMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityLOLService activitiyMoonFestivalService;
|
||||
@Autowired
|
||||
private ActivityYearBeastService activityYearBeastService;
|
||||
@Autowired
|
||||
private ActivityLoveWallService activityLoveWallService;
|
||||
@Autowired
|
||||
private ActivityLoveRankService activityLoveRankService;
|
||||
@Autowired
|
||||
private ActivityOneYearService activityOneYearService;
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
@Autowired
|
||||
private ActMagicSchoolService actMagicSchoolService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent giftMessageEvent) {
|
||||
GiftMessage giftMessage = (GiftMessage) giftMessageEvent.getSource();
|
||||
|
||||
// 英雄联盟拉新活动
|
||||
// activitiyMoonFestivalService.checkUserActLOLSendGift(giftMessage);
|
||||
// // 22新年年兽榜单
|
||||
// activityYearBeastService.addYearBeastRanking(giftMessage);
|
||||
// // 22新年年兽礼物鞭炮
|
||||
// activityYearBeastService.addYearBeastGiftProps(giftMessage);
|
||||
// // 2022情人节告白墙送礼
|
||||
// activityLoveWallService.actLoveWallUserSendGift(giftMessage);
|
||||
// 2022 520榜单送礼
|
||||
// activityLoveRankService.addUserLoveRank(giftMessage);
|
||||
// 一周年活动
|
||||
// activityOneYearService.addOneYearRank(giftMessage);
|
||||
// activityOneYearSweetCakeService.actGiftData(giftMessage);
|
||||
|
||||
// 2022魔法学院活动送礼任务
|
||||
actMagicSchoolService.userSendGiftTask(giftMessage);
|
||||
actMagicSchoolService.sendGfitAddProps(giftMessage);
|
||||
}
|
||||
}
|
@@ -1,42 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.LuckyBagMessageEvent;
|
||||
import com.accompany.business.message.LuckyBagMessage;
|
||||
import com.accompany.business.service.activity.ActLuckyBagRankService;
|
||||
import com.accompany.business.service.activity.ActivityLuckyPlanetService;
|
||||
import com.accompany.business.service.activity.ActivityYearBeastService;
|
||||
import com.google.gson.Gson;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityLuckyBagListener implements ApplicationListener<LuckyBagMessageEvent> {
|
||||
|
||||
private Gson gson = new Gson();
|
||||
|
||||
@Autowired
|
||||
private ActivityYearBeastService activityYearBeastService;
|
||||
@Autowired
|
||||
private ActLuckyBagRankService actLuckyBagRankService;
|
||||
@Autowired
|
||||
private ActivityLuckyPlanetService activityLuckyPlanetService;
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(LuckyBagMessageEvent eveny) {
|
||||
LuckyBagMessage luckyBagMessage = (LuckyBagMessage) eveny.getSource();
|
||||
log.info("activity user sendLuckBag luckyBagMessage:{},", gson.toJson(luckyBagMessage));
|
||||
|
||||
// 2022年兽活动
|
||||
activityYearBeastService.addYearBeastLuckyBagProps(luckyBagMessage);
|
||||
|
||||
// 2022福袋榜单活动
|
||||
// actLuckyBagRankService.incrLuckyBagRank(luckyBagMessage);
|
||||
|
||||
// 2022 福袋活动
|
||||
activityLuckyPlanetService.handleLuckyBagMsg(luckyBagMessage);
|
||||
}
|
||||
}
|
@@ -1,37 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.box.BoxPrizeEvent;
|
||||
import com.accompany.business.message.BoxPrizeEntity;
|
||||
import com.accompany.business.message.BoxPrizeMessage;
|
||||
import com.accompany.business.service.activity.ActivityOneYearSweetCakeService;
|
||||
import com.accompany.business.service.activity.ActivityYearBeastService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
@Slf4j
|
||||
public class ActivityOpenBoxPrizeListener implements ApplicationListener<BoxPrizeEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityYearBeastService activityYearBeastService;
|
||||
@Autowired
|
||||
private ActivityOneYearSweetCakeService activityOneYearSweetCakeService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(BoxPrizeEvent boxPrizeEvent) {
|
||||
BoxPrizeMessage boxPrizeMessage = (BoxPrizeMessage) boxPrizeEvent.getSource();
|
||||
List<BoxPrizeEntity> prizeList = boxPrizeMessage.getPrizeList();
|
||||
|
||||
// 22新年年兽糖果树任务
|
||||
activityYearBeastService.checkUserPookPrizeTask(prizeList,boxPrizeMessage.getUid(), boxPrizeMessage.getMessTime());
|
||||
|
||||
// 一周年许愿池任务
|
||||
activityOneYearSweetCakeService.actOpenBoxPrize(boxPrizeMessage.getUid(), boxPrizeMessage);
|
||||
}
|
||||
}
|
@@ -1,32 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.ActivityUserInfoUpdateEvent;
|
||||
import com.accompany.business.message.UserInfoUpdateMessage;
|
||||
import com.accompany.business.service.activity.ActivityLOLService;
|
||||
import com.accompany.core.model.Users;
|
||||
import com.accompany.core.vo.UserVo;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
|
||||
@Slf4j
|
||||
@Component
|
||||
public class ActivityUserInfoUpdateListener implements ApplicationListener<ActivityUserInfoUpdateEvent> {
|
||||
|
||||
@Autowired
|
||||
private ActivityLOLService activityLOLService;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(ActivityUserInfoUpdateEvent event) {
|
||||
UserInfoUpdateMessage updateUserInfoMsg = (UserInfoUpdateMessage) event.getSource();
|
||||
// 2021英雄联盟拉新活动
|
||||
activityLOLService.checkActivityLOLUsesLogin(updateUserInfoMsg);
|
||||
log.info("ActivityUserInfoUpdateListener,users:{},msgSource:{}", updateUserInfoMsg.getUsers(), updateUserInfoMsg.getMsgStatus());
|
||||
|
||||
}
|
||||
|
||||
}
|
@@ -1,51 +0,0 @@
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.event.room.UserInRoomEvent;
|
||||
import com.accompany.business.message.room.UserInRoomMessage;
|
||||
import com.accompany.business.service.activities.CpAct2022BizService;
|
||||
import com.accompany.business.vo.RoomVo;
|
||||
import lombok.SneakyThrows;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author: aiyo
|
||||
* @Description: 2022cp活动用户进房时间通知
|
||||
**/
|
||||
@Slf4j
|
||||
@Component
|
||||
public class CpAct2022UserIntoRoomListener implements ApplicationListener<UserInRoomEvent> {
|
||||
|
||||
@Autowired
|
||||
private CpAct2022BizService cpAct2022BizService;
|
||||
|
||||
|
||||
/**
|
||||
* 用户进房处理
|
||||
* @param userInRoomEvent
|
||||
*/
|
||||
@Async
|
||||
@Override
|
||||
@SneakyThrows
|
||||
public void onApplicationEvent(UserInRoomEvent userInRoomEvent) {
|
||||
UserInRoomMessage userInRoomMessage = (UserInRoomMessage) userInRoomEvent.getSource();
|
||||
if (userInRoomMessage == null) {
|
||||
return;
|
||||
}
|
||||
RoomVo roomVo = userInRoomMessage.getRoomVo();
|
||||
Long uid = userInRoomMessage.getUid();
|
||||
Long roomUid = roomVo.getUid();
|
||||
|
||||
//当前进房用户uid
|
||||
if (roomUid.equals(uid)) {
|
||||
log.warn("进入的是自己房间,无需记录时长, uid {}, roomuid {}", uid, roomUid);
|
||||
return;
|
||||
}
|
||||
|
||||
cpAct2022BizService.handleUserIntoRoomTask(uid);
|
||||
|
||||
}
|
||||
}
|
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: WishStarCupKeySendGiftListener
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/12/7
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.enums.UserActPropertyObjType;
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.param.activity.WishStarCupAddKeyParams;
|
||||
import com.accompany.business.service.activity.stategy.IWishStarCupKeyStrategy;
|
||||
import com.accompany.business.service.activity.stategy.WishStarCupKeyStrategyFactory;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* <br>类描述: 许愿星杯送礼获取魔法棒
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/12/7]
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class WishStarCupKeySendGiftListener implements ApplicationListener<GiftMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private WishStarCupKeyStrategyFactory factory;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent event) {
|
||||
GiftMessage giftMessage = (GiftMessage) event.getSource();
|
||||
log.info("【许愿星杯】处理用户送礼获取魔法棒 message {}", JSON.toJSONString(giftMessage));
|
||||
Long sendUid = giftMessage.getSendUid();
|
||||
Long goldNum = giftMessage.getGoldNum();
|
||||
IWishStarCupKeyStrategy strategy = factory.getInstance(UserActPropertyObjType.SEND_GIFT.getValue());
|
||||
WishStarCupAddKeyParams params = WishStarCupAddKeyParams.builder()
|
||||
.uid(sendUid).objType(UserActPropertyObjType.SEND_GIFT).goldNum(goldNum).build();
|
||||
strategy.addUserKey(params);
|
||||
}
|
||||
}
|
@@ -1,52 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: WishStarCupKeySendGiftListener
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/12/7
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.event.listener.activity;
|
||||
|
||||
import com.accompany.business.enums.UserActPropertyObjType;
|
||||
import com.accompany.business.event.GiftMessageEvent;
|
||||
import com.accompany.business.message.GiftMessage;
|
||||
import com.accompany.business.param.activity.WishStarCupAddKeyParams;
|
||||
import com.accompany.business.service.activity.stategy.IWishStarCupKeyStrategy;
|
||||
import com.accompany.business.service.activity.stategy.WishStarCupKeyStrategyFactory;
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.scheduling.annotation.Async;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* <br>类描述: 许愿星杯全民狂欢送礼获取魔法棒
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/12/7]
|
||||
*/
|
||||
@Component
|
||||
@Slf4j
|
||||
public class WishStarCupKeyServerSendGiftListener implements ApplicationListener<GiftMessageEvent> {
|
||||
|
||||
@Autowired
|
||||
private WishStarCupKeyStrategyFactory factory;
|
||||
|
||||
@Override
|
||||
@Async
|
||||
public void onApplicationEvent(GiftMessageEvent event) {
|
||||
GiftMessage giftMessage = (GiftMessage) event.getSource();
|
||||
log.info("【许愿星杯】处理全民狂欢用户送礼获取魔法棒 message {}", JSON.toJSONString(giftMessage));
|
||||
Long sendUid = giftMessage.getSendUid();
|
||||
Long goldNum = giftMessage.getGoldNum();
|
||||
IWishStarCupKeyStrategy strategy = factory.getInstance(UserActPropertyObjType.SERVER_STAGE.getValue());
|
||||
WishStarCupAddKeyParams params = WishStarCupAddKeyParams.builder()
|
||||
.uid(sendUid).goldNum(goldNum).objType(UserActPropertyObjType.SERVER_STAGE).build();
|
||||
strategy.addUserKey(params);
|
||||
}
|
||||
}
|
@@ -1,15 +0,0 @@
|
||||
package com.accompany.business.message;
|
||||
|
||||
|
||||
import com.accompany.core.model.Users;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UserInfoUpdateMessage implements Serializable {
|
||||
|
||||
private Users users;
|
||||
|
||||
private Byte msgStatus;
|
||||
}
|
@@ -1,28 +0,0 @@
|
||||
package com.accompany.business.message;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by PaperCut on 2018/7/16.
|
||||
* 许愿星杯中奖消息
|
||||
*/
|
||||
@Data
|
||||
public class WishStarCupPrizeMessage implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
// 消息id
|
||||
private String messId;
|
||||
// 消息创建时间
|
||||
private Long messTime;
|
||||
// 中奖用户
|
||||
private Long uid;
|
||||
// 中奖列表 (这里复用BoxPrizeEntity主要原因是能够使用中奖分发的策略类)
|
||||
private List<BoxPrizeEntity> prizeList;
|
||||
// 是否抽中限定礼物
|
||||
private Boolean hasSpecialPrize;
|
||||
|
||||
}
|
@@ -1,55 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class ActBlessingRecord {
|
||||
private Long rid;
|
||||
|
||||
private Long uid;
|
||||
|
||||
private String blessingContent;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Byte delFlag;
|
||||
|
||||
public Long getRid() {
|
||||
return rid;
|
||||
}
|
||||
|
||||
public void setRid(Long rid) {
|
||||
this.rid = rid;
|
||||
}
|
||||
|
||||
public Long getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(Long uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public String getBlessingContent() {
|
||||
return blessingContent;
|
||||
}
|
||||
|
||||
public void setBlessingContent(String blessingContent) {
|
||||
this.blessingContent = blessingContent == null ? null : blessingContent.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Byte getDelFlag() {
|
||||
return delFlag;
|
||||
}
|
||||
|
||||
public void setDelFlag(Byte delFlag) {
|
||||
this.delFlag = delFlag;
|
||||
}
|
||||
}
|
@@ -1,531 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class ActBlessingRecordExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public ActBlessingRecordExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andRidIsNull() {
|
||||
addCriterion("rid is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidIsNotNull() {
|
||||
addCriterion("rid is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidEqualTo(Long value) {
|
||||
addCriterion("rid =", value, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidNotEqualTo(Long value) {
|
||||
addCriterion("rid <>", value, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidGreaterThan(Long value) {
|
||||
addCriterion("rid >", value, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("rid >=", value, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidLessThan(Long value) {
|
||||
addCriterion("rid <", value, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidLessThanOrEqualTo(Long value) {
|
||||
addCriterion("rid <=", value, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidIn(List<Long> values) {
|
||||
addCriterion("rid in", values, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidNotIn(List<Long> values) {
|
||||
addCriterion("rid not in", values, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidBetween(Long value1, Long value2) {
|
||||
addCriterion("rid between", value1, value2, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRidNotBetween(Long value1, Long value2) {
|
||||
addCriterion("rid not between", value1, value2, "rid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidIsNull() {
|
||||
addCriterion("uid is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidIsNotNull() {
|
||||
addCriterion("uid is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidEqualTo(Long value) {
|
||||
addCriterion("uid =", value, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidNotEqualTo(Long value) {
|
||||
addCriterion("uid <>", value, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidGreaterThan(Long value) {
|
||||
addCriterion("uid >", value, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("uid >=", value, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidLessThan(Long value) {
|
||||
addCriterion("uid <", value, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidLessThanOrEqualTo(Long value) {
|
||||
addCriterion("uid <=", value, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidIn(List<Long> values) {
|
||||
addCriterion("uid in", values, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidNotIn(List<Long> values) {
|
||||
addCriterion("uid not in", values, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidBetween(Long value1, Long value2) {
|
||||
addCriterion("uid between", value1, value2, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUidNotBetween(Long value1, Long value2) {
|
||||
addCriterion("uid not between", value1, value2, "uid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentIsNull() {
|
||||
addCriterion("blessing_content is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentIsNotNull() {
|
||||
addCriterion("blessing_content is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentEqualTo(String value) {
|
||||
addCriterion("blessing_content =", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentNotEqualTo(String value) {
|
||||
addCriterion("blessing_content <>", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentGreaterThan(String value) {
|
||||
addCriterion("blessing_content >", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("blessing_content >=", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentLessThan(String value) {
|
||||
addCriterion("blessing_content <", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentLessThanOrEqualTo(String value) {
|
||||
addCriterion("blessing_content <=", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentLike(String value) {
|
||||
addCriterion("blessing_content like", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentNotLike(String value) {
|
||||
addCriterion("blessing_content not like", value, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentIn(List<String> values) {
|
||||
addCriterion("blessing_content in", values, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentNotIn(List<String> values) {
|
||||
addCriterion("blessing_content not in", values, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentBetween(String value1, String value2) {
|
||||
addCriterion("blessing_content between", value1, value2, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andBlessingContentNotBetween(String value1, String value2) {
|
||||
addCriterion("blessing_content not between", value1, value2, "blessingContent");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagIsNull() {
|
||||
addCriterion("del_flag is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagIsNotNull() {
|
||||
addCriterion("del_flag is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagEqualTo(Byte value) {
|
||||
addCriterion("del_flag =", value, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagNotEqualTo(Byte value) {
|
||||
addCriterion("del_flag <>", value, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagGreaterThan(Byte value) {
|
||||
addCriterion("del_flag >", value, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
|
||||
addCriterion("del_flag >=", value, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagLessThan(Byte value) {
|
||||
addCriterion("del_flag <", value, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
|
||||
addCriterion("del_flag <=", value, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagIn(List<Byte> values) {
|
||||
addCriterion("del_flag in", values, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagNotIn(List<Byte> values) {
|
||||
addCriterion("del_flag not in", values, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagBetween(Byte value1, Byte value2) {
|
||||
addCriterion("del_flag between", value1, value2, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
|
||||
addCriterion("del_flag not between", value1, value2, "delFlag");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,85 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class ActPlayTeamInfo {
|
||||
private Long teamId;
|
||||
|
||||
private String teamName;
|
||||
|
||||
private Long teamUid;
|
||||
|
||||
private String teamNo;
|
||||
|
||||
private String portrait;
|
||||
|
||||
private Byte status;
|
||||
|
||||
private String remark;
|
||||
|
||||
private Date createdTime;
|
||||
|
||||
public Long getTeamId() {
|
||||
return teamId;
|
||||
}
|
||||
|
||||
public void setTeamId(Long teamId) {
|
||||
this.teamId = teamId;
|
||||
}
|
||||
|
||||
public String getTeamName() {
|
||||
return teamName;
|
||||
}
|
||||
|
||||
public void setTeamName(String teamName) {
|
||||
this.teamName = teamName == null ? null : teamName.trim();
|
||||
}
|
||||
|
||||
public Long getTeamUid() {
|
||||
return teamUid;
|
||||
}
|
||||
|
||||
public void setTeamUid(Long teamUid) {
|
||||
this.teamUid = teamUid;
|
||||
}
|
||||
|
||||
public String getTeamNo() {
|
||||
return teamNo;
|
||||
}
|
||||
|
||||
public void setTeamNo(String teamNo) {
|
||||
this.teamNo = teamNo == null ? null : teamNo.trim();
|
||||
}
|
||||
|
||||
public String getPortrait() {
|
||||
return portrait;
|
||||
}
|
||||
|
||||
public void setPortrait(String portrait) {
|
||||
this.portrait = portrait == null ? null : portrait.trim();
|
||||
}
|
||||
|
||||
public Byte getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Byte status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark == null ? null : remark.trim();
|
||||
}
|
||||
|
||||
public Date getCreatedTime() {
|
||||
return createdTime;
|
||||
}
|
||||
|
||||
public void setCreatedTime(Date createdTime) {
|
||||
this.createdTime = createdTime;
|
||||
}
|
||||
}
|
@@ -1,741 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class ActPlayTeamInfoExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public ActPlayTeamInfoExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andTeamIdIsNull() {
|
||||
addCriterion("team_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdIsNotNull() {
|
||||
addCriterion("team_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdEqualTo(Long value) {
|
||||
addCriterion("team_id =", value, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdNotEqualTo(Long value) {
|
||||
addCriterion("team_id <>", value, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdGreaterThan(Long value) {
|
||||
addCriterion("team_id >", value, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("team_id >=", value, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdLessThan(Long value) {
|
||||
addCriterion("team_id <", value, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("team_id <=", value, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdIn(List<Long> values) {
|
||||
addCriterion("team_id in", values, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdNotIn(List<Long> values) {
|
||||
addCriterion("team_id not in", values, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdBetween(Long value1, Long value2) {
|
||||
addCriterion("team_id between", value1, value2, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("team_id not between", value1, value2, "teamId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameIsNull() {
|
||||
addCriterion("team_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameIsNotNull() {
|
||||
addCriterion("team_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameEqualTo(String value) {
|
||||
addCriterion("team_name =", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameNotEqualTo(String value) {
|
||||
addCriterion("team_name <>", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameGreaterThan(String value) {
|
||||
addCriterion("team_name >", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("team_name >=", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameLessThan(String value) {
|
||||
addCriterion("team_name <", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("team_name <=", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameLike(String value) {
|
||||
addCriterion("team_name like", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameNotLike(String value) {
|
||||
addCriterion("team_name not like", value, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameIn(List<String> values) {
|
||||
addCriterion("team_name in", values, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameNotIn(List<String> values) {
|
||||
addCriterion("team_name not in", values, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameBetween(String value1, String value2) {
|
||||
addCriterion("team_name between", value1, value2, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNameNotBetween(String value1, String value2) {
|
||||
addCriterion("team_name not between", value1, value2, "teamName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidIsNull() {
|
||||
addCriterion("team_uid is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidIsNotNull() {
|
||||
addCriterion("team_uid is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidEqualTo(Long value) {
|
||||
addCriterion("team_uid =", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidNotEqualTo(Long value) {
|
||||
addCriterion("team_uid <>", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidGreaterThan(Long value) {
|
||||
addCriterion("team_uid >", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("team_uid >=", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidLessThan(Long value) {
|
||||
addCriterion("team_uid <", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidLessThanOrEqualTo(Long value) {
|
||||
addCriterion("team_uid <=", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidIn(List<Long> values) {
|
||||
addCriterion("team_uid in", values, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidNotIn(List<Long> values) {
|
||||
addCriterion("team_uid not in", values, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidBetween(Long value1, Long value2) {
|
||||
addCriterion("team_uid between", value1, value2, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidNotBetween(Long value1, Long value2) {
|
||||
addCriterion("team_uid not between", value1, value2, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoIsNull() {
|
||||
addCriterion("team_no is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoIsNotNull() {
|
||||
addCriterion("team_no is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoEqualTo(String value) {
|
||||
addCriterion("team_no =", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoNotEqualTo(String value) {
|
||||
addCriterion("team_no <>", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoGreaterThan(String value) {
|
||||
addCriterion("team_no >", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("team_no >=", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoLessThan(String value) {
|
||||
addCriterion("team_no <", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoLessThanOrEqualTo(String value) {
|
||||
addCriterion("team_no <=", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoLike(String value) {
|
||||
addCriterion("team_no like", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoNotLike(String value) {
|
||||
addCriterion("team_no not like", value, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoIn(List<String> values) {
|
||||
addCriterion("team_no in", values, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoNotIn(List<String> values) {
|
||||
addCriterion("team_no not in", values, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoBetween(String value1, String value2) {
|
||||
addCriterion("team_no between", value1, value2, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamNoNotBetween(String value1, String value2) {
|
||||
addCriterion("team_no not between", value1, value2, "teamNo");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitIsNull() {
|
||||
addCriterion("portrait is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitIsNotNull() {
|
||||
addCriterion("portrait is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitEqualTo(String value) {
|
||||
addCriterion("portrait =", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitNotEqualTo(String value) {
|
||||
addCriterion("portrait <>", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitGreaterThan(String value) {
|
||||
addCriterion("portrait >", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("portrait >=", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitLessThan(String value) {
|
||||
addCriterion("portrait <", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitLessThanOrEqualTo(String value) {
|
||||
addCriterion("portrait <=", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitLike(String value) {
|
||||
addCriterion("portrait like", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitNotLike(String value) {
|
||||
addCriterion("portrait not like", value, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitIn(List<String> values) {
|
||||
addCriterion("portrait in", values, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitNotIn(List<String> values) {
|
||||
addCriterion("portrait not in", values, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitBetween(String value1, String value2) {
|
||||
addCriterion("portrait between", value1, value2, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPortraitNotBetween(String value1, String value2) {
|
||||
addCriterion("portrait not between", value1, value2, "portrait");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIsNull() {
|
||||
addCriterion("status is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIsNotNull() {
|
||||
addCriterion("status is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusEqualTo(Byte value) {
|
||||
addCriterion("status =", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotEqualTo(Byte value) {
|
||||
addCriterion("status <>", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusGreaterThan(Byte value) {
|
||||
addCriterion("status >", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
|
||||
addCriterion("status >=", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusLessThan(Byte value) {
|
||||
addCriterion("status <", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusLessThanOrEqualTo(Byte value) {
|
||||
addCriterion("status <=", value, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusIn(List<Byte> values) {
|
||||
addCriterion("status in", values, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotIn(List<Byte> values) {
|
||||
addCriterion("status not in", values, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusBetween(Byte value1, Byte value2) {
|
||||
addCriterion("status between", value1, value2, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStatusNotBetween(Byte value1, Byte value2) {
|
||||
addCriterion("status not between", value1, value2, "status");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkIsNull() {
|
||||
addCriterion("remark is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkIsNotNull() {
|
||||
addCriterion("remark is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkEqualTo(String value) {
|
||||
addCriterion("remark =", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkNotEqualTo(String value) {
|
||||
addCriterion("remark <>", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkGreaterThan(String value) {
|
||||
addCriterion("remark >", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("remark >=", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkLessThan(String value) {
|
||||
addCriterion("remark <", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkLessThanOrEqualTo(String value) {
|
||||
addCriterion("remark <=", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkLike(String value) {
|
||||
addCriterion("remark like", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkNotLike(String value) {
|
||||
addCriterion("remark not like", value, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkIn(List<String> values) {
|
||||
addCriterion("remark in", values, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkNotIn(List<String> values) {
|
||||
addCriterion("remark not in", values, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkBetween(String value1, String value2) {
|
||||
addCriterion("remark between", value1, value2, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andRemarkNotBetween(String value1, String value2) {
|
||||
addCriterion("remark not between", value1, value2, "remark");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeIsNull() {
|
||||
addCriterion("created_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeIsNotNull() {
|
||||
addCriterion("created_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeEqualTo(Date value) {
|
||||
addCriterion("created_time =", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeNotEqualTo(Date value) {
|
||||
addCriterion("created_time <>", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeGreaterThan(Date value) {
|
||||
addCriterion("created_time >", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("created_time >=", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeLessThan(Date value) {
|
||||
addCriterion("created_time <", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("created_time <=", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeIn(List<Date> values) {
|
||||
addCriterion("created_time in", values, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeNotIn(List<Date> values) {
|
||||
addCriterion("created_time not in", values, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("created_time between", value1, value2, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("created_time not between", value1, value2, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,45 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class ActTeamMember {
|
||||
private Long id;
|
||||
|
||||
private Long memberUid;
|
||||
|
||||
private Long teamUid;
|
||||
|
||||
private Date createdTime;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getMemberUid() {
|
||||
return memberUid;
|
||||
}
|
||||
|
||||
public void setMemberUid(Long memberUid) {
|
||||
this.memberUid = memberUid;
|
||||
}
|
||||
|
||||
public Long getTeamUid() {
|
||||
return teamUid;
|
||||
}
|
||||
|
||||
public void setTeamUid(Long teamUid) {
|
||||
this.teamUid = teamUid;
|
||||
}
|
||||
|
||||
public Date getCreatedTime() {
|
||||
return createdTime;
|
||||
}
|
||||
|
||||
public void setCreatedTime(Date createdTime) {
|
||||
this.createdTime = createdTime;
|
||||
}
|
||||
}
|
@@ -1,461 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class ActTeamMemberExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public ActTeamMemberExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(Long value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(Long value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(Long value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(Long value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<Long> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<Long> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(Long value1, Long value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidIsNull() {
|
||||
addCriterion("member_uid is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidIsNotNull() {
|
||||
addCriterion("member_uid is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidEqualTo(Long value) {
|
||||
addCriterion("member_uid =", value, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidNotEqualTo(Long value) {
|
||||
addCriterion("member_uid <>", value, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidGreaterThan(Long value) {
|
||||
addCriterion("member_uid >", value, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("member_uid >=", value, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidLessThan(Long value) {
|
||||
addCriterion("member_uid <", value, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidLessThanOrEqualTo(Long value) {
|
||||
addCriterion("member_uid <=", value, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidIn(List<Long> values) {
|
||||
addCriterion("member_uid in", values, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidNotIn(List<Long> values) {
|
||||
addCriterion("member_uid not in", values, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidBetween(Long value1, Long value2) {
|
||||
addCriterion("member_uid between", value1, value2, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMemberUidNotBetween(Long value1, Long value2) {
|
||||
addCriterion("member_uid not between", value1, value2, "memberUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidIsNull() {
|
||||
addCriterion("team_uid is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidIsNotNull() {
|
||||
addCriterion("team_uid is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidEqualTo(Long value) {
|
||||
addCriterion("team_uid =", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidNotEqualTo(Long value) {
|
||||
addCriterion("team_uid <>", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidGreaterThan(Long value) {
|
||||
addCriterion("team_uid >", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("team_uid >=", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidLessThan(Long value) {
|
||||
addCriterion("team_uid <", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidLessThanOrEqualTo(Long value) {
|
||||
addCriterion("team_uid <=", value, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidIn(List<Long> values) {
|
||||
addCriterion("team_uid in", values, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidNotIn(List<Long> values) {
|
||||
addCriterion("team_uid not in", values, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidBetween(Long value1, Long value2) {
|
||||
addCriterion("team_uid between", value1, value2, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTeamUidNotBetween(Long value1, Long value2) {
|
||||
addCriterion("team_uid not between", value1, value2, "teamUid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeIsNull() {
|
||||
addCriterion("created_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeIsNotNull() {
|
||||
addCriterion("created_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeEqualTo(Date value) {
|
||||
addCriterion("created_time =", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeNotEqualTo(Date value) {
|
||||
addCriterion("created_time <>", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeGreaterThan(Date value) {
|
||||
addCriterion("created_time >", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("created_time >=", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeLessThan(Date value) {
|
||||
addCriterion("created_time <", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("created_time <=", value, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeIn(List<Date> values) {
|
||||
addCriterion("created_time in", values, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeNotIn(List<Date> values) {
|
||||
addCriterion("created_time not in", values, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("created_time between", value1, value2, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("created_time not between", value1, value2, "createdTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,34 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@ApiModel
|
||||
@TableName("activity_anniversary_bullet_record")
|
||||
public class ActivityAnniversaryBulletRecord {
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@ApiModelProperty("id")
|
||||
private Long id;
|
||||
|
||||
@TableField("uid")
|
||||
@ApiModelProperty("发送者uid")
|
||||
private Long uid;
|
||||
|
||||
@TableField("text")
|
||||
@ApiModelProperty("弹幕内容")
|
||||
private String text;
|
||||
|
||||
@TableField("create_time")
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
@@ -1,49 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@ApiModel
|
||||
@TableName("activity_anniversary_record")
|
||||
public class ActivityAnniversaryRecord {
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
@ApiModelProperty("id")
|
||||
private Long id;
|
||||
|
||||
@TableField("uid")
|
||||
@ApiModelProperty("uid")
|
||||
private Long uid;
|
||||
|
||||
@TableField("type")
|
||||
@ApiModelProperty("领取奖励类型")
|
||||
private Byte type;
|
||||
|
||||
@TableField("award_id")
|
||||
@ApiModelProperty("奖励礼品id")
|
||||
private Integer awardId;
|
||||
|
||||
@TableField("award_type")
|
||||
@ApiModelProperty("奖励礼品类型")
|
||||
private Byte awardType;
|
||||
|
||||
@TableField("award_seq_no")
|
||||
@ApiModelProperty("奖励礼品类型")
|
||||
private Integer awardSeqNo;
|
||||
|
||||
@TableField("remark")
|
||||
@ApiModelProperty("活动备注")
|
||||
private String remark;
|
||||
|
||||
@TableField("create_time")
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
}
|
@@ -1,20 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class ActivityFortuneRecord {
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
private Long uid;
|
||||
private Integer drawStatus;
|
||||
private Integer gold;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
|
||||
}
|
@@ -1,45 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@TableName(value = "activity_record")
|
||||
public class ActivityRecord {
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("用户userId")
|
||||
private Long userId;
|
||||
|
||||
@ApiModelProperty("目标用户userId")
|
||||
private Long targetUserId;
|
||||
|
||||
@ApiModelProperty("类型")
|
||||
private Integer type;
|
||||
|
||||
@ApiModelProperty("活动id,区分是哪一场活动的数据")
|
||||
private Integer activityId;
|
||||
|
||||
@ApiModelProperty("状态")
|
||||
private Integer status;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("补充字段")
|
||||
private String objText;
|
||||
|
||||
@ApiModelProperty("补充说明字段")
|
||||
private String objDes;
|
||||
|
||||
@ApiModelProperty("各种id")
|
||||
private Long objId;
|
||||
}
|
@@ -1,75 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class BaiduObserveRecord {
|
||||
private String deviceId;
|
||||
|
||||
private String os;
|
||||
|
||||
private String ip;
|
||||
|
||||
private String androidDeviceId;
|
||||
|
||||
private String tutuDeviceid;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
public String getDeviceId() {
|
||||
return deviceId;
|
||||
}
|
||||
|
||||
public void setDeviceId(String deviceId) {
|
||||
this.deviceId = deviceId == null ? null : deviceId.trim();
|
||||
}
|
||||
|
||||
public String getOs() {
|
||||
return os;
|
||||
}
|
||||
|
||||
public void setOs(String os) {
|
||||
this.os = os == null ? null : os.trim();
|
||||
}
|
||||
|
||||
public String getIp() {
|
||||
return ip;
|
||||
}
|
||||
|
||||
public void setIp(String ip) {
|
||||
this.ip = ip == null ? null : ip.trim();
|
||||
}
|
||||
|
||||
public String getAndroidDeviceId() {
|
||||
return androidDeviceId;
|
||||
}
|
||||
|
||||
public void setAndroidDeviceId(String androidDeviceId) {
|
||||
this.androidDeviceId = androidDeviceId == null ? null : androidDeviceId.trim();
|
||||
}
|
||||
|
||||
public String getTutuDeviceid() {
|
||||
return tutuDeviceid;
|
||||
}
|
||||
|
||||
public void setTutuDeviceid(String tutuDeviceid) {
|
||||
this.tutuDeviceid = tutuDeviceid == null ? null : tutuDeviceid.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
@@ -1,691 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class BaiduObserveRecordExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public BaiduObserveRecordExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdIsNull() {
|
||||
addCriterion("device_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdIsNotNull() {
|
||||
addCriterion("device_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdEqualTo(String value) {
|
||||
addCriterion("device_id =", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdNotEqualTo(String value) {
|
||||
addCriterion("device_id <>", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdGreaterThan(String value) {
|
||||
addCriterion("device_id >", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("device_id >=", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdLessThan(String value) {
|
||||
addCriterion("device_id <", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("device_id <=", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdLike(String value) {
|
||||
addCriterion("device_id like", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdNotLike(String value) {
|
||||
addCriterion("device_id not like", value, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdIn(List<String> values) {
|
||||
addCriterion("device_id in", values, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdNotIn(List<String> values) {
|
||||
addCriterion("device_id not in", values, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdBetween(String value1, String value2) {
|
||||
addCriterion("device_id between", value1, value2, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDeviceIdNotBetween(String value1, String value2) {
|
||||
addCriterion("device_id not between", value1, value2, "deviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsIsNull() {
|
||||
addCriterion("os is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsIsNotNull() {
|
||||
addCriterion("os is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsEqualTo(String value) {
|
||||
addCriterion("os =", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsNotEqualTo(String value) {
|
||||
addCriterion("os <>", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsGreaterThan(String value) {
|
||||
addCriterion("os >", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("os >=", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsLessThan(String value) {
|
||||
addCriterion("os <", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsLessThanOrEqualTo(String value) {
|
||||
addCriterion("os <=", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsLike(String value) {
|
||||
addCriterion("os like", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsNotLike(String value) {
|
||||
addCriterion("os not like", value, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsIn(List<String> values) {
|
||||
addCriterion("os in", values, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsNotIn(List<String> values) {
|
||||
addCriterion("os not in", values, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsBetween(String value1, String value2) {
|
||||
addCriterion("os between", value1, value2, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOsNotBetween(String value1, String value2) {
|
||||
addCriterion("os not between", value1, value2, "os");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpIsNull() {
|
||||
addCriterion("ip is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpIsNotNull() {
|
||||
addCriterion("ip is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpEqualTo(String value) {
|
||||
addCriterion("ip =", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpNotEqualTo(String value) {
|
||||
addCriterion("ip <>", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpGreaterThan(String value) {
|
||||
addCriterion("ip >", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("ip >=", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpLessThan(String value) {
|
||||
addCriterion("ip <", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpLessThanOrEqualTo(String value) {
|
||||
addCriterion("ip <=", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpLike(String value) {
|
||||
addCriterion("ip like", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpNotLike(String value) {
|
||||
addCriterion("ip not like", value, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpIn(List<String> values) {
|
||||
addCriterion("ip in", values, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpNotIn(List<String> values) {
|
||||
addCriterion("ip not in", values, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpBetween(String value1, String value2) {
|
||||
addCriterion("ip between", value1, value2, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIpNotBetween(String value1, String value2) {
|
||||
addCriterion("ip not between", value1, value2, "ip");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdIsNull() {
|
||||
addCriterion("android_device_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdIsNotNull() {
|
||||
addCriterion("android_device_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdEqualTo(String value) {
|
||||
addCriterion("android_device_id =", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdNotEqualTo(String value) {
|
||||
addCriterion("android_device_id <>", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdGreaterThan(String value) {
|
||||
addCriterion("android_device_id >", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("android_device_id >=", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdLessThan(String value) {
|
||||
addCriterion("android_device_id <", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("android_device_id <=", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdLike(String value) {
|
||||
addCriterion("android_device_id like", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdNotLike(String value) {
|
||||
addCriterion("android_device_id not like", value, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdIn(List<String> values) {
|
||||
addCriterion("android_device_id in", values, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdNotIn(List<String> values) {
|
||||
addCriterion("android_device_id not in", values, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdBetween(String value1, String value2) {
|
||||
addCriterion("android_device_id between", value1, value2, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andAndroidDeviceIdNotBetween(String value1, String value2) {
|
||||
addCriterion("android_device_id not between", value1, value2, "androidDeviceId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidIsNull() {
|
||||
addCriterion("tutu_deviceid is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidIsNotNull() {
|
||||
addCriterion("tutu_deviceid is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidEqualTo(String value) {
|
||||
addCriterion("tutu_deviceid =", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidNotEqualTo(String value) {
|
||||
addCriterion("tutu_deviceid <>", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidGreaterThan(String value) {
|
||||
addCriterion("tutu_deviceid >", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("tutu_deviceid >=", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidLessThan(String value) {
|
||||
addCriterion("tutu_deviceid <", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidLessThanOrEqualTo(String value) {
|
||||
addCriterion("tutu_deviceid <=", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidLike(String value) {
|
||||
addCriterion("tutu_deviceid like", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidNotLike(String value) {
|
||||
addCriterion("tutu_deviceid not like", value, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidIn(List<String> values) {
|
||||
addCriterion("tutu_deviceid in", values, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidNotIn(List<String> values) {
|
||||
addCriterion("tutu_deviceid not in", values, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidBetween(String value1, String value2) {
|
||||
addCriterion("tutu_deviceid between", value1, value2, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTutuDeviceidNotBetween(String value1, String value2) {
|
||||
addCriterion("tutu_deviceid not between", value1, value2, "tutuDeviceid");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNull() {
|
||||
addCriterion("update_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNotNull() {
|
||||
addCriterion("update_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeEqualTo(Date value) {
|
||||
addCriterion("update_time =", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotEqualTo(Date value) {
|
||||
addCriterion("update_time <>", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThan(Date value) {
|
||||
addCriterion("update_time >", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time >=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThan(Date value) {
|
||||
addCriterion("update_time <", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time <=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIn(List<Date> values) {
|
||||
addCriterion("update_time in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotIn(List<Date> values) {
|
||||
addCriterion("update_time not in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time not between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,175 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class BankCardSign {
|
||||
private Long id;
|
||||
|
||||
private Long uid;
|
||||
|
||||
private String name;
|
||||
|
||||
private String orderNo;
|
||||
|
||||
private String idCardNo;
|
||||
|
||||
private String bankCardNo;
|
||||
|
||||
private String bankName;
|
||||
|
||||
private String bankLogo;
|
||||
|
||||
private String bankMobile;
|
||||
|
||||
private String cardType;
|
||||
|
||||
private String signId;
|
||||
|
||||
private String channel;
|
||||
|
||||
private Integer defaultFlag;
|
||||
|
||||
private Integer status;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private String remark;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(Long uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name == null ? null : name.trim();
|
||||
}
|
||||
|
||||
public String getOrderNo() {
|
||||
return orderNo;
|
||||
}
|
||||
|
||||
public void setOrderNo(String orderNo) {
|
||||
this.orderNo = orderNo == null ? null : orderNo.trim();
|
||||
}
|
||||
|
||||
public String getIdCardNo() {
|
||||
return idCardNo;
|
||||
}
|
||||
|
||||
public void setIdCardNo(String idCardNo) {
|
||||
this.idCardNo = idCardNo == null ? null : idCardNo.trim();
|
||||
}
|
||||
|
||||
public String getBankCardNo() {
|
||||
return bankCardNo;
|
||||
}
|
||||
|
||||
public void setBankCardNo(String bankCardNo) {
|
||||
this.bankCardNo = bankCardNo == null ? null : bankCardNo.trim();
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName == null ? null : bankName.trim();
|
||||
}
|
||||
|
||||
public String getBankLogo() {
|
||||
return bankLogo;
|
||||
}
|
||||
|
||||
public void setBankLogo(String bankLogo) {
|
||||
this.bankLogo = bankLogo == null ? null : bankLogo.trim();
|
||||
}
|
||||
|
||||
public String getBankMobile() {
|
||||
return bankMobile;
|
||||
}
|
||||
|
||||
public void setBankMobile(String bankMobile) {
|
||||
this.bankMobile = bankMobile == null ? null : bankMobile.trim();
|
||||
}
|
||||
|
||||
public String getCardType() {
|
||||
return cardType;
|
||||
}
|
||||
|
||||
public void setCardType(String cardType) {
|
||||
this.cardType = cardType == null ? null : cardType.trim();
|
||||
}
|
||||
|
||||
public String getSignId() {
|
||||
return signId;
|
||||
}
|
||||
|
||||
public void setSignId(String signId) {
|
||||
this.signId = signId == null ? null : signId.trim();
|
||||
}
|
||||
|
||||
public String getChannel() {
|
||||
return channel;
|
||||
}
|
||||
|
||||
public void setChannel(String channel) {
|
||||
this.channel = channel == null ? null : channel.trim();
|
||||
}
|
||||
|
||||
public Integer getDefaultFlag() {
|
||||
return defaultFlag;
|
||||
}
|
||||
|
||||
public void setDefaultFlag(Integer defaultFlag) {
|
||||
this.defaultFlag = defaultFlag;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark == null ? null : remark.trim();
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@@ -1,32 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class BiliObserveRecord implements Serializable {
|
||||
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id; // 主键ID
|
||||
private String trackId; // 用于追踪来源广告的追踪ID
|
||||
private String creativeId; // B站创意 ID
|
||||
private String os; // 客户端操作系统
|
||||
private String imei; // 用户终端的 IMEI
|
||||
private String mac1; // 用户终端的 eth0 接口的 MAC 地址
|
||||
private String idfa; // iOS IDFA,适用于 iOS6及以上
|
||||
private String aaid; // Android Advertising ID
|
||||
private String androidId; // 用户终端的 Android ID
|
||||
private String oaid; // 匿名设备标识符
|
||||
private String ip; // 投放系统服务器观察到的用户远程 IP
|
||||
private String ua; // 数据上报终端设备的 User Agent
|
||||
private Long ts; // 客户端触发监测的时间
|
||||
private String shopId; // 店铺 ID
|
||||
private String upMid; // 视频 UP 主 MID
|
||||
private String deviceId; // 自己的设备id
|
||||
private Date createTime; // 创建时间
|
||||
|
||||
}
|
@@ -1,85 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class WXMsgPicInfo {
|
||||
private String wxMsgId;
|
||||
|
||||
private String keyWord;
|
||||
|
||||
private String title;
|
||||
|
||||
private String description;
|
||||
|
||||
private String picUrl;
|
||||
|
||||
private String url;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
public String getWxMsgId() {
|
||||
return wxMsgId;
|
||||
}
|
||||
|
||||
public void setWxMsgId(String wxMsgId) {
|
||||
this.wxMsgId = wxMsgId == null ? null : wxMsgId.trim();
|
||||
}
|
||||
|
||||
public String getKeyWord() {
|
||||
return keyWord;
|
||||
}
|
||||
|
||||
public void setKeyWord(String keyWord) {
|
||||
this.keyWord = keyWord == null ? null : keyWord.trim();
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title == null ? null : title.trim();
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description == null ? null : description.trim();
|
||||
}
|
||||
|
||||
public String getPicUrl() {
|
||||
return picUrl;
|
||||
}
|
||||
|
||||
public void setPicUrl(String picUrl) {
|
||||
this.picUrl = picUrl == null ? null : picUrl.trim();
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url == null ? null : url.trim();
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
}
|
@@ -1,741 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class WXMsgPicInfoExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public WXMsgPicInfoExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdIsNull() {
|
||||
addCriterion("wx_msg_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdIsNotNull() {
|
||||
addCriterion("wx_msg_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdEqualTo(String value) {
|
||||
addCriterion("wx_msg_id =", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdNotEqualTo(String value) {
|
||||
addCriterion("wx_msg_id <>", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdGreaterThan(String value) {
|
||||
addCriterion("wx_msg_id >", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("wx_msg_id >=", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdLessThan(String value) {
|
||||
addCriterion("wx_msg_id <", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("wx_msg_id <=", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdLike(String value) {
|
||||
addCriterion("wx_msg_id like", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdNotLike(String value) {
|
||||
addCriterion("wx_msg_id not like", value, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdIn(List<String> values) {
|
||||
addCriterion("wx_msg_id in", values, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdNotIn(List<String> values) {
|
||||
addCriterion("wx_msg_id not in", values, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdBetween(String value1, String value2) {
|
||||
addCriterion("wx_msg_id between", value1, value2, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxMsgIdNotBetween(String value1, String value2) {
|
||||
addCriterion("wx_msg_id not between", value1, value2, "wxMsgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordIsNull() {
|
||||
addCriterion("key_word is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordIsNotNull() {
|
||||
addCriterion("key_word is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordEqualTo(String value) {
|
||||
addCriterion("key_word =", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordNotEqualTo(String value) {
|
||||
addCriterion("key_word <>", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordGreaterThan(String value) {
|
||||
addCriterion("key_word >", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("key_word >=", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordLessThan(String value) {
|
||||
addCriterion("key_word <", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordLessThanOrEqualTo(String value) {
|
||||
addCriterion("key_word <=", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordLike(String value) {
|
||||
addCriterion("key_word like", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordNotLike(String value) {
|
||||
addCriterion("key_word not like", value, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordIn(List<String> values) {
|
||||
addCriterion("key_word in", values, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordNotIn(List<String> values) {
|
||||
addCriterion("key_word not in", values, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordBetween(String value1, String value2) {
|
||||
addCriterion("key_word between", value1, value2, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andKeyWordNotBetween(String value1, String value2) {
|
||||
addCriterion("key_word not between", value1, value2, "keyWord");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleIsNull() {
|
||||
addCriterion("title is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleIsNotNull() {
|
||||
addCriterion("title is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleEqualTo(String value) {
|
||||
addCriterion("title =", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleNotEqualTo(String value) {
|
||||
addCriterion("title <>", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleGreaterThan(String value) {
|
||||
addCriterion("title >", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("title >=", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleLessThan(String value) {
|
||||
addCriterion("title <", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleLessThanOrEqualTo(String value) {
|
||||
addCriterion("title <=", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleLike(String value) {
|
||||
addCriterion("title like", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleNotLike(String value) {
|
||||
addCriterion("title not like", value, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleIn(List<String> values) {
|
||||
addCriterion("title in", values, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleNotIn(List<String> values) {
|
||||
addCriterion("title not in", values, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleBetween(String value1, String value2) {
|
||||
addCriterion("title between", value1, value2, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andTitleNotBetween(String value1, String value2) {
|
||||
addCriterion("title not between", value1, value2, "title");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionIsNull() {
|
||||
addCriterion("description is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionIsNotNull() {
|
||||
addCriterion("description is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionEqualTo(String value) {
|
||||
addCriterion("description =", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotEqualTo(String value) {
|
||||
addCriterion("description <>", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionGreaterThan(String value) {
|
||||
addCriterion("description >", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("description >=", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionLessThan(String value) {
|
||||
addCriterion("description <", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionLessThanOrEqualTo(String value) {
|
||||
addCriterion("description <=", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionLike(String value) {
|
||||
addCriterion("description like", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotLike(String value) {
|
||||
addCriterion("description not like", value, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionIn(List<String> values) {
|
||||
addCriterion("description in", values, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotIn(List<String> values) {
|
||||
addCriterion("description not in", values, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionBetween(String value1, String value2) {
|
||||
addCriterion("description between", value1, value2, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andDescriptionNotBetween(String value1, String value2) {
|
||||
addCriterion("description not between", value1, value2, "description");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlIsNull() {
|
||||
addCriterion("pic_url is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlIsNotNull() {
|
||||
addCriterion("pic_url is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlEqualTo(String value) {
|
||||
addCriterion("pic_url =", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlNotEqualTo(String value) {
|
||||
addCriterion("pic_url <>", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlGreaterThan(String value) {
|
||||
addCriterion("pic_url >", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("pic_url >=", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlLessThan(String value) {
|
||||
addCriterion("pic_url <", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlLessThanOrEqualTo(String value) {
|
||||
addCriterion("pic_url <=", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlLike(String value) {
|
||||
addCriterion("pic_url like", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlNotLike(String value) {
|
||||
addCriterion("pic_url not like", value, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlIn(List<String> values) {
|
||||
addCriterion("pic_url in", values, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlNotIn(List<String> values) {
|
||||
addCriterion("pic_url not in", values, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlBetween(String value1, String value2) {
|
||||
addCriterion("pic_url between", value1, value2, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicUrlNotBetween(String value1, String value2) {
|
||||
addCriterion("pic_url not between", value1, value2, "picUrl");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlIsNull() {
|
||||
addCriterion("url is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlIsNotNull() {
|
||||
addCriterion("url is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlEqualTo(String value) {
|
||||
addCriterion("url =", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotEqualTo(String value) {
|
||||
addCriterion("url <>", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlGreaterThan(String value) {
|
||||
addCriterion("url >", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("url >=", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlLessThan(String value) {
|
||||
addCriterion("url <", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlLessThanOrEqualTo(String value) {
|
||||
addCriterion("url <=", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlLike(String value) {
|
||||
addCriterion("url like", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotLike(String value) {
|
||||
addCriterion("url not like", value, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlIn(List<String> values) {
|
||||
addCriterion("url in", values, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotIn(List<String> values) {
|
||||
addCriterion("url not in", values, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlBetween(String value1, String value2) {
|
||||
addCriterion("url between", value1, value2, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUrlNotBetween(String value1, String value2) {
|
||||
addCriterion("url not between", value1, value2, "url");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNull() {
|
||||
addCriterion("update_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIsNotNull() {
|
||||
addCriterion("update_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeEqualTo(Date value) {
|
||||
addCriterion("update_time =", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotEqualTo(Date value) {
|
||||
addCriterion("update_time <>", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThan(Date value) {
|
||||
addCriterion("update_time >", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time >=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThan(Date value) {
|
||||
addCriterion("update_time <", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("update_time <=", value, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeIn(List<Date> values) {
|
||||
addCriterion("update_time in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotIn(List<Date> values) {
|
||||
addCriterion("update_time not in", values, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("update_time not between", value1, value2, "updateTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,75 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class WXPush {
|
||||
private String wxPushId;
|
||||
|
||||
private String articleCount;
|
||||
|
||||
private Boolean isPush;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Date pubTime;
|
||||
|
||||
private String msgId;
|
||||
|
||||
private Boolean isFocusPush;
|
||||
|
||||
public String getWxPushId() {
|
||||
return wxPushId;
|
||||
}
|
||||
|
||||
public void setWxPushId(String wxPushId) {
|
||||
this.wxPushId = wxPushId == null ? null : wxPushId.trim();
|
||||
}
|
||||
|
||||
public String getArticleCount() {
|
||||
return articleCount;
|
||||
}
|
||||
|
||||
public void setArticleCount(String articleCount) {
|
||||
this.articleCount = articleCount == null ? null : articleCount.trim();
|
||||
}
|
||||
|
||||
public Boolean getIsPush() {
|
||||
return isPush;
|
||||
}
|
||||
|
||||
public void setIsPush(Boolean isPush) {
|
||||
this.isPush = isPush;
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Date getPubTime() {
|
||||
return pubTime;
|
||||
}
|
||||
|
||||
public void setPubTime(Date pubTime) {
|
||||
this.pubTime = pubTime;
|
||||
}
|
||||
|
||||
public String getMsgId() {
|
||||
return msgId;
|
||||
}
|
||||
|
||||
public void setMsgId(String msgId) {
|
||||
this.msgId = msgId == null ? null : msgId.trim();
|
||||
}
|
||||
|
||||
public Boolean getIsFocusPush() {
|
||||
return isFocusPush;
|
||||
}
|
||||
|
||||
public void setIsFocusPush(Boolean isFocusPush) {
|
||||
this.isFocusPush = isFocusPush;
|
||||
}
|
||||
}
|
@@ -1,651 +0,0 @@
|
||||
package com.accompany.business.model;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class WXPushExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public WXPushExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<Criterion>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdIsNull() {
|
||||
addCriterion("wx_push_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdIsNotNull() {
|
||||
addCriterion("wx_push_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdEqualTo(String value) {
|
||||
addCriterion("wx_push_id =", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdNotEqualTo(String value) {
|
||||
addCriterion("wx_push_id <>", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdGreaterThan(String value) {
|
||||
addCriterion("wx_push_id >", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("wx_push_id >=", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdLessThan(String value) {
|
||||
addCriterion("wx_push_id <", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("wx_push_id <=", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdLike(String value) {
|
||||
addCriterion("wx_push_id like", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdNotLike(String value) {
|
||||
addCriterion("wx_push_id not like", value, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdIn(List<String> values) {
|
||||
addCriterion("wx_push_id in", values, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdNotIn(List<String> values) {
|
||||
addCriterion("wx_push_id not in", values, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdBetween(String value1, String value2) {
|
||||
addCriterion("wx_push_id between", value1, value2, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWxPushIdNotBetween(String value1, String value2) {
|
||||
addCriterion("wx_push_id not between", value1, value2, "wxPushId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountIsNull() {
|
||||
addCriterion("article_count is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountIsNotNull() {
|
||||
addCriterion("article_count is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountEqualTo(String value) {
|
||||
addCriterion("article_count =", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountNotEqualTo(String value) {
|
||||
addCriterion("article_count <>", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountGreaterThan(String value) {
|
||||
addCriterion("article_count >", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("article_count >=", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountLessThan(String value) {
|
||||
addCriterion("article_count <", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountLessThanOrEqualTo(String value) {
|
||||
addCriterion("article_count <=", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountLike(String value) {
|
||||
addCriterion("article_count like", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountNotLike(String value) {
|
||||
addCriterion("article_count not like", value, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountIn(List<String> values) {
|
||||
addCriterion("article_count in", values, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountNotIn(List<String> values) {
|
||||
addCriterion("article_count not in", values, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountBetween(String value1, String value2) {
|
||||
addCriterion("article_count between", value1, value2, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andArticleCountNotBetween(String value1, String value2) {
|
||||
addCriterion("article_count not between", value1, value2, "articleCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushIsNull() {
|
||||
addCriterion("is_push is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushIsNotNull() {
|
||||
addCriterion("is_push is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushEqualTo(Boolean value) {
|
||||
addCriterion("is_push =", value, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushNotEqualTo(Boolean value) {
|
||||
addCriterion("is_push <>", value, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushGreaterThan(Boolean value) {
|
||||
addCriterion("is_push >", value, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushGreaterThanOrEqualTo(Boolean value) {
|
||||
addCriterion("is_push >=", value, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushLessThan(Boolean value) {
|
||||
addCriterion("is_push <", value, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushLessThanOrEqualTo(Boolean value) {
|
||||
addCriterion("is_push <=", value, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushIn(List<Boolean> values) {
|
||||
addCriterion("is_push in", values, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushNotIn(List<Boolean> values) {
|
||||
addCriterion("is_push not in", values, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushBetween(Boolean value1, Boolean value2) {
|
||||
addCriterion("is_push between", value1, value2, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsPushNotBetween(Boolean value1, Boolean value2) {
|
||||
addCriterion("is_push not between", value1, value2, "isPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNull() {
|
||||
addCriterion("create_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIsNotNull() {
|
||||
addCriterion("create_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeEqualTo(Date value) {
|
||||
addCriterion("create_time =", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotEqualTo(Date value) {
|
||||
addCriterion("create_time <>", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThan(Date value) {
|
||||
addCriterion("create_time >", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time >=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThan(Date value) {
|
||||
addCriterion("create_time <", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("create_time <=", value, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeIn(List<Date> values) {
|
||||
addCriterion("create_time in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotIn(List<Date> values) {
|
||||
addCriterion("create_time not in", values, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("create_time not between", value1, value2, "createTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeIsNull() {
|
||||
addCriterion("pub_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeIsNotNull() {
|
||||
addCriterion("pub_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeEqualTo(Date value) {
|
||||
addCriterion("pub_time =", value, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeNotEqualTo(Date value) {
|
||||
addCriterion("pub_time <>", value, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeGreaterThan(Date value) {
|
||||
addCriterion("pub_time >", value, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("pub_time >=", value, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeLessThan(Date value) {
|
||||
addCriterion("pub_time <", value, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("pub_time <=", value, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeIn(List<Date> values) {
|
||||
addCriterion("pub_time in", values, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeNotIn(List<Date> values) {
|
||||
addCriterion("pub_time not in", values, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("pub_time between", value1, value2, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPubTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("pub_time not between", value1, value2, "pubTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdIsNull() {
|
||||
addCriterion("msg_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdIsNotNull() {
|
||||
addCriterion("msg_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdEqualTo(String value) {
|
||||
addCriterion("msg_id =", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdNotEqualTo(String value) {
|
||||
addCriterion("msg_id <>", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdGreaterThan(String value) {
|
||||
addCriterion("msg_id >", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("msg_id >=", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdLessThan(String value) {
|
||||
addCriterion("msg_id <", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("msg_id <=", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdLike(String value) {
|
||||
addCriterion("msg_id like", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdNotLike(String value) {
|
||||
addCriterion("msg_id not like", value, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdIn(List<String> values) {
|
||||
addCriterion("msg_id in", values, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdNotIn(List<String> values) {
|
||||
addCriterion("msg_id not in", values, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdBetween(String value1, String value2) {
|
||||
addCriterion("msg_id between", value1, value2, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andMsgIdNotBetween(String value1, String value2) {
|
||||
addCriterion("msg_id not between", value1, value2, "msgId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushIsNull() {
|
||||
addCriterion("is_focus_push is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushIsNotNull() {
|
||||
addCriterion("is_focus_push is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushEqualTo(Boolean value) {
|
||||
addCriterion("is_focus_push =", value, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushNotEqualTo(Boolean value) {
|
||||
addCriterion("is_focus_push <>", value, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushGreaterThan(Boolean value) {
|
||||
addCriterion("is_focus_push >", value, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushGreaterThanOrEqualTo(Boolean value) {
|
||||
addCriterion("is_focus_push >=", value, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushLessThan(Boolean value) {
|
||||
addCriterion("is_focus_push <", value, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushLessThanOrEqualTo(Boolean value) {
|
||||
addCriterion("is_focus_push <=", value, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushIn(List<Boolean> values) {
|
||||
addCriterion("is_focus_push in", values, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushNotIn(List<Boolean> values) {
|
||||
addCriterion("is_focus_push not in", values, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushBetween(Boolean value1, Boolean value2) {
|
||||
addCriterion("is_focus_push between", value1, value2, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIsFocusPushNotBetween(Boolean value1, Boolean value2) {
|
||||
addCriterion("is_focus_push not between", value1, value2, "isFocusPush");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@@ -1,42 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: CpAct2022BulletChatRecord
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: aiyo
|
||||
* 创建时间: 2022/7/24
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author aiyo
|
||||
* @date [2022/7/24]
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "cp_act_2022_bullet_chat_record")
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class CpAct2022BulletChatRecord {
|
||||
|
||||
@TableId(value = "record_id", type = IdType.AUTO)
|
||||
private Long recordId;
|
||||
private Long uid;
|
||||
private String text;
|
||||
private Date createTime;
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class MoonActivityConfig {
|
||||
|
||||
public static final String ACTIVITY_NAME = "moon_activity_2020";
|
||||
|
||||
// 活动礼物id
|
||||
Long giftId;
|
||||
// 基础头饰id
|
||||
Integer basicHeadwearId;
|
||||
// 座驾id
|
||||
Integer carPortId;
|
||||
// 头饰id
|
||||
Integer headwearId;
|
||||
// 铭牌id
|
||||
Long nameplateId;
|
||||
// 榜单座驾id
|
||||
Integer rankCarPortId;
|
||||
// 榜单头饰id
|
||||
Integer rankHeadwearId;
|
||||
// 活动开始时间
|
||||
Date startTime;
|
||||
// 活动结束时间
|
||||
Date endTime;
|
||||
}
|
@@ -1,46 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: SummerAct2022
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2022/7/14
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2022/7/14]
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "summer_act_2022")
|
||||
public class SummerAct2022 {
|
||||
@TableId(value = "record_id", type = IdType.AUTO)
|
||||
private Long recordId;
|
||||
private Long uid;
|
||||
private Integer taskNo;
|
||||
private Byte taskStatus;
|
||||
private Integer awardType;
|
||||
private Integer awardId;
|
||||
private Integer awardDay;
|
||||
private Date createTime;
|
||||
private Date updateTime;
|
||||
}
|
@@ -1,30 +0,0 @@
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SummerActivityConfig {
|
||||
// 礼物id
|
||||
Integer giftId;
|
||||
// 礼物数量
|
||||
Integer giftNum;
|
||||
// 送礼物静态头饰
|
||||
Integer sendHeadwearId;
|
||||
// 收礼物静态头饰
|
||||
Integer recvHeadwearId;
|
||||
// 送礼物动态头饰
|
||||
Integer sendDynamicHeadwearId;
|
||||
// 收礼物动态头饰
|
||||
Integer recvDynamicHeadwearId;
|
||||
// 额外赠送动态头饰
|
||||
Integer extraDynamicHeadwearId;
|
||||
// 最大获取获取天数限制
|
||||
Integer maxDays;
|
||||
// 活动开始时间
|
||||
Date startTime;
|
||||
// 活动结束时间
|
||||
Date endTime;
|
||||
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SweetActivityConfig {
|
||||
|
||||
// 寄语花费钻石
|
||||
public static final Integer messageDiamond = 10;
|
||||
// 赠送寄语
|
||||
public static class SendType {
|
||||
public static final Integer MESSAGE = 1;
|
||||
public static final Integer REFRESH = 2;
|
||||
}
|
||||
|
||||
// 初级头饰id
|
||||
Integer basicHeadwear;
|
||||
// cp头饰1
|
||||
Integer coupleHeadwear1;
|
||||
// cp头饰2
|
||||
Integer coupleHeadwear2;
|
||||
// 喜鹊座驾1
|
||||
Integer carPort1;
|
||||
// 喜鹊座驾2
|
||||
Integer carPort2;
|
||||
// 礼包头饰1
|
||||
Integer headwear1;
|
||||
// 礼包头饰2
|
||||
Integer headwear2;
|
||||
// 礼包铭牌1
|
||||
Long nameplate1;
|
||||
// 礼包铭牌2
|
||||
Long nameplate2;
|
||||
|
||||
// 活动h5页面
|
||||
String h5Url;
|
||||
// 活动开始时间
|
||||
Date startTime;
|
||||
// 活动结束时间
|
||||
Date endTime;
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import com.accompany.common.annotation.FieldComment;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SweetActivityMessage {
|
||||
@TableId(type= IdType.AUTO)
|
||||
private Long id;
|
||||
@FieldComment("赠送人")
|
||||
private Long sendUid;
|
||||
@FieldComment("收礼人")
|
||||
private Long recvUid;
|
||||
@FieldComment("寄语")
|
||||
private String message;
|
||||
@FieldComment("爱心值")
|
||||
private Integer sweetValue;
|
||||
@FieldComment("创建时间")
|
||||
private Date createTime;
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import com.accompany.common.annotation.FieldComment;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class SweetActivityRecord {
|
||||
@TableId(type= IdType.AUTO)
|
||||
private Long id;
|
||||
@FieldComment("寄语id")
|
||||
private Long messageId;
|
||||
@FieldComment("钻石")
|
||||
private Integer diamond;
|
||||
@FieldComment("数量")
|
||||
private Integer num;
|
||||
@FieldComment("赠送类型")
|
||||
private Integer sendType;
|
||||
@FieldComment("创建时间")
|
||||
private Date createTime;
|
||||
}
|
@@ -1,64 +0,0 @@
|
||||
/*
|
||||
* 文 件 名: WishStarCupDrawRecord
|
||||
* 版 权:
|
||||
* 描 述: <描述>
|
||||
* 创建人: H1
|
||||
* 创建时间: 2021/12/11
|
||||
* 修改人:
|
||||
* 修改内容:
|
||||
* 修改时间:
|
||||
*/
|
||||
package com.accompany.business.model.activity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* <br>类描述:
|
||||
* <br>功能详细描述:
|
||||
*
|
||||
* @author H1
|
||||
* @date [2021/12/11]
|
||||
*/
|
||||
@Data
|
||||
@TableName("wish_star_cup_draw_record")
|
||||
public class WishStarCupDrawRecord {
|
||||
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@TableField(value = "uid")
|
||||
private Long uid;
|
||||
|
||||
@TableField(value = "prize_id")
|
||||
private Integer prizeId;
|
||||
|
||||
@TableField(value = "prize_type")
|
||||
private Byte prizeType;
|
||||
|
||||
@TableField(value = "prize_name")
|
||||
private String prizeName;
|
||||
|
||||
@TableField(value = "prize_img_url")
|
||||
private String prizeImgUrl;
|
||||
|
||||
@TableField(value = "pool_type")
|
||||
private Integer poolType;
|
||||
|
||||
@TableField(value = "platform_value")
|
||||
private Integer platformValue;
|
||||
|
||||
@TableField(value = "draw_time")
|
||||
private Date drawTime;
|
||||
|
||||
@TableField(value = "create_time")
|
||||
private Date createTime;
|
||||
|
||||
@TableField(value = "update_time")
|
||||
private Date updateTime;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user