Authored by liangyi.chen@yoho.cn

Add File

Showing 15 changed files with 20 additions and 19 deletions
1 -package com.yoho.datasync.core; 1 +package com.yoho.datasync.core.base.core;
2 2
3 import java.lang.annotation.ElementType; 3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention; 4 import java.lang.annotation.Retention;
1 -package com.yoho.datasync.core; 1 +package com.yoho.datasync.core.base.core;
2 2
3 public class DatasyncConstant { 3 public class DatasyncConstant {
4 4
1 -package com.yoho.datasync.core; 1 +package com.yoho.datasync.core.base.core;
2 2
3 import java.lang.annotation.ElementType; 3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention; 4 import java.lang.annotation.Retention;
1 -package com.yoho.datasync.core; 1 +package com.yoho.datasync.core.base.core;
2 2
3 import java.lang.annotation.ElementType; 3 import java.lang.annotation.ElementType;
4 import java.lang.annotation.Retention; 4 import java.lang.annotation.Retention;
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 3
4 import org.springframework.util.StringUtils; 4 import org.springframework.util.StringUtils;
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 import com.alibaba.fastjson.JSONObject; 3 import com.alibaba.fastjson.JSONObject;
4 import org.springframework.amqp.core.Message; 4 import org.springframework.amqp.core.Message;
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 import org.apache.commons.lang3.StringUtils; 3 import org.apache.commons.lang3.StringUtils;
4 import org.slf4j.Logger; 4 import org.slf4j.Logger;
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 import org.springframework.amqp.core.Binding; 3 import org.springframework.amqp.core.Binding;
4 import org.springframework.amqp.core.BindingBuilder; 4 import org.springframework.amqp.core.BindingBuilder;
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 -import com.yoho.datasync.core.MqConsumerListerner; 3 +import com.yoho.datasync.core.base.core.MqConsumerListerner;
4 import org.slf4j.Logger; 4 import org.slf4j.Logger;
5 import org.slf4j.LoggerFactory; 5 import org.slf4j.LoggerFactory;
6 import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer; 6 import org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer;
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 import lombok.Data; 3 import lombok.Data;
4 4
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 import lombok.Data; 3 import lombok.Data;
4 4
1 -package com.yoho.datasync.message; 1 +package com.yoho.datasync.core.base.message;
2 2
3 3
4 import org.slf4j.Logger; 4 import org.slf4j.Logger;
1 -package com.yoho.datasync.model.yh_grass; 1 +package com.yoho.datasync.core.base.model.yh_grass;
2 2
3 3
4 -import com.yoho.datasync.core.ClassTransfer;  
5 -import com.yoho.datasync.core.FieldTransfer;  
6 -import com.yoho.datasync.model.yh_pcms.PublicUserPraise; 4 +import com.yoho.datasync.core.base.core.ClassTransfer;
  5 +import com.yoho.datasync.core.base.core.FieldTransfer;
  6 +import com.yoho.datasync.core.base.model.yh_pcms.PublicUserPraise;
7 7
8 @ClassTransfer(targetClass = PublicUserPraise.class) 8 @ClassTransfer(targetClass = PublicUserPraise.class)
9 public class GrassArticlePraise { 9 public class GrassArticlePraise {
1 -package com.yoho.datasync.model.yh_pcms; 1 +package com.yoho.datasync.core.base.model.yh_pcms;
2 2
  3 +import com.yoho.datasync.core.base.model.yh_pcms.base.BaseEntity;
3 import lombok.Data; 4 import lombok.Data;
4 import lombok.EqualsAndHashCode; 5 import lombok.EqualsAndHashCode;
5 6
1 -package com.yoho.datasync.model.yh_pcms; 1 +package com.yoho.datasync.core.base.model.yh_pcms.base;
2 2
3 import lombok.Data; 3 import lombok.Data;
4 4