把这个mysql建表语句转换成java类 CREATE TABLE BXCWMFINALCHARGEPARTITION ( AdlogId varchar(64) NOT…
- User
把这个mysql建表语句转换成java类 CREATE TABLE BXC_WM_FINALCHARGE_PARTITION ( AdlogId varchar(64) NOT NULL, BatchName varchar(64) NOT NULL, BatchNo bigint(20) DEFAULT ‘0’, CampaignID bigint(20) NOT NULL COMMENT ‘推广计划id’, ChargeID varchar(64) NOT NULL COMMENT ‘批次号’, AddTime timestamp NULL DEFAULT NULL COMMENT ‘增加时间’, UpdateTime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT ‘更新时间’, DayID int(11) NOT NULL DEFAULT ‘0’ COMMENT ‘日期’, AccountID bigint(20) NOT NULL, CashpoolID bigint(20) NOT NULL, TargetID bigint(20) NOT NULL, Ad bigint(20) NOT NULL, Mode int(11) NOT NULL, RecoveryFlag int(11) NOT NULL, BillingCode int(11) NOT NULL, BillingReason varchar(64) NOT NULL, LogTime bigint(20) NOT NULL, ReqTime bigint(20) NOT NULL, RecoveryTime bigint(20) DEFAULT NULL, RedPackType int(11) DEFAULT ‘0’, RedpackID bigint(20) DEFAULT ‘0’, FinalCharge decimal(16,2) NOT NULL DEFAULT ‘0.00’ COMMENT ‘单次扣费结果’, FinalCash decimal(16,2) DEFAULT ‘0.00’, FinalRedpack decimal(16,2) DEFAULT ‘0.00’, Price decimal(16,2) NOT NULL, Cj json DEFAULT NULL, Ciext json DEFAULT NULL, Actenv json DEFAULT NULL, PlatformID int(11) NOT NULL DEFAULT ‘1’, RecoveryID varchar(64) DEFAULT NULL, HostName varchar(64) DEFAULT NULL, mpartition int(11) NOT NULL, moffset bigint(20) NOT NULL, Slot int(11) NOT NULL, BillingTime bigint(20) NOT NULL, Projenv json DEFAULT NULL, rtcPartion int(11) NOT NULL DEFAULT ‘-1’, UNIQUE KEY adlogid (AdlogId,DayID,LogTime), KEY IX_AddTime (DayID,AddTime), KEY IX_UpdateTime (DayID,UpdateTime), KEY idx_DayID_mpartition_moffset (DayID,mpartition,moffset), KEY idx_logtime (DayID,LogTime), KEY idx_DayID_RecoveryFlag (DayID,RecoveryFlag), KEY IX_Day_RtcPartition (DayID,rtcPartion), KEY IX_CASHPOOLID (CashpoolID), UNIQUE KEY uniq_dayid_logtime_adlogid (DayID,LogTime,AdlogId)
- Assistant