多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
**变更大额订单表,增加已经领取状态** alter table T_SPECIAL_RECHARGE add "PULL_DOWN" VARCHAR2(2 BYTE) DEFAULT 0 ; COMMENT ON COLUMN T_SPECIAL_RECHARGE.PULL_DOWN IS '0是没有,1是领取'; **处理之前得订单,默认之前成功得全部已经领取** update T_SPECIAL_RECHARGE set PULL_DOWN='1' where STATUS='3'; CREATE TABLE "TONGBAO"."T_REMI_RULE" ( "ID" VARCHAR2(20 BYTE) NOT NULL ENABLE, "AMOUNT" NUMBER(10,2) NOT NULL ENABLE, "LESSRATE" NUMBER(10,3), "GREATERRATE" NUMBER(10,3), "DAY" NUMBER(10,0), "USERNAME" VARCHAR2(200 BYTE), "USERID" VARCHAR2(20 BYTE), "MAXAMOUNT" NUMBER(10,2), "DATETIME" VARCHAR2(20 BYTE) ) SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT) TABLESPACE "TONGBAO" ; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."ID" IS 'ID'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."AMOUNT" IS '金额'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."LESSRATE" IS '赠送最小利率'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."GREATERRATE" IS '赠送最大利率'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."DAY" IS '天数'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."USERNAME" IS '姓名'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."USERID" IS '用户ID'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."MAXAMOUNT" IS '最大赠送限额'; COMMENT ON COLUMN "TONGBAO"."T_REMI_RULE"."DATETIME" IS '更改时间';