摘要:M1射频卡餐饮计费系统网络版数据库表结构(数据字典)
射频卡网络版数据库表结构
/******Sever : newcapec ******/
/******Database : Accdb ******/
/******Createion Date 2002-7-30 ******/
********************************************************************************************
TABLE [dbo].[T_Answer]银行转帐留用
TABLE [dbo].[T_BackCard]退卡
TABLE [dbo].[T_BatHmd]批次号黑名单
TABLE [dbo].[T_BatNum]批次号
TABLE [dbo].[T_CardType]卡类型
TABLE [dbo].[T_CashDay]出纳日合计
TABLE [dbo].[T_Cashday_Stat]工作站出纳合记
TABLE [dbo].[T_Cashiers]出纳员信息
TABLE [dbo].[T_CashMonth]出纳月合计
TABLE [dbo].[T_CashRec]存取款记录
TABLE [dbo].[T_CashRecUpload]出纳记录上传
TABLE [dbo].[T_CashYear]出纳年合计
TABLE [dbo].[t_chkvalid]存取款非正常记录
TABLE [dbo].[T_ChkVldAccount]纠错记录备份
TABLE [dbo].[T_CloseOffRec]结帐记录
TABLE [dbo].[T_ConsumeBak]营业记录备份
TABLE [dbo].[T_ConsumeList]客户消费帐表
TABLE [dbo].[T_ConsumeMonth]月营业记录
TABLE [dbo].[T_ConsumeRec]消费记录
TABLE [dbo].[T_ConsumeRecUpload]消费记录上传
TABLE [dbo].[T_Correct]纠错记录
TABLE [dbo].[T_Customers]帐户信息
TABLE [dbo].[T_DeleteOpRec]删除操作记录
TABLE [dbo].[T_Department]单位定义
TABLE [dbo].[T_Eatery]食堂信息
TABLE [dbo].[T_Group]分组信息
TABLE [dbo].[T_HS_STUDENTS]学生信息
TABLE [dbo].[T_HSDPCHG]学生名称
TABLE [dbo].[T_HSDPCODE]单位信息
TABLE [dbo].[T_HSST]学生信息
TABLE [dbo].[T_IncomeDay]营业日合计
TABLE [dbo].[T_IncomeMonth]营业月合计
TABLE [dbo].[T_IncomeRec]营业餐合计
TABLE [dbo].[T_IncomeYear]营业年合计
TABLE [dbo].[T_Loss]挂失记录
TABLE [dbo].[T_Lossreason]挂失原因
TABLE [dbo].[T_LsHMD]零散黑名单
TABLE [dbo].[T_maneger]管理员信息
TABLE [dbo].[T_Meal]餐别信息
TABLE [dbo].[T_MenuSum]餐总额
TABLE [dbo].[T_MngFareDay]管理费日合计
TABLE [dbo].[T_MngFareMonth]管理费月合计
TABLE [dbo].[T_MngFareYear]管理年合计
TABLE [dbo].[T_NB_UseingPC]暖表系统增加字段
TABLE [dbo].[T_OldCardNo]旧卡号
TABLE [dbo].[T_OldCustomerID]旧卡号ID
TABLE [dbo].[T_QuChargRec]银行转帐记录
TABLE [dbo].[T_ReNewCard]补卡
TABLE [dbo].[T_RentCard]租卡
TABLE [dbo].[T_RentType]租卡类型
TABLE [dbo].[T_Request]银行转帐留用
TABLE [dbo].[T_Station]工作站信息
TABLE [dbo].[T_StationSubsidy]工作站补助
TABLE [dbo].[T_subsidy_yl]补助预览
TABLE [dbo].[T_SubsidyLoss]补助丢失记录
TABLE [dbo].[T_SubsidyMonth]补助月合计
TABLE [dbo].[T_SubsidyMonthPlan]本月应发补助
TABLE [dbo].[T_SubsidyNotPutOut]补助未发记录
TABLE [dbo].[T_SubsidyPause]补助暂停记录
TABLE [dbo].[T_SubsidyPre]补助历史表
TABLE [dbo].[T_SubsidyPutOut]补助已发记录
TABLE [dbo].[T_SubsidySubtract]补助扣发
TABLE [dbo].[T_SubsidyYear]补助年合计
TABLE [dbo].[T_SumRequest]银行转帐留用
TABLE [dbo].[T_Syslog]系统日志
TABLE [dbo].[T_SysPara]系统参数表
TABLE [dbo].[T_SysTimeParm]系统时间参数表
TABLE [dbo].[T_SysUpdate]系统更改日志
TABLE [dbo].[T_TermMenu]窗机菜单
表名:T_Answer(银行转帐留用)
字段名类型意义是否主键
CashID[smallint] NOT NULL出纳IDN
DragonCardNo[char] (19) NOT NULL龙卡卡号Y
Name[varchar] (8) NOT NULL名称N
AnswerJE[smallmoney] NOT NULL转帐金额N
CustomerID[int] NOT NULL客户IDN
OpCode[char] (2) NOT NULL操作代码N
AnswerDT[datetime] NOT NULL转帐日期Y
StatCode[char] (3) NOT NULL工作站代码N
ID[int] NOT NULL标识N
表名:T_BackCard(退卡)
字段名类型意义是否主键
CustomerID[int] NOT NULL客户IDY
BackDT[datetime] NOT NULL退卡日期Y
RentNum[int] NOT NULL租卡编号N
CashID[smallint] NOT NULL出纳IDN
OutFare[money] NOT NULL余额N
RentFare[money] NOT NULL租额N
n_sr[int] NULL流水号Y
表名:T_BatHmd(批次号黑名单)
字段名类型意义是否主键
[BatNo][smallint] NOT NULL批次号Y
[OpDt][datetime] NOT NULL操作日期N
[NewFlag][bit] NOT NULL新旧标记N
[opid][smallint] NULL操作员IDNN
表名:T_CardType(卡类型)
字段名类型意义是否主键
[CardType][tinyint] NOT NULL卡类型Y
[ManegeFare][tinyint] NOT NULL管理费N
[SubsidyFare][numeric](5, 2) NULL补助费N
表名:T_CashDay(出纳日合计)
字段名类型意义是否主键
[OpDt][datetime] NOT NULL操作日期Y
[StatID][tinyint] NOT NULL工作站代码Y
[CashID][smallint] NOT NULL出纳代码Y
[InCount][smallint] NOT NULL存款次数N
[InFare][smallmoney] NOT NULL存款金额N
[OutCount][smallint] NOT NULL取款次数N
[OutFare][smallmoney] NOT NULL取款金额N
[ReNewCount][smallint] NOT NULL补卡次数N
[ReNewFare][smallmoney] NOT NULL补卡金额N
[ReNewCardFare][smallmoney] NOT NULL补卡手续费N
[NewCount][smallint] NOT NULL开户次数N
[NewFare][smallmoney] NOT NULL开户金额N
[NewCardFare][smallmoney] NOT NULL开户手续费N
[LossFare][smallmoney] NOT NULL挂失次数N
[UnLossCount][smallint] NOT NULL解挂次数N
[UnLossFare][smallmoney] NOT NULL解挂金额N
[WriteOffCount][smallint] NOT NULL注销次数N
[WriteOffFare][smallmoney] NOT NULL注销金额N
[CorrectCount][smallint] NOT NULL纠错次数N
[CorrectFare][smallmoney] NOT NULL纠错金额N
[Rentfare][smallmoney] NOT NULL租卡金额N
[Rentcount][smallint] NOT NULL租卡次数N
[Backfare][smallmoney] NOT NULL退卡金额N
[Backcount][smallint] NOT NULL退卡次数N
[Backrentfare][smallmoney] NOT NULL退卡手续费N
[ZxSxf][smallmoney] NULL注销手续费N
表名:T_Cashday_Stat(工作站出纳日合计)
字段名类型意义是否主键
[Statid][tinyint] NOT NULL工作站IDY
[Cashid][smallint] NOT NULL出纳员IDY
[CashDT][datetime] NOT NULL存款日期Y
[port][tinyint] NOT NULL端口Y
[term][tinyint] NOT NULL窗机号Y
[OpFare][money] NOT NULL存款金额N
[OpCount][smallint] NOT NULL存款次数N
[IsUse][tinyint] NOT NULL被使用状态Y
[OpID][smallint] NOT NULL操作IDN
[OpDt][datetime] NOT NULL操作日期N
[Source][tinyint] NOT NULL来源标识Y
[ComputerFare][money] NULL主机金额N
[ComputerCount][int] NULL主机次数N
表名:T_Cashiers(出纳员信息)
字段名类型意义是否主键
[StatID][tinyint] NOT NULL工作站代码Y
[CashID][smallint] NOT NULL出纳IDY
[Name][varchar] (20) NOT NULL出纳姓名N
[CardNo][int] NOT NULL出纳卡卡号N
[Pwd][char] (6) NOT NULL密码N
[Status][bit] NOT NULL状态N
[Zone][int] NULL分区N
表名:T_CashMonth(出纳月合计)
字段名类型意义是否主键
[Month][datetime] NOT NULL月份Y
[StatID][tinyint] NOT NULL工作站IDY
[CashID][smallint] NOT NULL出纳员IDY
[InCount][int] NOT NULL存款次数N
[InFare][money] NOT NULL存款金额N
[OutCount][int] NOT NULL取款次数N
[OutFare][money] NOT NULL取款金额N
[ReNewCount][int] NOT NULL补卡次数N
[ReNewFare][money] NOT NULL补卡金额N
[ReNewCardFare][money] NOT NULL补卡手续费N
[NewCount][int] NOT NULL开户次数N
[NewFare][money] NOT NULL开户金额N
[NewCardFare][money] NOT NULL开户手续费N
[LossCount][int] NOT NULL挂失次数N
[LossFare][money] NOT NULL挂失金额N
[UnLossCount][int] NOT NULL解挂次数N
[UnLossFare][money] NOT NULL解挂金额N
[WriteOffCount][int] NOT NULL注销次数N
[WriteOffFare][money] NOT NULL注销金额N
[CorrectCount][int] NOT NULL纠错次数N
[CorrectFare][money] NOT NULL纠错金额N
[Rentfare][money] NOT NULL租卡金额N
[Rentcount][int] NOT NULL租卡次数N
[Backfare][money] NOT NULL退卡金额N
[Backcount][int] NOT NULL退卡次数N
[Backrentfare][money] NULL退卡手续费N
[StartDT][datetime] NULL起始日期N
[Enddt][datetime] NULL结束日期N
[ZxSxf][money] NULL注销手续费N
表名:T_CashRec(存取款记录)
字段名类型意义是否主键
[StatID][tinyint] NOT NULL工作站代码N
[CashID][smallint] NOT NULL出纳员代码N
[Port][tinyint] NOT NULL端口N
[Term][tinyint] NOT NULL窗机N
[CashDt][datetime] NOT NULL存取款时间N
[CollectDt][datetime] NOT NULL采集时间N
[CustomerID][int] NOT NULL客户IDN
[OpCount][int] NOT NULL操作次数N
[InFare][smallmoney] NOT NULL存款额N
[OutFare][smallmoney] NOT NULL取款额N
[SumFare][smallmoney] NOT NULL总额N
[OddFare][smallmoney]NOT NULL余额N
[Hz][tinyint] NOT NULL汇总标志N
[CurSum][smallmoney]当前总额N
[CurCount][smallint]当前次数N
表名:T_CashRecUpload(出纳记录上传)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL工作站IDN
[CashID] [smallint] NOT NULL出纳员IDN
[Port] [tinyint] NOT NULL端口N
[Term] [tinyint] NOT NULL窗机N
[CashDt][datetime] NOT NULL存款日期N
[CollectDt] [datetime] NOT NULL采集日期N
[CustomerID] [int] NOT NULL客户IDY
[OpCount] [int] NOT NULL操作次数Y
[InFare] [smallmoney] NOT NULL存款额N
[OutFare] [smallmoney] NOT NULL取款额N
[SumFare] [smallmoney] NOT NULL总额N
[OddFare] [smallmoney] NOT NULL余额N
[Hz] [tinyint] NOT NULL汇总标志N
[HasUpdateZB][bit] NOT NULL是否更新帐本N
表名:T_CashYear(营业年合计)
字段名类型意义是否主键
[Year][smallint] NOT NULL年Y
[StatID][tinyint] NOT NULL工作站IDY
[CashID][smallint] NOT NULL出纳员IDY
[InCount][int] NOT NULL存款次数N
[InFare][money] NOT NULL存款金额N
[OutCount][int] NOT NULL取款次数N
[OutFare][money] NOT NULL取款金额N
[ReNewCount][int] NOT NULL补卡次数N
[ReNewFare][money] NOT NULL补卡金额N
[ReNewCardFare][money] NOT NULL补卡手续费N
[NewCount][int] NOT NULL开户次数N
[NewFare][money] NOT NULL开户金额N
[NewCardFare][money] NOT NULL开户手续费N
[LossCount][int] NOT NULL挂失次数N
[LossFare][money] NOT NULL挂失金额N
[UnLossCount][int] NOT NULL解挂次数N
[UnLossFare][money] NOT NULL解挂金额N
[WriteOffCount][int] NOT NULL注销次数N
[WriteOffFare][money] NOT NULL注销金额N
[CorrectCount][int] NOT NULL纠错次数N
[CorrectFare][money] NOT NULL纠错金额N
[Rentfare][money] NOT NULL租卡金额N
[Rentcount][int] NOT NULL租卡次数N
[Backfare][money] NOT NULL退卡金额N
[Backcount][int] NOT NULL退卡次数N
[Backrentfare][money] NULL退卡手续费N
[StartDT][datetime] NULL起始日期N
[Enddt][datetime] NULL结束日期N
[ZxSxf][money] NULL注销手续费N
表名:t_chkvalid(存取款非正常记录)
字段名类型意义是否主键
[customerid] [int] NOT NULL客户IDN
[lastxfcs] [int] NOT NULL最后消费次数N
[xfcs] [int] NOT NULL消费次数N
[lastye] [numeric](18, 4) NOT NULL最后余额N
[ye] [numeric](18, 4) NOT NULL余额N
[xfe][numeric](18, 4) NOT NULL消费额N
[valid] [int] NOT NULL是否有效N
[recdt] [datetime] NOT NULL记录日期N
[bzyff] [tinyint] NOT NULL补助是否发放N
[hz] [tinyint] NOT NULL汇总N
[n_sr] [int] NOT NULL流水号N
表名:T_ChkVldAccount(纠错记录备份)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
[OpDateTime] [datetime] NOT NULL操作日期Y
[OldSumFare] [money] NULL原有总额N
[NewSumFare] [money] NULL现有总额N
[OldOddFare] [money] NULL原有余额N
[NewOddFare] [money] NULL现有余额N
[OldOpCount] [int] NULL原操作次数N
[NewOpCount] [int] NULL现操作次数N
[Hz] [tinyint] NULL汇总标志N
表名:T_CloseOffRec(结帐记录)
字段名类型意义是否主键
[OpDt] [datetime] NOT NULL结帐日期Y
[StatID] [tinyint] NOT NULL工作站代码N
[OperaterID] [tinyint] NOT NULL操作员代码Y
[OperaterType] [tinyint] NOT NULL操作员类型N
[CloseOffType] [tinyint] NOT NULL结帐类型Y
表名:T_ConsumeBak(消费记录备份)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
[StartDT] [datetime] NOT NULL起始日期Y
[EndDT] [datetime] NOT NULL结束日期N
[SumConsumeFare] [money] NOT NULL总消费额N
[SumConsumeCount][int] NOT NULL总消费次数N
[OpDT] [datetime] NOT NULL操作日期N
表名:T_ConsumeList(客户消费帐表)
字段名类型意义是否主键
[Custid] [int] NOT NULL客户代码Y
[AvgFare] [money] NOT NULL平均消费额N
[XfCount] [int] NOT NULL消费次数N
[XfSum] [money] NOT NULL消费总额N
表名:T_ConsumeMonth(月消费记录)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
[Month] [datetime] NOT NULL月份Y
[SumConsumeFare] [money] NOT NULL总消费额N
[SumConsumeCount] [int] NOT NULL总消费次数N
[OpDt] [datetime] NOT NULL操作日期N
表名:T_ConsumeRec(消费记录)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL工作站码N
[Port] [tinyint] NOT NULL端口N
[Term] [tinyint] NOT NULL窗机号N
[CustomerID] [int] NOT NULL客户代码N
[OpCount] [int] NOT NULL操作次数N
[OpDt] [datetime] NOT NULL操作日期N
[CollectDt] [datetime] NOT NULL采集日期N
[MealID] [tinyint] NOT NULL餐别IDN
[SumFare] [smallmoney] NOT NULL总额N
[OddFare] [smallmoney] NOT NULL余额N
[MngFare] [smallmoney] NOT NULL管理费N
[OpFare] [smallmoney] NOT NULL操作金额N
[Hz] [tinyint] NOT NULL汇总标志N
[MenuID] [smallint] NULL菜单ID号N
[MenuNum] [tinyint] NULL菜单种类N
[OddFarePre] [smallmoney] NULL以前的余额N
[RecNo] [smallint] NULL记录号N
表名:T_ConsumeRecUpload(消费记录上传)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL工作站码N
[Port] [tinyint] NOT NULL端口N
[Term] [tinyint] NOT NULL窗机号N
[CustomerID] [int] NOT NULL客户代码Y
[OpDt] [datetime] NOT NULL操作日期Y
[CollectDt] [datetime] NOT NULL采集日期N
[MealID] [tinyint] NOT NULL餐别IDN
[SumFare] [smallmoney] NOT NULL总额N
[OddFare] [smallmoney] NOT NULL余额N
[MngFare] [smallmoney] NOT NULL管理费N
[OpFare] [smallmoney] NOT NULL操作金额N
[Hz][tinyint] NOT NULL汇总标志N
[MenuID] [smallint] NULL菜单IDN
[MenuNum] [tinyint] NULL菜单号N
[OddFarePre] [smallmoney] NULL以前余额记录N
[HasUpdateZB] [bit] NOT NULL是否更新帐本N
表名:T_Correct(纠错记录)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
[CstmAccount] [varchar] (10) NOT NULL帐号N
[OpDt] [datetime] NOT NULL操作日期Y
[ConsumDt] [datetime] NOT NULL消费日期N
[StatID] [tinyint] NOT NULL工作站码N
[CashID] [smallint] NOT NULL出纳代码N
[ConsumFare] [smallmoney] NOT NULL消费额N
[CorrectFare] [smallmoney] NOT NULL纠错额N
表名:T_Customers(客户信息)
字段名类型意义是否主键
[CustomerID][int] NOT NULL客户代码Y
[StatCode] [varchar] (3) NOT NULL工作站代码
[Account] [varchar] (7) NOT NULL单位代码
[Name] [varchar] (12) NOT NULL姓名
[CardNo] [int] NOT NULL卡号
[CardType] [tinyint] NOT NULL卡类别
[Status] [tinyint] NOT NULL状态
[OpenDt] [datetime] NOT NULL操作日期
[CashID][smallint] NOT NULL出纳员代码
[SumFare] [smallmoney] NOT NULL总额
[ConsumeFare] [smallmoney] NOT NULL消费额
[OddFare] [smallmoney] NOT NULL余额
[OpCount] [int] NOT NULL操作次数
[CurSubsidyFare] [smallmoney] NOT NULL本月补助费
[SubsidyDT] [datetime] NOT NULL补助日期
[SubsidyOut] [char] (1) NOT NULL发放标记
[Alias] [varchar] (10) NULL别名
[outid] [varchar] (16) NULL工号
[UpdateID] [tinyint] NOT NULL是否更新标记
[Pwd] [char] (4) NULL密码
[QuChargFare] [smallmoney] NULL申请转帐金额
[HasTaken] [tinyint] NULL是否领取
[DragonCardNo] [char] (19) NULL龙卡卡号
[ApplyCharg] [smallmoney] NULL领款金额
[ChargPer][smallmoney] NULL转帐标准
[MingZu] [varchar] (20) NULL民族
[Sex] [char] (2) NULL性别
[Memo] [varchar] (100) NULL备注
[WeiPeiDW] [varchar] (10) NULL委培单位
[CardConsumeType] [tinyint] NULL卡消费类型
[LeaveSchoolDT] [datetime] NULL离校日期
表名:T_DeleteOpRec(删除操作记录)
字段名类型意义是否主键
[OpDt] [datetime] NOT NULL操作日期Y
[StatID] [tinyint] NOT NULL工作站代码N
[OperaterID] [tinyint] NOT NULL操作员代码Y
[OpType] [tinyint] NOT NULL操作类型N
[RecEndDt] [datetime] NOT NULL对应记录截止时间N
表名:T_Department(单位定义)
字段名类型意义是否主键
[DpCode1] [char] (2) NOT NULL一级单位代码N
[DpCode2] [char] (2) NULL二级单位代码N
[DpCode3] [char] (3) NULL三级单位代码N
[DpName1] [varchar] (30) NULL一级单位名称N
[DpName2] [varchar] (30) NULL二级单位名称N
[DpName3] [varchar] (30) NULL三级单位名称N
[N_SR][int] NOT NULL流水号Y
[BatNum] [smallint] NULL批次号N
表名:T_Eatery(食堂信息)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL工作站码Y
[STID] [tinyint] NOT NULL食堂代码Y
[STName] [varchar] (20) NOT NULL食堂名称N
表名:T_Group(分组信息)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL工作站码Y
[STID] [tinyint] NOT NULL食堂代码Y
[GrpID] [tinyint] NOT NUL组代码Y
[GrpName][varchar] (20) NOT NULL组名称N
表名:T_HS_STUDENTS(学生表)
字段名类型意义是否主键
[学号] [varchar] (10) NOT NULL[学号] Y
[拼音] [varchar] (50) NULL[拼音] N
[姓名] [varchar] (50) NULL[姓名] N
[性别] [varchar] (50) NULL[性别] N
[出生日期] [varchar] (50) NULL[出生日期] N
[民族] [varchar] (50) NULL[民族] N
[籍贯] [varchar] (50) NULL[籍贯] N
[院系单位] [varchar] (50) NULL[院系单位] N
[收费种类] [varchar] (50) NULL[收费种类] N
[入校时间] [datetime] NULL[入校时间] N
[学生类别] [varchar] (50) NULL[学生类别] N
[家庭住址] [varchar] (50) NULL[家庭住址] N
表名:T_HSDPCHG(学生名称)
字段名类型意义是否主键
[hsdpcode] [varchar] (10) NOT NULL华师单位代码Y
[capdpcode] [varchar] (10) NOT NULL其它N
表名: T_HSDPCODE(单位名称)
字段名类型意义是否主键
[hsdpcode] [varchar] (10) NOT NULL华师单位代码Y
[hasuse] [tinyint] NULL已经使用N
表名:T_HSST(学生信息)
字段名类型意义是否主键
[custdp] [varchar] (16) NOT NULL学生代码Y
[name] [varchar] (10) NOT NULL学生名称N
表名:T_IncomeDay(营业日合计)
字段名类型意义是否主键
[StatID] [smallint] NOT NULL工作站代码Y
[Port] [tinyint] NOT NULL端口号Y
[TermID] [tinyint] NOT NULL窗机号Y
[IncomeDT][datetime] NOT NULL营业日期Y
[MealID] [tinyint] NOT NULL餐别代码Y
[SumFare] [money] NOT NULL总额N
[SumCount] [int] NOT NULL总次数N
[IsUse] [tinyint] NOT NULL有无使用Y
[OpDt][datetime] NULL操作日期N
[OpID] [smallint] NULL操作员代码N
[Source] [tinyint] NOT NULL记录来源Y
表名:T_IncomeMonth(营业月合计)
字段名类型意义是否主键
[Month] [datetime] NOT NULL月份Y
[StatID] [tinyint] NOT NULL工作站码Y
[Port] [tinyint] NOT NULL端口号Y
[Term] [tinyint] NOT NULL窗机号Y
[MealID] [tinyint] NOT NULL餐别代码Y
[IncomeCount] [int] NOT NULL收支次数N
[IncomeFare] [money] NOT NULL营业金额N
[CorrectFare] [money] NULL纠错金额N
[MngFare] [money] NULL管理费N
[StartDT] [datetime] NULL起始日期N
[EndDT] [datetime] NULL结束日期N
表名:T_IncomeNum(营业额)
字段名类型意义是否主键
[StatID][int] NOT NULL ,工作站码Y
[Stid][smallint] NOT NULL ,食堂IDY
[OpDT][datetime] NOT NULL ,操作日期Y
[MealID][smallint] NOT NULL ,餐别代码Y
[ConsumeNum][smallint] NOT NULL ,消费数量总计N
[CustomerSum][int] NOT NULL消费合计N
表名:T_IncomeRec(营业合计)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站代码Y
[MealID][tinyint] NOT NULL ,餐别代码Y
[Port][tinyint] NOT NULL ,端口号Y
[Term][tinyint] NOT NULL ,窗机号Y
[SumDt][datetime] NOT NULL ,日期Y
[IncomeFare][money] NOT NULL营业额N
[IncomeCount][int] NOT NULL ,营业次数N
[MngFare][money] NOT NULL管理费N
[CorrectFare][money] NULL纠错金额N
表名:T_IncomeYear(营业年合计)
字段名类型意义是否主键
[Year] [smallint] NOT NULL ,年Y
[StatID][tinyint] NOT NULL ,工作站代码Y
[Port][tinyint] NOT NULL ,端口号Y
[Term][tinyint] NOT NULL ,窗机号Y
[IncomeCount][int] NOT NULL营业次数N
[IncomeFare][money] NOT NULL营业金额N
[Mngfare][money] NULL管理费N
[CorrectFare][money] NULL纠错金额N
表名:T_Loss(挂失记录)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
[cardno][int] NOT NULL ,卡号N
[opDT][datetime] NOT NULL操作日期Y
[StatID][smallint] NOT NULL ,工作站代码N
[CashID][smallint] NOT NULL ,出纳员代码N
[ReasonID][tinyint] NULL挂失原因代码N
表名:T_Lossreason(挂失原因)
字段名类型意义是否主键
[ReasonID] [tinyint] NOT NULL ,挂失原因代码Y
[Reason][varchar] (20) NOT NULL挂失原因N
表名:T_LsHMD(零散黑名单)
字段名类型意义是否主键
[CardNo] [int] NOT NULL卡号Y
[CustomerId][int] NOT NULL ,客户ID号N
[Dt][datetime] NOT NULL ,日期N
[NewFlag01][bit] NOT NULL新旧标志N
[NewFlag02][bit] NOT NULL新旧标志N
[NewFlag03][bit] NOT NULL新旧标志N
[NewFlag04][bit] NOT NULL新旧标志N
表名:T_maneger(管理员信息)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站代码Y
[ManegerID][tinyint] NOT NULL ,管理员代码Y
[Name][varchar] (10) NOT NULL ,姓名N
[Pwd][varchar] (10) NOT NULL ,口令N
[CardNo][int] NULL卡号N
[Levels][tinyint] NULL级别N
[Status][bit] NOT NULL使用标记N
表名:T_Meal(餐别信息)
字段名类型意义是否主键
[MealID][tinyint] NOT NULL ,餐别代码Y
[MealName][varchar] (12) NOT NULL ,餐别名称N
[STime][datetime] NOT NULL ,起始时间N
[ETime][datetime] NOT NULL终止时间N
表名:T_MenuSum(餐总额)
字段名类型意义是否主键
[MenuID] [smallint] NOT NULL ,菜单IDY
[MenuName][varchar] (20) NOT NULL ,菜单名称N
[MenuFare][money] NOT NULL金额N
表名:T_MngFareDay(管理费日合计)
字段名类型意义是否主键
[StatID][tinyint] NOT NULL ,工作站码Y
[SumDt][datetime] NOT NULL ,合计日期N
[CardType][tinyint] NOT NULL ,卡类型N
[Fare][smallmoney] NOT NULL金额N
表名:T_MngFareMonth(管理费用合计)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站码Y
[Month][datetime] NOT NULL ,月份Y
[CardType][tinyint] NOT NULL ,卡类型N
[Fare][smallmoney] NOT NULL金额N
表名:T_MngFareYear(管理费年合计)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站代码Y
[Year][datetime] NOT NULL ,年Y
[CardType][tinyint] NOT NULL ,卡类型N
[Fare][smallmoney] NOT NULL金额N
表名:T_OldCardNo(老卡号)
字段名类型意义是否主键
[BatNum] [smallint] NOT NULL ,批次号Y
[CardNo][smallint] NOT NULL卡号Y
表名:T_OldCustomerID(老帐号)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
表名:T_QuChargRec(银行转帐留用)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站码N
[CustomerID][int] NULL ,客户代码N
[DT][datetime] NULL日期N
[bPort][tinyint] NULL端口号N
[bTerm][tinyint] NULL窗机号N
[QuChargSum][smallmoney] NULL ,申请金额N
[XfCount][int] NULL消费次数N
表名:T_ReNewCard(补卡)
字段名类型意义是否主键
[CustomerID][int] NOT NULL ,客户代码Y
[CstmAccount][varchar] (7) NOT NULL ,帐号N
[OpDt][datetime] NOT NULL ,操作日期Y
[OldCardNo][int] NOT NULL老卡号N
[NewCardNo][int] NOT NULL ,新卡号N
[StatID][tinyint] NOT NULL ,使用标记N
[CashID][smallint] NOT NULL出纳代码N
表名:T_RentCard(租卡)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL客户代码Y
[RentDT] [datetime] NOT NULL ,租卡日期Y
[RentID][tinyint] NOT NULL ,租卡代码N
[CashID][smallint] NOT NULL ,出纳代码N
[Infare][smallmoney] NOT NULL ,租卡金额N
[IsBack][bit] NOT NULL ,是否退卡N
[n_sr][int] IDENTITY (1, 1) NOT NULL流水号N
表名:T_RentType(租卡类型)
字段名类型意义是否主键
[RentType][tinyint] NOT NULL ,租卡类型Y
[RentFare][smallmoney] NOT NULL ,租卡金额N
[RentName][varchar] (10) NOT NULL租卡人名称N
表名:T_Station(工作站信息)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站IDY
[StatCode][char] (3) NOT NULL ,工作站代码N
[StatName][varchar] (40) NOT NULL ,工作站名称N
[IsUse][bit] NOT NULL是否使用N
表名:T_StationSubsidy(工作站补助)
字段名类型意义是否主键
[StatID][tinyint] NOT NULL ,工作站代码Y
[Month][datetime] NOT NULL ,月份Y
[CardType][tinyint] NOT NULL ,卡类型Y
[PutoutCount][int] NOT NULL ,发放次数N
PutoutFare[money] NOT NULL ,发放金额N
Type[int] (4) NOT NULL ,类型Y
表名:T_subsidy_yl(补助预览)
字段名类型意义是否主键
[customer_id] [int] NOT NULL ,客户ID号N
[account][varchar] (7) NOT NULL ,帐号N
[name][varchar] (12) NOT NULL ,名字N
[card_no][int] NOT NULL ,卡号N
[card_type][tinyint] NOT NULL ,卡类型N
[subsidy_normal][smallmoney] NULL ,补助标准N
[cursubsidy_fare][smallmoney] NULL ,实发补助金额N
[out_id][varchar] (10) NULL工号N
表名:T_SubsidyLoss(补助丢失记录)
字段名类型意义是否主键
[Month] [datetime] NOT NULL ,补助月Y
[CustomerID][int] NOT NULL ,客户IDY
[CardType][tinyint] NOT NULL ,卡类型N
[Subsidy][smallmoney] NOT NULL ,补助额N
[Cashid][smallint] NULL ,出纳IDN
[LossDT][datetime] NULL丢失日期N
表名:T_SubsidyMonth(补助月合计)
字段名类型意义是否主键
[Month] [datetime] NOT NULL ,补助月Y
[CardType][tinyint] NOT NULL ,卡类型Y
[PlanCount][int] NOT NULL ,计划发放次数N
[PlanSubsidy][money] NOT NULL ,计划补助总额N
[PutOutCount][int] NOT NULL ,已发补助次数N
[PutOutSubsidy][money] NOT NULL ,已发补助金额N
[LastCount] [int] NOT NULL ,剩余次数N
[LastSubsidy][money] NOT NULL剩余补助N
[PlanPre] [money] NOT NULL前期未发N
[PlanPreCount] [int] NOT NULL ,前期未发次数N
[PutOutPre][money] NOT NULL ,前期已发金额N
[PutOutPreCount][int] NOT NULL ,前期已发次数N
[LastPre][money] NOT NULL ,前期剩余金额N
[LastPreCount][int] NOT NULL ,前期剩余次数N
[HasCloseOff][bit] NOT NULL ,是否月结N
[CloseOffDt][datetime] NOT NULL ,月结日期N
[Opdt][datetime] NOT NULL ,操作日期N
[ManegerID][tinyint] NOT NULL管理员IDN
表名:T_SubsidyMonthPlan(补助月计划)
字段名类型意义是否主键
[Month] [datetime] NOT NULL ,补助月N
[CustomerID][int] NOT NULL ,客户IDY
[CardType][tinyint] NOT NULL ,卡类型 N
[Subsidy][smallmoney] NOT NULL补助额N
表名:T_SubsidyNotPutOut(前期未发补助)
字段名类型意义是否主键
[Month] [datetime] NOT NULL ,补助月Y
[CustomerID][int] NOT NULL客户IDY
[CardType][tinyint] NOT NULL ,卡类型N
[Subsidy][smallmoney] NOT NULL补助额N
表名:T_SubsidyPause(补助暂停)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站代码N
[CashID][smallint] NOT NULL ,出纳员代码N
[PauseDT][datetime] NOT NULL ,暂停日期N
[CustomerID][int] NOT NULL客户IDN
[CstmAccount][varchar] (7) NOT NULL ,帐号N
[Month][datetime] NOT NULL ,补助月Y
[CardType][tinyint] NOT NULL ,卡类型N
[PauseFare][smallmoney] NOT NULL ,暂停金额N
[Memo] [varchar] (20) NOT NULL ,备注N
[Process][bit] NOT NULL是否已处理N
表名:T_SubsidyPre(补助历史记录)
字段名类型意义是否主键
[Month][datetime] NOT NULL ,补助月Y
[CustomerID][int] NOT NULL ,客户IDY
[CardType][tinyint] NOT NULL ,卡类型 N
[Subsidy][smallmoney] NOT NULL补助额N
表名:T_SubsidyPutOut(补助已发)
字段名类型意义是否主键
[CustomerID][int] NOT NULL ,客户IDN
[CashID][smallint] NULL ,出纳IDN
[Month][datetime] NOT NULL ,补助月N
[CardType][tinyint] NOT NULL ,卡类型N
[Subsidy][smallmoney] NOT NULL ,补助额N
[PutOutDt][datetime] NULL ,发放日期N
[OpCount][int] NULL ,操作记数N
[SumFare][smallmoney] NULL ,总额N
[OddFare][smallmoney] NULL ,余额N
[StatID][tinyint] NULL ,工作站码N
[Port][tinyint] NULL ,端口N
[Term][tinyint] NULL ,窗机号N
[Flag][bit] NOT NULL ,标志N
[Source][tinyint] NULL记录来源N
表名:T_SubsidySubtract(补助扣发)
字段名类型意义是否主键
[CustomerID] [int] NOT NULL ,客户IDY
[CstmAccount][varchar] (7) NOT NULL ,帐号Y
[Month][datetime] NOT NULL ,补助月Y
[CardType][tinyint] NOT NULL ,卡类型N
[OldFare][smallmoney] NOT NULL ,原补助额N
[NewFare][smallmoney] NOT NULL ,现补助额N
[SubDt][datetime] NOT NULL ,补助日期N
[StatID][tinyint] NOT NULL ,工作站码N
[CashID][smallint] NOT NULL ,出纳IDN
[Process][bit] NOT NULL是否处理N
表名:T_SubsidyYear(年合计)
字段名类型意义是否主键
[Year] [smallint] NOT NULL ,补助年Y
[CardType][tinyint] NOT NULL ,卡类型Y
[PlanSubsidy][money] NOT NULL ,计划补助N
[PutOutSubsidy][money] NOT NULL ,发放补助N
[LastSubsidy][money] NOT NULL ,剩余补助N
[CloseOffDt][datetime] NOT NULL年结日期N
表名:T_SumAnswer
字段名类型意义是否主键
[CashID] [smallint] NOT NULL ,出纳IDN
[ID][int] NOT NULL ,客户IDY
[SuccessJE][money] NOT NULL ,转帐金额N
[OpDT] [datetime] NOT NULL ,操作日期N
[StatCode][char] (3) NOT NULL ,工作站码N
[SuccessCount][int] NULL转帐次数N
表名:T_Syslog(系统日志)
字段名类型意义是否主键
[OpDT] [datetime] NOT NULL ,操作日期N
[OpID][int] NOT NULL操作ID号N
[Zone][tinyint] NOT NULL ,区域N
[Status][tinyint] NOT NULL使用状态N
表名:T_SysPara(系统参数)
字段名类型意义是否主键
[DpID] [tinyint] NOT NULL ,单位标记Y
[OldDpID][tinyint] NOT NULL ,旧单位标记Y
[DpName][varchar] (40) NOT NULL ,单位名称N
[DpPwd][char] (12) NOT NULL ,单位密码N
[OldDpPwd] [char] (12) NOT NULL ,老单位密码N
[Khf] [numeric](4, 2) NOT NULL开户表N
[Khkcb] [smallint] NOT NULL开户卡成本N
[Gsf] [numeric](4, 2) NOT NULL挂失费N
[Jgf] [numeric](4, 2) NOT NULL解挂费N
[Bkf] [numeric](4, 2) NOT NULL ,补卡费N
[BkKCB][smallint] NOT NULL ,补卡卡成本N
[Kdj][smallint] NOT NULL ,卡底金N
[Yfje][smallint] NOT NULL ,预发金额N
[Xfxe][smallint] NOT NULL ,消费限额N
[Rxfxe][smallint] NOT NULL ,日消费限额N
[Tksxf][numeric](4, 2) NOT NULL ,退卡手续费N
[Rzj] [numeric](4, 2) NOT NULL ,日租金N
[OldIdRQ][datetime] NULL ,老的更换日期N
[OldPwdRQ][datetime] NULL ,保留暂不用N
[MaxCustid][int] NULL ,最大客户ID号N
[SysStartDT][datetime] NULL ,系统启动日期N
[NoCardZxSxf][smallmoney] NULL无卡客户注销手续费N
[NewSystem][bit] NOT NULL是否新系统N
表名:T_SysTimeParm(系统时间参数表)
字段名类型意义是否主键
[ReNewCardDT] [tinyint] NOT NULL ,补卡日期N
[MonthDT][tinyint] NOT NULL ,月结参数N
[MonthEnd][tinyint] NOT NULL ,月结结束日期N
[YearDT][tinyint] NOT NULL ,年结日期N
[MaxConSumeNum][smallint] NOT NULL ,最大消费人数Y
[MinConSumeNum][smallint] NOT NULL ,最小消费人数N
[ProgramDT][smallint] NULL屏幕保护时间N
表名:T_SysUpdate
字段名类型意义是否主键
[OpDT] [datetime] NOT NULL ,操作日期N
[UserName][varchar] (20) NOT NULL ,用户名N
[ColumnName][varchar] (20) NOT NULL ,列名N
[OldVal][smallmoney] NOT NULL ,N
[NewVal][smallmoney] NOT NULL ,N
[TableName][varchar] (10) NOT NULL表名N
表名:T_TermMenu(窗机菜单)
字段名类型意义是否主键
[StatID] [tinyint] NOT NULL ,工作站码Y
[Port][tinyint] NOT NULL ,端口Y
[Term][tinyint] NOT NULL ,终端号Y
[Tkey][tinyint] NOT NULL ,键号Y
[MenuID][smallint] NOT NULL菜单IDN