You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/word/新协航_设计文档/数据库建表文档/20131120/剩余费用升级记录.sql

85 lines
3.2 KiB
SQL

select * from ch_fee where feestatus=0 and feetype=1 order by enterdate
select * from ch_fee_total
select * from ch_fee_do
select * from ch_fee_settlement
select * from ch_fee_total
select gid,feetype,feename,customername,amount,auditdate,feestatus
from ch_fee cf where cf.feestatus in(0,8,9)
order by auditdate
--delete from ch_fee_total
insert into ch_fee_total values
('E66DFBA0-C78A-753D-4887-9A7E38A9BED2',1,
28085.11,'2013-11-18 11:46:00',1,'壇澗','셌켓珙蝎澹')
insert into ch_fee_total values
('ADF8A203-118C-5AA5-AF01-6B4136231EC4',2,
7365.60,'2013-11-25 11:30:00',2,'壇마','PATEL')
insert into ch_fee_total values
('25967526-F71B-41FE-3A54-5C5E01DA5D9D',2,
7365.60+17186.40,'2013-11-25 11:30:00',2,'壇마','PATEL')
insert into ch_fee_total values
('8487E355-1C2C-FBCE-236C-5F4A2B897AAF',1,
45272.55,'2013-11-25 11:30:00',1,'壇澗','볼鹵주괏질')
/*
insert into ch_fee_total values
('BDFC95F2-1456-C05F-0234-BE62EE458D15',1,
45272.55+142810.18,'2013-12-04 22:24:00',1,'壇澗','볼鹵주괏질')
insert into ch_fee_total values
('D1F410A9-C2FC-D676-5995-4B3ACF336825',1,
45272.55+142810.18+48918.82,'2013-12-04 22:25:00',1,'壇澗','볼鹵주괏질')*/
insert into ch_fee_total values
('6E609F0A-4223-7323-0F9C-80D5D82DAE06',1,
20330.16,'2013-11-27 10:27:00',1,'壇澗','佳都<EFBFBD>')
insert into ch_fee_total values
('ED5D8DB5-AD8C-17A8-0896-C736435F2074',2,
19942.64,'2013-11-27 14:50:00',2,'壇마','AJC')
insert into ch_fee_total values
('ACBD0D09-8CE4-7E83-5BF2-430E98489ED7',2,
27930.14,'2013-12-02 11:42:00',2,'壇마','PINI')
insert into ch_fee_total values
('7E1342E8-8F93-DA35-15D8-75B2AD97B450',1,
36784.00,'2013-12-02 11:42:00',1,'壇澗','주좁瓜')
insert into ch_fee_total values
('90C39C68-FA61-B5B1-0741-705FAA96AD09',1,
20329.44,'2013-12-02 11:43:00',1,'壇澗','坑鹵其괜')
insert into ch_fee_total values
('45FE3A8A-59BA-3C7D-BCDA-DB44C5F4F4C6',2,
33803.78,'2013-12-02 11:43:00',2,'壇마','PSI')
insert into ch_fee_total values
('0CA6A44A-33A3-4CDC-3CD6-82D03AC3C3C8',2,
33803.78+68847.63,'2013-12-02 11:43:00',2,'壇마','PSI')
insert into ch_fee_total values
('4E2DE5BC-7315-C410-D583-81A7362F61E1',1,
33966.00,'2013-12-02 11:43:00',1,'壇澗','주좁瓜')
insert into ch_fee_total values
('18B45BFE-A50C-0F89-4CB7-6B4437A3B0D6',1,
33966.00+69192.00,'2013-12-02 11:43:00',1,'壇澗','주좁瓜')
insert into ch_fee_total values
('C6D32746-C602-2EAE-106D-8A95F75CD178',1,
33966.00+69192.00+36784.00,'2013-12-02 11:43:00',1,'壇澗','주좁瓜')
insert into ch_fee_total values
('ED5D8DB5-AD8C-17A8-0896-C736435F2074',2,
19942.64,'2013-11-27 14:50:00',2,'壇마','AJC')
insert into ch_fee_total values
('ADF8A203-118C-5AA5-AF01-6B4136231EC4',2,
7365.60,'2013-11-25 11:30:00',2,'壇마','PATEL')
insert into ch_fee_total values
('25967526-F71B-41FE-3A54-5C5E01DA5D9D',2,
7365.60+17186.40,'2013-11-25 11:30:00',2,'壇마','PATEL')
insert into ch_fee_total values
('ADF8A203-118C-5AA5-AF01-6B4136231EC4',2,
7365.60,'2013-11-25 11:30:00',2,'壇마','PATEL')
insert into ch_fee_total values
('3898946e-4c87-4a70-871a-07a5766bd6ff',1,
20330.1600,'2013-11-27 15:34:28.760',3,'茄澗','佳都<EFBFBD>')
insert into ch_fee_total values
('9fc49345-072a-4c5a-a2d0-37deecab86a1',1,
28085.1100,'2013-11-27 09:47:07.197',3,'茄澗','셌켓珙蝎澹')
-- delete from ch_fee_total where parid='9fc49345-072a-4c5a-a2d0-37deecab86a1'