Merge remote-tracking branch 'origin/master'
						commit
						1a8c1d4a58
					
				| @ -0,0 +1,49 @@ | |||||||
|  | package com.bsd.say.entities; | ||||||
|  | 
 | ||||||
|  | import com.baomidou.mybatisplus.annotation.TableName; | ||||||
|  | import lombok.Data; | ||||||
|  | 
 | ||||||
|  | /** | ||||||
|  |  * 数据记录 | ||||||
|  |  */ | ||||||
|  | @TableName("record") | ||||||
|  | @Data | ||||||
|  | public class Record extends BaseEntity{ | ||||||
|  | 
 | ||||||
|  |     private Long id; | ||||||
|  | 
 | ||||||
|  |     private String source; | ||||||
|  | 
 | ||||||
|  |     private String openId; | ||||||
|  | 
 | ||||||
|  |     private String unionId; | ||||||
|  | 
 | ||||||
|  |     private String nickName; | ||||||
|  | 
 | ||||||
|  |     private String name; | ||||||
|  | 
 | ||||||
|  |     private String phone; | ||||||
|  | 
 | ||||||
|  |     private String fan; | ||||||
|  | 
 | ||||||
|  |     private int createLetterTimes; | ||||||
|  | 
 | ||||||
|  |     private int receiveLetterTimes; | ||||||
|  | 
 | ||||||
|  |     private String isHavaCoupon1;//是否有直接领取的优惠券
 | ||||||
|  | 
 | ||||||
|  |     private String isUseCoupon1;//是否使用直接领取的优惠券
 | ||||||
|  | 
 | ||||||
|  |     private String isHavaCoupon2;//是否有二等奖优惠券
 | ||||||
|  | 
 | ||||||
|  |     private String isUseCoupon2;//二等奖优惠券是否使用
 | ||||||
|  | 
 | ||||||
|  |     private String isAward;//是否中一等奖
 | ||||||
|  | 
 | ||||||
|  |     private String awardName;//领一等奖人名
 | ||||||
|  | 
 | ||||||
|  |     private String awardPhone;//领一等奖手机号
 | ||||||
|  | 
 | ||||||
|  |     private String address;//领取一等奖地址
 | ||||||
|  | 
 | ||||||
|  | } | ||||||
| @ -0,0 +1,9 @@ | |||||||
|  | package com.bsd.say.mapper; | ||||||
|  | 
 | ||||||
|  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | ||||||
|  | import com.bsd.say.entities.Record; | ||||||
|  | import org.springframework.stereotype.Repository; | ||||||
|  | 
 | ||||||
|  | @Repository("recordMapper") | ||||||
|  | public interface RecordMapper extends BaseMapper<Record> { | ||||||
|  | } | ||||||
| @ -0,0 +1,10 @@ | |||||||
|  | package com.bsd.say.service; | ||||||
|  | 
 | ||||||
|  | import com.bsd.say.beans.AjaxRequest; | ||||||
|  | import com.bsd.say.beans.AjaxResult; | ||||||
|  | import com.bsd.say.entities.Record; | ||||||
|  | 
 | ||||||
|  | public interface RecordService  extends BaseService<Record>{ | ||||||
|  |     AjaxResult createRecord(AjaxRequest ajaxRequest); | ||||||
|  | 
 | ||||||
|  | } | ||||||
					Loading…
					
					
				
		Reference in New Issue