2022年SQL数据结构 .pdf
《2022年SQL数据结构 .pdf》由会员分享,可在线阅读,更多相关《2022年SQL数据结构 .pdf(18页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、数据结构一、基本信息数据结构1、商品基本资料数据结构barcodePKbarcode_idI1p_idI1barcodeproductsPK,I5product_idI5,I4class_idI3,I7parent_idI7,I6child_numberchild_countserial_numberI1namealiasstandardmodalpermitcodetrademarkmakeareaunit1_idunit2_idunit3_idunit4_idrate2rate3rate4validmonthvaliddaycommentdeletedI2pinyinfirstcheckv
2、alidcheckotcflaggspflagmedtypecostmethodEngNameChemNameLatinNamemedtypePKmt_idmt_codemt_namedeletedunitPKunit_idnamedeletedpricePKprice_idI1p_idI1u_idretailpricerecpriceprice1price2price3price4gppriceglpricespecialpriceunittypelowprice说明:Products 商品信息表Barcode 一品多码表Unit 商品单位表Price 价格表MedType 剂型表名师资料总
3、结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 18 页 - - - - - - - - - 2、往来单位基本信息clientsPKclient_idI4class_idparent_idchild_numberchild_countI1serial_numberI2namealiasregion_idphone_numberaddresszipcodecontact_personaltax_numberacount_numbercredit_totalI3pinyinpricem
4、odesklimitartotalartotal_iniaptotalaptotal_inipre_artotalpre_artotal_inipre_aptotalpre_aptotal_inifirstcheckcommentcsflagdeletedProtocolDateRegionPKregion_idI1serial_numbernamecommentdeleted说明:Clients 往来单位信息库Region 片区信息3、仓库基本信息名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - -
5、 - - 第 2 页,共 18 页 - - - - - - - - - storagesPKstorage_idI3class_idparent_idchild_numberchild_countnamealiasI1serial_numberCommentflagI2PinYindeletedlocationPKloc_ids_idloc_codeloc_nameloc_commentdeleted说明:Storages 仓库信息库Location 货位信息库4、职员信息库employeesPKemp_idI2class_idparent_idchild_numberchild_countn
6、amealiasserial_numberdep_idphoneaddresscommentaplimitarlimitaptotalartotaldiscountlimitlsthI1pinyindeletedLowPriceHighPriceSNCountGSPSNCountdepartmentPKdepartmentIdserial_numbernamecommentdeleted说明:Employees 职员信息库Department 部门信息库5、科目信息库名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理
7、- - - - - - - 第 3 页,共 18 页 - - - - - - - - - accountPKaccount_idI1class_idparent_idchild_numberchild_countnamealiasI2serial_numberCommentcur_totalini_totalsysflagsysrowdeletedI3PinYintotal_01total_02total_03total_04total_05total_06total_07total_08total_09total_10total_11total_12bqtotalsumtotalcashau
8、ditdirectionAccountCommentPKCommIDAccountCommentCode说明:Account 科目信息库AccountComment 科目备注信息库6、会员卡信息名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 18 页 - - - - - - - - - cardtypePKCTypeIdTypeNameDiscountCommentAutoDiscountcardtotalPKIDcardidtotalcarddiscountPKcd_i
9、dAutoIDbegintotalendtotaldiscountcommentmembercardPKCardIDI1CardNoNameTelAddressCommentCardTypeDiscountBulidDateValidityDateLoseStopUseBuyTotalBuyTotalPerDayAutoDiscountIDCardIntegralBrithdayDiscountType说明:Cardtype 会员卡类型表Membercard 会员卡表CardDiscount 会员卡折扣类型CardTotal 会员卡消费金额7、门店信息表ShopPosIDPosCodePosN
10、ameS_IDC_IDRemotePathCommentdeleted二、单据类数据结构1、销售类单据名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 18 页 - - - - - - - - - billdraftidxPKbillidbilldatebillnumberbilltypea_idc_ide_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbillstatesorder_id
11、department_idposidregion_idauditdateskdatejsyejsflagnotesummaryinvoicetranscountlasttranstimesalemanagebilldrfPKsmb_idbill_idp_idbatchnoquantitycostpricesalepricediscountdiscountpricetotalmoneytaxpricetaxtotaltaxmoneyretailpriceretailtotalmakedatevaliddatequalitystatusprice_idss_idsd_idlocation_idsu
12、pplier_idcommissionflagcommentunitidtaxrateorder_idtotaliotagbillidxPK,I1billidI1billdatebillnumberI1billtypea_idI1c_idI1e_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbillstatesorder_iddepartment_idposidregion_idauditdateskdatejsyejsflagnotesummaryinvoicetranscountlasttranstime
13、salemanagebillPKsmb_idbill_idp_idbatchnoquantitycostpricesalepricediscountdiscountpricetotalmoneytaxpricetaxtotaltaxmoneyretailpriceretailtotalmakedatevaliddatequalitystatusprice_idss_idsd_idlocation_idsupplier_idcommissionflagcommentunitidtaxrateorder_idtotaliotag说明:Billdraftidx 单据草稿主表SaleManagebil
14、ldrf 销售单据草稿表Billidex 单据主表SaleManageBilldrf 销售单据库2、采购类单据数据结构名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 6 页,共 18 页 - - - - - - - - - billdraftidxPKbillidbilldatebillnumberbilltypea_idc_ide_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbillstates
15、order_iddepartment_idposidregion_idauditdateskdatejsyejsflagnotesummaryinvoicetranscountlasttranstimebuymanagebilldrfPKsmb_idbill_idp_idbatchnoquantitycostpricebuypricediscountdiscountpricetotalmoneytaxpricetaxtotaltaxmoneyretailpriceretailtotalmakedatevaliddatequalitystatusprice_idss_idsd_idlocatio
16、n_idsupplier_idcommissionflagcommentunitidtaxrateorder_idtotaliotagbillidxPK,I1billidI1billdatebillnumberI1billtypea_idI1c_idI1e_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbillstatesorder_iddepartment_idposidregion_idauditdateskdatejsyejsflagnotesummaryinvoicetranscountlasttra
17、nstimebuymanagebillPKsmb_idbill_idp_idbatchnoquantitycostpricebuypricediscountdiscountpricetotalmoneytaxpricetaxtotaltaxmoneyretailpriceretailtotalmakedatevaliddatequalitystatusprice_idss_idsd_idlocation_idsupplier_idcommissionflagcommentunitidtaxrateorder_idtotaliotag说明:Billdraftidx 单据草稿主表BuyManage
18、billdrf 采购单据草稿表Billidex 单据主表BuyManageBilldrf 采购单据表3、库存类单据数据结构名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 7 页,共 18 页 - - - - - - - - - billidxPK,I1billidI1billdatebillnumberI1billtypea_idI1c_idI1e_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbi
19、llstatesorder_iddepartment_idposidregion_idauditdateskdatejsyejsflagnotesummaryinvoicetranscountlasttranstimebilldraftidxPKbillidbilldatebillnumberbilltypea_idc_ide_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbillstatesorder_iddepartment_idposidregion_idauditdateskdatejsyejsfla
20、gnotesummaryinvoicetranscountlasttranstimestoremanagebilldrfPKsmb_idbill_idp_idbatchnoquantitypricetotalmoneycostpricecosttotalretailpriceretailmoneymakedatevaliddatequalitystatusprice_idss_idsd_idlocation_idsupplier_idcommissionflagcommentunitidlocation_id2iotagtotalstoremanagebillPKsmb_idbill_idp_
21、idbatchnoquantitypricetotalmoneycostpricecosttotalretailpriceretailmoneymakedatevaliddatequalitystatusprice_idss_idsd_idlocation_idsupplier_idcommissionflagcommentunitidlocation_id2iotagtotal说明:Billdraftidx 单据草稿主表StoreManagebilldrf 库存单据草稿表Billidex 单据主表storeManageBilldrf 库存单据表4、库存盘点单名师资料总结 - - -精品资料欢
22、迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 8 页,共 18 页 - - - - - - - - - billdraftidxPKbillidbilldatebillnumberbilltypea_idc_ide_idsout_idsin_idauditmaninputmanysmoneyssmoneyquantitytaxrateperiodbillstatesorder_iddepartment_idposidregion_idauditdateskdatejsyejsflagnotesummaryinvoi
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年SQL数据结构 2022 SQL 数据结构
限制150内