|
|
|
|
SQL= SELECT Sys_MapData.No, Sys_MapData.FrmType, CASE Sys_MapData.FrmType WHEN 0 THEN 'ɵ<>ϱ<EFBFBD><CFB1><EFBFBD>' WHEN 1 THEN '<27><><EFBFBD>ɱ<EFBFBD><C9B1><EFBFBD>' WHEN 8 THEN '<27><><EFBFBD><EFBFBD><EFBFBD>߱<EFBFBD><DFB1><EFBFBD>' WHEN NULL THEN 'ɵ<>ϱ<EFBFBD><CFB1><EFBFBD>' END "FrmTypeText", Sys_MapData.PTable, Sys_MapData.Name,IFNULL(Sys_MapData.FK_FormTree, '01') FK_FormTree, Sys_FormTree_FK_FormTree.Name AS FK_FormTreeText, Sys_MapData.RowOpenModel, CASE Sys_MapData.RowOpenModel WHEN 0 THEN '<27>´<EFBFBD><C2B4>ڴ<EFBFBD><DAB4><EFBFBD>' WHEN 1 THEN '<27>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>' WHEN 2 THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>,<2C>رպ<D8B1><D5BA><EFBFBD>ˢ<EFBFBD><CBA2><EFBFBD>б<EFBFBD>' WHEN 3 THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>,<2C>رպ<D8B1>ˢ<EFBFBD><CBA2><EFBFBD>б<EFBFBD>' WHEN NULL THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD>,<2C>رպ<D8B1><D5BA><EFBFBD>ˢ<EFBFBD><CBA2><EFBFBD>б<EFBFBD>' END "RowOpenModelText", Sys_MapData.SearchDictOpenType, CASE Sys_MapData.SearchDictOpenType WHEN 0 THEN 'MyDictFrameWork.htm ʵ<><CAB5><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD>ع<EFBFBD><D8B9>ܱ༭<DCB1><E0BCAD>' WHEN 1 THEN 'MyDict.htm ʵ<><CAB5><EFBFBD>༭<EFBFBD><E0BCAD>' WHEN 2 THEN 'MyBill.htm <20><><EFBFBD>ݱ༭<DDB1><E0BCAD>' WHEN 9 THEN '<27>Զ<EFBFBD><D4B6><EFBFBD>URL' WHEN NULL THEN 'MyDictFrameWork.htm ʵ<><CAB5><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5><EFBFBD><EFBFBD><EFBFBD>ع<EFBFBD><D8B9>ܱ༭<DCB1><E0BCAD>' END "SearchDictOpenTypeText", IFNULL(Sys_MapData.IsSelectMore,1) IsSelectMore, Sys_MapData.UrlExt, Sys_MapData.PopHeight, Sys_MapData.PopWidth, Sys_MapData.TableCol, CASE Sys_MapData.TableCol WHEN 0 THEN '4<><34>' WHEN 1 THEN '6<><36>' WHEN 2 THEN '<27><><EFBFBD><EFBFBD>ģʽ3<CABD><33>' WHEN NULL THEN '4<><34>' END "TableColText", Sys_MapData.EntityEditModel, CASE Sys_MapData.EntityEditModel WHEN 0 THEN '<27><><EFBFBD><EFBFBD>' WHEN 1 THEN '<27>б༭' WHEN NULL THEN '<27><><EFBFBD><EFBFBD>' END "EntityEditModelText", Sys_MapData.EntityType, CASE Sys_MapData.EntityType WHEN 0 THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' WHEN 1 THEN '<27><><EFBFBD><EFBFBD>' WHEN 2 THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʵ<EFBFBD><CAB5>' WHEN 3 THEN '<27><><EFBFBD>ṹʵ<E1B9B9><CAB5>' WHEN NULL THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' END "EntityTypeText", Sys_MapData.BillNoFormat, Sys_MapData.SortColumns, Sys_MapData.ColorSet, Sys_MapData.RowColorSet, Sys_MapData.FieldSet, Sys_MapData.ForamtFunc, Sys_MapData.Designer, Sys_MapData.DesignerContact, Sys_MapData.DesignerUnit, Sys_MapData.GUID, Sys_MapData.Ver, Sys_MapData.Note, Sys_MapData.Idx, Sys_MapData.AtPara, Sys_MapData.Tag0, Sys_MapData.Tag1, Sys_MapData.Tag2 FROM Sys_MapData LEFT JOIN Sys_FormTree AS Sys_FormTree_FK_FormTree ON Sys_MapData.FK_FormTree=Sys_FormTree_FK_FormTree.No WHERE (1=1) AND Sys_MapData.No=@No Exception=Unknown column 'Sys_MapData.IsSelectMore' in 'field list'
|