|
|
|
|
SQL= SELECT IFNULL(AtPara, '0') AtPara,IFNULL(BillState,0) BillState,RDT RDT, FK_Dept, OrgNo, Starter, StarterName, BillNo,IFNULL(OID,0) OID, Title,ChuShengRiQi ChuShengRiQi, IFNULL( XinShui,0) XinShui, IFNULL( Age ,0) AS Age,IFNULL(XB,0) XB, CASE XB WHEN 0 THEN 'Ů' WHEN 1 THEN '<27><>' WHEN NULL THEN 'Ů' END "XBText", Addr FROM Dict_XueJi1 WHERE (1=1) AND ( ( Dict_XueJi1.Starter =@Starter) AND ( Dict_XueJi1.BillState =@BillState) ) Exception=Unknown column 'ChuShengRiQi' in 'field list'
|
|
|
|
|
SQL= SELECT MyPK, FrmID, Name, EnPKValue, EnVer, RecNo, RecName, DBJSON, MyNote,RDT RDT FROM Sys_EnVer WHERE (1=1) AND ( ( Sys_EnVer.FrmID =@FrmID) AND ( Sys_EnVer.EnPKValue =@EnPKValue) ) ORDER BY EnVer Exception=Unknown column 'DBJSON' in 'field list'
|
|
|
|
|
SQL= SELECT No, FK_FlowSort, FK_FlowSortT, Name, FlowMark, FlowEventEntity, TitleRole, TitleRoleNodes, IFNULL(IsCanStart,1) IsCanStart, IFNULL( IsFullSA,0) IsFullSA, GuestFlowRole, CASE GuestFlowRole WHEN 0 THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' WHEN 1 THEN '<27><>ʼ<EFBFBD>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD>' WHEN 2 THEN '<27>м<EFBFBD><D0BC>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD><EFBFBD>' WHEN NULL THEN '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>' END "GuestFlowRoleText", Draft, CASE Draft WHEN 0 THEN '<27><>(<28><><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD>)' WHEN 1 THEN '<27><><EFBFBD>浽<EFBFBD><E6B5BD><EFBFBD><EFBFBD>' WHEN 2 THEN '<27><><EFBFBD>浽<EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>' WHEN NULL THEN '<27><>(<28><><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD>)' END "DraftText", SysType, Tester, ChartType, CASE ChartType WHEN 0 THEN '<27><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC>' WHEN 1 THEN 'Ф<><D0A4>ͼƬ' WHEN NULL THEN '<27><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC>' END "ChartTypeText", IFNULL( IsBatchStart,0) IsBatchStart, BatchStartFields, IFNULL( IsResetData,0) IsResetData, IFNULL( IsLoadPriData,0) IsLoadPriData, IFNULL(IsDBTemplate,1) IsDBTemplate, IFNULL(IsStartInMobile,1) IsStartInMobile, IFNULL( IsMD5,0) IsMD5, IFNULL( IsJM,0) IsJM, IFNULL( IsEnableDBVer,0) IsEnableDBVer, PTable, BillNoFormat, BuessFields, AdvEmps, IFNULL( IsFrmEnable,0) IsFrmEnable, IFNULL(IsTruckEnable,1) IsTruckEnable, IFNULL(IsTimeBaseEnable,1) IsTimeBaseEnable, IFNULL(IsTableEnable,1) IsTableEnable, IFNULL( IsOPEnable,0) IsOPEnable, TrackOrderBy, CASE TrackOrderBy WHEN 0 THEN '<27><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>Ⱥ<EFBFBD>˳<EFBFBD><CBB3>' WHEN 1 THEN '<27><><EFBFBD><EFBFBD>(<28>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ<EFBFBD><C7B0>)' WHEN NULL THEN '<27><><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>Ⱥ<EFBFBD>˳<EFBFBD><CBB3>' END "TrackOrderByText" FROM WF_Flow WHERE (1=1) AND WF_Flow.No=@No Exception=Unknown column 'AdvEmps' in 'field list'
|