|
|
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 '男' 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 '不参与' WHEN 1 THEN '开始节点参与' WHEN 2 THEN '中间节点参与' WHEN NULL THEN '不参与' END "GuestFlowRoleText", Draft, CASE Draft WHEN 0 THEN '无(不设草稿)' WHEN 1 THEN '保存到待办' WHEN 2 THEN '保存到草稿箱' WHEN NULL THEN '无(不设草稿)' END "DraftText", SysType, Tester, ChartType, CASE ChartType WHEN 0 THEN '几何图形' WHEN 1 THEN '肖像图片' WHEN NULL THEN '几何图形' 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 '按照时间先后顺序' WHEN 1 THEN '倒序(新发生的在前面)' WHEN NULL THEN '按照时间先后顺序' END "TrackOrderByText" FROM WF_Flow WHERE (1=1) AND WF_Flow.No=@No Exception=Unknown column 'AdvEmps' in 'field list'
|