-- 农商行网关支付
INSERT INTO "tb_sourcetype" ("sourcetype_id", "sourcetype", "checkable", "paydesc", "enable", "charge_enable", "consume_enable", "anonymous_enable", "reversable", "pay_subjno", "deposite_subjno", "tplusn", "start_chktime", "tenantid")
VALUES ('B837FFDD20C0CA07E05011AC03000113', 'ynrccpay', 't', '农商行网关支付', 't', 'f', 't', 'f', 't', '112235', '-', 1, null, '{tenantid}');
commit;

--新加农商行支付款
INSERT INTO "tb_subject" ("subjid","subjno", "balflag", "displayflag", "endflag", "fsubjno", "opendate", "subjlevel", "subjname", "subjtype", "tenantid")
VALUES (33, '112235', 1, 'y', 1, '1122', '20210106', 2, '农商行支付款', 1, '{tenantid}');
commit;

-- ----------------------------
-- Table structure for tb_ynrccpay_sign
-- ----------------------------
CREATE TABLE tb_ynrccpay_sign (
	id varchar(32) NOT NULL,
	bankcardno varchar(32) NOT NULL,
	shopaccno varchar(10) NOT NULL,
	userid varchar(32) NOT NULL,
	status varchar(10) NOT NULL,
	sign_flag bool NOT NULL,
	customer_sign_no varchar(60),
	sign_time varchar(14),
	cancel_time varchar(14),
	remark varchar(600),
	createtime varchar(14)
);
ALTER TABLE tb_ynrccpay_sign ADD CONSTRAINT tb_ynrccpay_sign_pkey PRIMARY KEY (id);
CREATE INDEX idx1_ynrccpay_sign ON tb_ynrccpay_sign(bankcardno,shopaccno,status);

INSERT INTO "tb_transcode" ("transcode_id", "transcode", "transname", "tenantid")
VALUES (4, 3050, '农商行网关快捷支付', '{tenantid}');
commit;
