-455湖蓝 -216淡黄 -505中绿 -302大红 -313桔红 -104钛白 -797佩恩灰 select * from import_main --select * from import_country select * from import_approval select * from import_appstate /* select cg.name,m.*,cg.[cargoinfo_id],c.country_code,c.country from import_main M left join import_country c on m.country_id=c.id left join import_cargo cg on cg.contract_id=M.id left join import_cargoinfo ci on ci.id=cg.cargoinfo_id*/ select m.seller,m.buyer,m.contractno,m.id ,cg.name,c.country_code,c.country from import_main M left join import_country c on m.country_id=c.id left join import_cargo cg on cg.contract_id=M.id left join import_cargoinfo ci on ci.id=cg.cargoinfo_id seller buyer contractno id name country_code country select * from sys_module where name like '%xxh%' begin delete from sys_module where gid='565FDF8E-E120-4AC8-A1FE-1DF128E34A31' INSERT INTO [sys_module]([GID],[NAME],[DESCRIPTION], [MODULEURL], [MODULEICON],[STATE],[SORT], [PARENTID],[CREATEUSER],[CREATETIME],[SHOWROOTSTATE],[TYPE]) VALUES('565FDF8E-E120-4AC8-A1FE-1DF128E34A31', 'modxxhMain', '合同集合', 'Import/Main', 'Module.gif',0,2, 'D1BB9DA9-6014-41F0-92D8-1AFACFAAEF8C', '1BEC90E1-9780-472F-90C2-0C6390C044A4', getdate(),0,2) --- delete from [action] where gid='A362D2F1-F402-459E-82DD-7E7DD1DA5B2C' INSERT INTO [action]([GID],[NAME],[DESCRIPTION],[MODULEID],[CREATEUSER],[CREATETIME],[STATE],[SORT]) VALUES('A362D2F1-F402-459E-82DD-7E7DD1DA5B2C','modxxhMain','合同集合', '565FDF8E-E120-4AC8-A1FE-1DF128E34A31','1BEC90E1-9780-472F-90C2-0C6390C044A4',getdate(),0,0) end; go select newid() , items: [{ xtype: 'container', layout: 'hbox', defaultType: 'textfield', items: [{ fieldLabel: '从 有效期', name: 'ValidDate_min' }, { fieldLabel: '到 有效期', name: 'ValidDate' } ] }