models

package
v0.0.0-...-df7a1b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 6, 2017 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package models is for loading and updating documentation files.

Index

Constants

This section is empty.

Variables

View Source
var Products = new(products)

Functions

func AccessList

func AccessList(uid int64) (list []orm.Params, err error)

func AddAreas

func AddAreas(m *Areas) (id int64, err error)

AddAreas insert a new Areas into database and returns last inserted Id on success.

func AddBaseBizdate

func AddBaseBizdate(n *BaseBizdate) (int64, error)

添加用户

func AddBaseCodeDesc

func AddBaseCodeDesc(n *BaseCodeDesc) (int64, error)

添加用户

func AddBaseCurrency

func AddBaseCurrency(m *BaseCurrency) (id int64, err error)

AddBaseCurrency insert a new BaseCurrency into database and returns last inserted Id on success.

func AddBaseDateUnit

func AddBaseDateUnit(n *BaseDateUnit) (int64, error)

添加用户

func AddBaseETLTask

func AddBaseETLTask(n *BaseETLTask) (int64, error)

添加用户

func AddBaseETLTaskCmd

func AddBaseETLTaskCmd(n *BaseETLTaskCmd) (int64, error)

AddBaseETLTaskCmd 添加用户

func AddBaseETLTaskDesc

func AddBaseETLTaskDesc(n *BaseETLTaskDesc) (int64, error)

添加用户

func AddBaseExchangeRate

func AddBaseExchangeRate(n *BaseExchangeRate) (int64, error)

添加用户

func AddBaseFUDYingHangCKYE

func AddBaseFUDYingHangCKYE(m *BaseFUDYingHangCKYE) (id int64, err error)

AddBaseFUDYingHangCKYE insert a new BaseFUDYingHangCKYE into database and returns last inserted Id on success.

func AddBaseFUDYingHangZH

func AddBaseFUDYingHangZH(m *BaseFUDYingHangZH) (id int64, err error)

AddBaseFUDYingHangZH insert a new BaseFUDYingHangZH into database and returns last inserted Id on success.

func AddBaseSTMQudaoTranflow

func AddBaseSTMQudaoTranflow(n *BaseSTMQudaoTranflow) (int64, error)

添加用户

func AddBaseSTMQudaoTz

func AddBaseSTMQudaoTz(n *BaseSTMQudaoTz) (int64, error)

添加用户

func AddBasekehu

func AddBasekehu(m *BaseKehu) (id int64, err error)

AddBasekehu insert a new BaseKehu into database and returns last inserted Id on success.

func AddCRD0001Model

func AddCRD0001Model(n *CRD0001Model) (int64, error)

添加用户

func AddCRD0002Model

func AddCRD0002Model(n *CRD0002Model) (int64, error)

添加用户

func AddCRDChengNuoHan

func AddCRDChengNuoHan(n *CRDChengNuoHan) (int64, error)

添加用户

func AddCRDDanBao

func AddCRDDanBao(n *CRDDanBao) (int64, error)

添加用户

func AddCRDDanBaoHanTZ

func AddCRDDanBaoHanTZ(n *CRDDanBaoHanTZ) (int64, error)

添加用户

func AddCRDHeTong

func AddCRDHeTong(m *CRDHeTong) (id int64, err error)

AddCRDHeTong insert a new CRDHeTong into database and returns last inserted Id on success.

func AddCRDJieJu

func AddCRDJieJu(m *CRDJieJu) (id int64, err error)

AddCRDJieJu insert a new CRDJieJu into database and returns last inserted Id on success.

func AddDPSCklx

func AddDPSCklx(m *DPSCklx) (id int64, err error)

AddDPSCklx insert a new DPSCklx into database and returns last inserted Id on success.

func AddDPSCkzh

func AddDPSCkzh(m *DPSCkzh) (id int64, err error)

AddDPSCkzh insert a new DPSCkzh into database and returns last inserted Id on success.

func AddDPSCkzhtz

func AddDPSCkzhtz(m *DPSCkzhtz) (id int64, err error)

AddDPSCkzhtz insert a new DPSCkzhtz into database and returns last inserted Id on success.

func AddDPSCkzhzbx

func AddDPSCkzhzbx(m *DPSCkzhzbx) (id int64, err error)

AddDPSCkzhzbx insert a new DPSCkzhzbx into database and returns last inserted Id on success.

func AddDPSDetail

func AddDPSDetail(m *DPSDetail) (id int64, err error)

AddDPSDetail insert a new DPSDetail into database and returns last inserted Id on success.

func AddDPSOrgzbx

func AddDPSOrgzbx(m *DPSOrgzbx) (id int64, err error)

AddDPSOrgzbx insert a new DPSOrgzbx into database and returns last inserted Id on success.

func AddDPSzhminx

func AddDPSzhminx(m *DPSzhminx) (id int64, err error)

AddDPSzhminx insert a new DPSzhminx into database and returns last inserted Id on success.

func AddDianPiaoDetails

func AddDianPiaoDetails(n *DianPiaoDetails) (int64, error)

添加用户

func AddDianPiaoProductType

func AddDianPiaoProductType(n *DianPiaoProductType) (int64, error)

添加用户

func AddDocBaseurl

func AddDocBaseurl(n *DocBaseurl) (int64, error)

添加用户

func AddDocDBConnection

func AddDocDBConnection(m *DocDBConnection) (id int64, err error)

AddDocDBConnection insert a new DocDBConnection into database and returns last inserted Id on success.

func AddDocDataorg

func AddDocDataorg(m *DocDataorg) (id int64, err error)

AddDocDataorg insert a new DocDataorg into database and returns last inserted Id on success.

func AddDocGroup

func AddDocGroup(m *DocGroup) (id int64, err error)

AddDocGroup insert a new DocGroup into database and returns last inserted Id on success.

func AddDocLog

func AddDocLog(m *DocLog) (id int64, err error)

AddDocLog insert a new DocLog into database and returns last inserted Id on success.

func AddDocOrg

func AddDocOrg(m *DocOrg) (id int64, err error)

AddDocOrg insert a new DocOrg into database and returns last inserted Id on success.

func AddDocPasswdRule

func AddDocPasswdRule(n *DocPasswdRule) (int64, error)

添加用户

func AddDocPasswdRuleSuite

func AddDocPasswdRuleSuite(n *DocPasswdRuleSuite) (int64, error)

添加用户

func AddDocSysvalue

func AddDocSysvalue(m *DocSysvalue) (id int64, err error)

AddDocSysvalue insert a new DocSysvalue into database and returns last inserted Id on success.

func AddDocaccess

func AddDocaccess(n *Docaccess) (int64, error)

添加用户

func AddDocname

func AddDocname(n *Docname) (int64, error)

添加用户

func AddDownloadtrac

func AddDownloadtrac(m *Downloadtrac) (id int64, err error)

AddDownloadtrac insert a new Downloadtrac into database and returns last inserted Id on success.

func AddExportFileTrac

func AddExportFileTrac(m *ExportFileTrac) (id int64, err error)

AddExportFileTrac insert a new ExportFileTrac into database and returns last inserted Id on success.

func AddFBusCTCTM

func AddFBusCTCTM(n *FBusCTCTM) (int64, error)

添加用户

func AddFBusSubCM

func AddFBusSubCM(n *FBusSubCM) (int64, error)

添加用户

func AddFUDXiaShuQiYeCKYE

func AddFUDXiaShuQiYeCKYE(m *FUDXiaShuQiYeCKYE) (id int64, err error)

AddFUDXiaShuQiYeCKYE insert a new FUDXiaShuQiYeCKYE into database and returns last inserted Id on success.

func AddFUDXinDaiZiChanYE

func AddFUDXinDaiZiChanYE(m *FUDXinDaiZiChanYE) (id int64, err error)

AddFUDXinDaiZiChanYE insert a new FUDXinDaiZiChanYE into database and returns last inserted Id on success.

func AddFefpCTCTM

func AddFefpCTCTM(n *FefpCTCTM) (int64, error)

添加用户

func AddFefpLoadM

func AddFefpLoadM(n *FefpLoadM) (int64, error)

添加用户

func AddFefpSubCM

func AddFefpSubCM(n *FefpSubCM) (int64, error)

添加用户

func AddFintLoanM

func AddFintLoanM(n *FintLoanM) (int64, error)

添加用户

func AddFooCity

func AddFooCity(n *FooCity) (int64, error)

添加用户

func AddFooHotel

func AddFooHotel(n *FooHotel) (int64, error)

添加用户

func AddGroup

func AddGroup(g *Group) (int64, error)

func AddNode

func AddNode(n *Node) (int64, error)

添加用户

func AddPdftrac

func AddPdftrac(m *Pdftrac) (id int64, err error)

AddPdftrac insert a new Pdftrac into database and returns last inserted Id on success.

func AddPerson

func AddPerson(u *Person) (int64, error)

添加用户

func AddRole

func AddRole(r *Role) (int64, error)

func AddRoleNode

func AddRoleNode(roleid int64, nodeid int64) (int64, error)

func AddRoleUser

func AddRoleUser(roleid int64, userid int64) (int64, error)

func AddRoles

func AddRoles(m *Roles) (id int64, err error)

AddRoles insert a new Roles into database and returns last inserted Id on success.

func AddSAPAccountTitleCode

func AddSAPAccountTitleCode(n *SAPAccountTitleCode) (int64, error)

添加用户

func AddSAPDayBal

func AddSAPDayBal(n *SAPDayBal) (int64, error)

添加用户

func AddSAPDayBalFlag

func AddSAPDayBalFlag(n *SAPDayBalFlag) (int64, error)

添加用户

func AddSAPOrgmap

func AddSAPOrgmap(m *SAPOrgmap) (id int64, err error)

AddSAPOrgmap insert a new SAPOrgmap into database and returns last inserted Id on success.

func AddSunlineDayBal

func AddSunlineDayBal(n *SunlineDayBal) (int64, error)

添加用户

func AddUser

func AddUser(u *User) (int64, error)

添加用户

func AddZhengZhaoZhongLei

func AddZhengZhaoZhongLei(n *ZhengZhaoZhongLei) (int64, error)

添加用户

func Connect

func Connect()

数据库连接

func DelBaseBizdateById

func DelBaseBizdateById(Id int64) (int64, error)

func DelBaseCodeDescById

func DelBaseCodeDescById(Id int64) (int64, error)

func DelBaseCurrencyById

func DelBaseCurrencyById(Id int64) (int64, error)

func DelBaseDateUnitById

func DelBaseDateUnitById(Id int64) (int64, error)

func DelBaseETLTaskById

func DelBaseETLTaskById(Id int64) (int64, error)

func DelBaseETLTaskCmdById

func DelBaseETLTaskCmdById(Id int64) (int64, error)

func DelBaseETLTaskDescById

func DelBaseETLTaskDescById(Id int64) (int64, error)

func DelBaseExchangeRateById

func DelBaseExchangeRateById(Id int64) (int64, error)

func DelBaseSTMQudaoTranflowById

func DelBaseSTMQudaoTranflowById(Id int64) (int64, error)

func DelBaseSTMQudaoTzById

func DelBaseSTMQudaoTzById(Id int64) (int64, error)

func DelBasekehuById

func DelBasekehuById(id int64) (err error)

DeleteBaseKehu deletes BaseKehu by Id and returns error if the record to be deleted doesn't exist

func DelCRD0001ModelById

func DelCRD0001ModelById(Id int64) (int64, error)

func DelCRD0002ModelById

func DelCRD0002ModelById(Id int64) (int64, error)

func DelCRDChengNuoHanById

func DelCRDChengNuoHanById(Id int64) (int64, error)

func DelCRDDanBaoById

func DelCRDDanBaoById(Id int64) (int64, error)

func DelCRDDanBaoHanTZById

func DelCRDDanBaoHanTZById(Id int64) (int64, error)

func DelDPSCklxById

func DelDPSCklxById(id int64) (err error)

DeleteDPSCklx deletes DPSCklx by Id and returns error if the record to be deleted doesn't exist

func DelDPSCkzhById

func DelDPSCkzhById(id int64) (err error)

DeleteDPSCkzh deletes DPSCkzh by Id and returns error if the record to be deleted doesn't exist

func DelDPSCkzhtzById

func DelDPSCkzhtzById(id int64) (err error)

DeleteDPSCkzhtz deletes DPSCkzhtz by Id and returns error if the record to be deleted doesn't exist

func DelDPSCkzhzbxById

func DelDPSCkzhzbxById(id int64) (err error)

DeleteDPSCkzhzbx deletes DPSCkzhzbx by Id and returns error if the record to be deleted doesn't exist

func DelDPSDetailById

func DelDPSDetailById(id int64) (err error)

DeleteDPSDetail deletes DPSDetail by Id and returns error if the record to be deleted doesn't exist

func DelDPSOrgzbxById

func DelDPSOrgzbxById(id int64) (err error)

DeleteDPSOrgzbx deletes DPSOrgzbx by Id and returns error if the record to be deleted doesn't exist

func DelDPSzhminxById

func DelDPSzhminxById(id int64) (err error)

DeleteDPSzhminx deletes DPSzhminx by Id and returns error if the record to be deleted doesn't exist

func DelDianPiaoDetailsById

func DelDianPiaoDetailsById(Id int64) (int64, error)

func DelDianPiaoProductTypeById

func DelDianPiaoProductTypeById(Id int64) (int64, error)

func DelDocBaseurlById

func DelDocBaseurlById(Id int64) (int64, error)

func DelDocPasswdRuleById

func DelDocPasswdRuleById(Id int64) (int64, error)

func DelDocPasswdRuleSuiteById

func DelDocPasswdRuleSuiteById(Id int64) (int64, error)

func DelDocaccessById

func DelDocaccessById(Id int64) (int64, error)

func DelDocnameById

func DelDocnameById(Id int64) (int64, error)

func DelFBusCTCTMById

func DelFBusCTCTMById(Id int64) (int64, error)

func DelFBusSubCMById

func DelFBusSubCMById(Id int64) (int64, error)

func DelFefpCTCTMById

func DelFefpCTCTMById(Id int64) (int64, error)

func DelFefpLoadMById

func DelFefpLoadMById(Id int64) (int64, error)

func DelFefpSubCMById

func DelFefpSubCMById(Id int64) (int64, error)

func DelFintLoanMById

func DelFintLoanMById(Id int64) (int64, error)

func DelFooCityById

func DelFooCityById(Id int64) (int64, error)

func DelFooHotelById

func DelFooHotelById(Id int64) (int64, error)

func DelGroupById

func DelGroupById(Id int64) (int64, error)

func DelGroupNode

func DelGroupNode(roleid int64, groupid int64) error

func DelNodeById

func DelNodeById(Id int64) (int64, error)

func DelPersonById

func DelPersonById(Id int64) (int64, error)

func DelRoleById

func DelRoleById(Id int64) (int64, error)

func DelSAPAccountTitleCodeById

func DelSAPAccountTitleCodeById(Id int64) (int64, error)

func DelSAPDayBalById

func DelSAPDayBalById(Id int64) (int64, error)

func DelSAPDayBalFlagById

func DelSAPDayBalFlagById(Id int64) (int64, error)

func DelSAPOrgmapById

func DelSAPOrgmapById(Id int64) (int64, error)

func DelSunlineDayBalById

func DelSunlineDayBalById(Id int64) (int64, error)

func DelUserById

func DelUserById(Id int64) (int64, error)

func DelUserRole

func DelUserRole(roleid int64) error

func DelZhengZhaoZhongLeiById

func DelZhengZhaoZhongLeiById(Id int64) (int64, error)

func DeleteAreas

func DeleteAreas(id int64) (err error)

DeleteAreas deletes Areas by Id and returns error if the record to be deleted doesn't exist

func DeleteBaseFUDYingHangCKYE

func DeleteBaseFUDYingHangCKYE(id int64) (err error)

DeleteBaseFUDYingHangCKYE deletes BaseFUDYingHangCKYE by Id and returns error if the record to be deleted doesn't exist

func DeleteBaseFUDYingHangZH

func DeleteBaseFUDYingHangZH(id int64) (err error)

DeleteBaseFUDYingHangZH deletes BaseFUDYingHangZH by Id and returns error if the record to be deleted doesn't exist

func DeleteCRDHeTong

func DeleteCRDHeTong(id int64) (err error)

DeleteCRDHeTong deletes CRDHeTong by Id and returns error if the record to be deleted doesn't exist

func DeleteCRDJieJu

func DeleteCRDJieJu(id int64) (err error)

DeleteCRDJieJu deletes CRDJieJu by Id and returns error if the record to be deleted doesn't exist

func DeleteDocDBConnection

func DeleteDocDBConnection(id int64) (err error)

DeleteDocDBConnection deletes DocDBConnection by Id and returns error if the record to be deleted doesn't exist

func DeleteDocDataorg

func DeleteDocDataorg(id int64) (err error)

DeleteDocDataorg deletes DocDataorg by Id and returns error if the record to be deleted doesn't exist

func DeleteDocGroup

func DeleteDocGroup(id int64) (err error)

DeleteDocGroup deletes DocGroup by Id and returns error if the record to be deleted doesn't exist

func DeleteDocLog

func DeleteDocLog(id int64) (err error)

DeleteDocLog deletes DocLog by Id and returns error if the record to be deleted doesn't exist

func DeleteDocOrg

func DeleteDocOrg(id int64) (err error)

DeleteDocOrg deletes DocOrg by Id and returns error if the record to be deleted doesn't exist

func DeleteDocSysvalue

func DeleteDocSysvalue(id int64) (err error)

DeleteDocSysvalue deletes DocSysvalue by Id and returns error if the record to be deleted doesn't exist

func DeleteDownloadtrac

func DeleteDownloadtrac(id int64) (err error)

DeleteDownloadtrac deletes Downloadtrac by Id and returns error if the record to be deleted doesn't exist

func DeleteExportFileTrac

func DeleteExportFileTrac(id int64) (err error)

DeleteExportFileTrac deletes ExportFileTrac by Id and returns error if the record to be deleted doesn't exist

func DeleteFUDXiaShuQiYeCKYE

func DeleteFUDXiaShuQiYeCKYE(id int64) (err error)

DeleteFUDXiaShuQiYeCKYE deletes FUDXiaShuQiYeCKYE by Id and returns error if the record to be deleted doesn't exist

func DeleteFUDXinDaiZiChanYE

func DeleteFUDXinDaiZiChanYE(id int64) (err error)

DeleteFUDXinDaiZiChanYE deletes FUDXinDaiZiChanYE by Id and returns error if the record to be deleted doesn't exist

func DeletePdftrac

func DeletePdftrac(id int64) (err error)

DeletePdftrac deletes Pdftrac by Id and returns error if the record to be deleted doesn't exist

func DeleteRoles

func DeleteRoles(id int64) (err error)

DeleteRoles deletes Roles by Id and returns error if the record to be deleted doesn't exist

func GetAllAreas

func GetAllAreas(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllAreas retrieves all Areas matches certain condition. Returns empty list if no records exist

func GetAllBaseBizdates

func GetAllBaseBizdates(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseCodeDesc

func GetAllBaseCodeDesc(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseCurrency

func GetAllBaseCurrency(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllBaseCurrency retrieves all BaseCurrency matches certain condition. Returns empty list if no records exist

func GetAllBaseDateUnit

func GetAllBaseDateUnit(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseETLTask

func GetAllBaseETLTask(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseETLTaskCmd

func GetAllBaseETLTaskCmd(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseETLTaskDesc

func GetAllBaseETLTaskDesc(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseExchangeRates

func GetAllBaseExchangeRates(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseFUDYingHangCKYE

func GetAllBaseFUDYingHangCKYE(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllBaseFUDYingHangCKYE retrieves all BaseFUDYingHangCKYE matches certain condition. Returns empty list if no records exist

func GetAllBaseFUDYingHangZH

func GetAllBaseFUDYingHangZH(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllBaseFUDYingHangZH retrieves all BaseFUDYingHangZH matches certain condition. Returns empty list if no records exist

func GetAllBaseKehus

func GetAllBaseKehus(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllBaseKehu retrieves all BaseKehu matches certain condition. Returns empty list if no records exist

func GetAllBaseSTMQudaoTranflows

func GetAllBaseSTMQudaoTranflows(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllBaseSTMQudaoTzs

func GetAllBaseSTMQudaoTzs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllCRD0001Model

func GetAllCRD0001Model(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllCRD0002Model

func GetAllCRD0002Model(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllCRDChengNuoHan

func GetAllCRDChengNuoHan(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllCRDDanBao

func GetAllCRDDanBao(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllCRDDanBaoHanTZ

func GetAllCRDDanBaoHanTZ(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllCRDHeTong

func GetAllCRDHeTong(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllCRDHeTong retrieves all CRDHeTong matches certain condition. Returns empty list if no records exist

func GetAllCRDJieJu

func GetAllCRDJieJu(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllCRDJieJu retrieves all CRDJieJu matches certain condition. Returns empty list if no records exist

func GetAllDPSCklxs

func GetAllDPSCklxs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSCklx retrieves all DPSCklx matches certain condition. Returns empty list if no records exist

func GetAllDPSCkzhs

func GetAllDPSCkzhs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSCkzh retrieves all DPSCkzh matches certain condition. Returns empty list if no records exist

func GetAllDPSCkzhtzs

func GetAllDPSCkzhtzs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSCkzhtz retrieves all DPSCkzhtz matches certain condition. Returns empty list if no records exist

func GetAllDPSCkzhzbxs

func GetAllDPSCkzhzbxs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSCkzhzbx retrieves all DPSCkzhzbx matches certain condition. Returns empty list if no records exist

func GetAllDPSDetails

func GetAllDPSDetails(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSDetail retrieves all DPSDetail matches certain condition. Returns empty list if no records exist

func GetAllDPSOrgzbxs

func GetAllDPSOrgzbxs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSOrgzbx retrieves all DPSOrgzbx matches certain condition. Returns empty list if no records exist

func GetAllDPSzhminxs

func GetAllDPSzhminxs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDPSzhminx retrieves all DPSzhminx matches certain condition. Returns empty list if no records exist

func GetAllDianPiaoDetailss

func GetAllDianPiaoDetailss(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDianPiaoDetails retrieves all DianPiaoDetails matches certain condition. Returns empty list if no records exist

func GetAllDianPiaoProductTypes

func GetAllDianPiaoProductTypes(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDianPiaoProductType retrieves all DianPiaoProductType matches certain condition. Returns empty list if no records exist

func GetAllDocBaseurls

func GetAllDocBaseurls(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllDocDBConnection

func GetAllDocDBConnection(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocDBConnection retrieves all DocDBConnection matches certain condition. Returns empty list if no records exist

func GetAllDocDataorg

func GetAllDocDataorg(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocDataorg retrieves all DocDataorg matches certain condition. Returns empty list if no records exist

func GetAllDocGroup

func GetAllDocGroup(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocGroup retrieves all DocGroup matches certain condition. Returns empty list if no records exist

func GetAllDocLog

func GetAllDocLog(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocLog retrieves all DocLog matches certain condition. Returns empty list if no records exist

func GetAllDocOrg

func GetAllDocOrg(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocOrg retrieves all DocOrg matches certain condition. Returns empty list if no records exist

func GetAllDocPasswdRule

func GetAllDocPasswdRule(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllDocPasswdRuleSuite

func GetAllDocPasswdRuleSuite(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllDocSysvalue

func GetAllDocSysvalue(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocSysvalue retrieves all DocSysvalue matches certain condition. Returns empty list if no records exist

func GetAllDocaccess

func GetAllDocaccess(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllDocnames

func GetAllDocnames(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDocname retrieves all Docname matches certain condition. Returns empty list if no records exist

func GetAllDownloadtrac

func GetAllDownloadtrac(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllExportFileTrac

func GetAllExportFileTrac(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllExportFileTrac retrieves all ExportFileTrac matches certain condition. Returns empty list if no records exist

func GetAllFBusCTCTMs

func GetAllFBusCTCTMs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFBusCTCTM retrieves all FBusCTCTM matches certain condition. Returns empty list if no records exist

func GetAllFBusSubCMs

func GetAllFBusSubCMs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFBusSubCM retrieves all FBusSubCM matches certain condition. Returns empty list if no records exist

func GetAllFUDXiaShuQiYeCKYE

func GetAllFUDXiaShuQiYeCKYE(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFUDXiaShuQiYeCKYE retrieves all FUDXiaShuQiYeCKYE matches certain condition. Returns empty list if no records exist

func GetAllFUDXinDaiZiChanYE

func GetAllFUDXinDaiZiChanYE(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFUDXinDaiZiChanYE retrieves all FUDXinDaiZiChanYE matches certain condition. Returns empty list if no records exist

func GetAllFefpCTCTMs

func GetAllFefpCTCTMs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFefpCTCTM retrieves all FefpCTCTM matches certain condition. Returns empty list if no records exist

func GetAllFefpLoadMs

func GetAllFefpLoadMs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFefpLoadM retrieves all FefpLoadM matches certain condition. Returns empty list if no records exist

func GetAllFefpSubCMs

func GetAllFefpSubCMs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFefpSubCM retrieves all FefpSubCM matches certain condition. Returns empty list if no records exist

func GetAllFintLoanMs

func GetAllFintLoanMs(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllFintLoanM retrieves all FintLoanM matches certain condition. Returns empty list if no records exist

func GetAllFooCity

func GetAllFooCity(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllFooHotel

func GetAllFooHotel(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetAllPdftrac

func GetAllPdftrac(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllPdftrac retrieves all Pdftrac matches certain condition. Returns empty list if no records exist

func GetAllRoles

func GetAllRoles(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllRoles retrieves all Roles matches certain condition. Returns empty list if no records exist

func GetAllSAPAccountTitleCodes

func GetAllSAPAccountTitleCodes(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllSAPAccountTitleCode retrieves all SAPAccountTitleCode matches certain condition. Returns empty list if no records exist

func GetAllSAPDayBalFlags

func GetAllSAPDayBalFlags(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllSAPDayBalFlag retrieves all SAPDayBalFlag matches certain condition. Returns empty list if no records exist

func GetAllSAPDayBals

func GetAllSAPDayBals(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllSAPDayBal retrieves all SAPDayBal matches certain condition. Returns empty list if no records exist

func GetAllSAPOrgmap

func GetAllSAPOrgmap(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllSAPOrgmap retrieves all SAPOrgmap matches certain condition. Returns empty list if no records exist

func GetAllSunlineDayBals

func GetAllSunlineDayBals(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllSunlineDayBal retrieves all SunlineDayBal matches certain condition. Returns empty list if no records exist

func GetAllZhengZhaoZhongLei

func GetAllZhengZhaoZhongLei(query map[string]string, fields []string, sortby []string, order []string,
	offset int64, limit int64) (ml []interface{}, err error)

GetAllDownloadtrac retrieves all Downloadtrac matches certain condition. Returns empty list if no records exist

func GetBaseBizdateTree

func GetBaseBizdateTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseBizdatelist

func GetBaseBizdatelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseBizdatelistByGroupid

func GetBaseBizdatelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseCodeDescTree

func GetBaseCodeDescTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseCodeDesclist

func GetBaseCodeDesclist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseCodeDesclistByGroupid

func GetBaseCodeDesclistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseCurrencylist

func GetBaseCurrencylist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseDateUnitTree

func GetBaseDateUnitTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseDateUnitlist

func GetBaseDateUnitlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseDateUnitlistByGroupid

func GetBaseDateUnitlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseETLTaskCmdTree

func GetBaseETLTaskCmdTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseETLTaskCmdlist

func GetBaseETLTaskCmdlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

GetBaseETLTaskCmdlist get node list

func GetBaseETLTaskCmdlistByGroupid

func GetBaseETLTaskCmdlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseETLTaskDescTree

func GetBaseETLTaskDescTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseETLTaskDesclist

func GetBaseETLTaskDesclist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseETLTaskDesclistByGroupid

func GetBaseETLTaskDesclistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseETLTaskTree

func GetBaseETLTaskTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseETLTasklist

func GetBaseETLTasklist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseETLTasklistByGroupid

func GetBaseETLTasklistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseExchangeRateTree

func GetBaseExchangeRateTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseExchangeRatelist

func GetBaseExchangeRatelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseExchangeRatelistByGroupid

func GetBaseExchangeRatelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseKehuList

func GetBaseKehuList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetBaseSTMQudaoTranflowTree

func GetBaseSTMQudaoTranflowTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseSTMQudaoTranflowlist

func GetBaseSTMQudaoTranflowlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseSTMQudaoTranflowlistByGroupid

func GetBaseSTMQudaoTranflowlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetBaseSTMQudaoTzTree

func GetBaseSTMQudaoTzTree(pid int64, level int64) ([]orm.Params, error)

func GetBaseSTMQudaoTzlist

func GetBaseSTMQudaoTzlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetBaseSTMQudaoTzlistByGroupid

func GetBaseSTMQudaoTzlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetCRD0001ModelTree

func GetCRD0001ModelTree(pid int64, level int64) ([]orm.Params, error)

func GetCRD0001Modellist

func GetCRD0001Modellist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetCRD0001ModellistByGroupid

func GetCRD0001ModellistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetCRD0002ModelTree

func GetCRD0002ModelTree(pid int64, level int64) ([]orm.Params, error)

func GetCRD0002Modellist

func GetCRD0002Modellist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetCRD0002ModellistByGroupid

func GetCRD0002ModellistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetCRDChengNuoHanTree

func GetCRDChengNuoHanTree(pid int64, level int64) ([]orm.Params, error)

func GetCRDChengNuoHanlist

func GetCRDChengNuoHanlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetCRDChengNuoHanlistByGroupid

func GetCRDChengNuoHanlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetCRDDanBaoHanTZTree

func GetCRDDanBaoHanTZTree(pid int64, level int64) ([]orm.Params, error)

func GetCRDDanBaoHanTZlist

func GetCRDDanBaoHanTZlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetCRDDanBaoHanTZlistByGroupid

func GetCRDDanBaoHanTZlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetCRDDanBaoTree

func GetCRDDanBaoTree(pid int64, level int64) ([]orm.Params, error)

func GetCRDDanBaolist

func GetCRDDanBaolist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetCRDDanBaolistByGroupid

func GetCRDDanBaolistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDPSCklxList

func GetDPSCklxList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDPSCkzhList

func GetDPSCkzhList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDPSCkzhtzList

func GetDPSCkzhtzList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDPSCkzhzbxList

func GetDPSCkzhzbxList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDPSDetailList

func GetDPSDetailList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDPSOrgzbxList

func GetDPSOrgzbxList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDPSzhminxList

func GetDPSzhminxList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetDianPiaoDetailsTree

func GetDianPiaoDetailsTree(pid int64, level int64) ([]orm.Params, error)

func GetDianPiaoDetailslist

func GetDianPiaoDetailslist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDianPiaoDetailslistByGroupid

func GetDianPiaoDetailslistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDianPiaoProductTypeTree

func GetDianPiaoProductTypeTree(pid int64, level int64) ([]orm.Params, error)

func GetDianPiaoProductTypelist

func GetDianPiaoProductTypelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDianPiaoProductTypelistByGroupid

func GetDianPiaoProductTypelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDoc

func GetDoc(fullName, lang string) *docFile

GetDoc returns 'docFile' by given name and language version.

func GetDocBaseurlTree

func GetDocBaseurlTree(pid int64, level int64) ([]orm.Params, error)

func GetDocBaseurllist

func GetDocBaseurllist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDocBaseurllistByGroupid

func GetDocBaseurllistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDocPasswdRuleSuiteTree

func GetDocPasswdRuleSuiteTree(pid int64, level int64) ([]orm.Params, error)

func GetDocPasswdRuleSuitelist

func GetDocPasswdRuleSuitelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDocPasswdRuleSuitelistByGroupid

func GetDocPasswdRuleSuitelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDocPasswdRuleTree

func GetDocPasswdRuleTree(pid int64, level int64) ([]orm.Params, error)

func GetDocPasswdRulelist

func GetDocPasswdRulelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDocPasswdRulelistByGroupid

func GetDocPasswdRulelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDocaccessTree

func GetDocaccessTree(pid int64, level int64) ([]orm.Params, error)

func GetDocaccesslist

func GetDocaccesslist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDocaccesslistByGroupid

func GetDocaccesslistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDocgrouplist

func GetDocgrouplist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDocnameTree

func GetDocnameTree(pid int64, level int64) ([]orm.Params, error)

func GetDocnamelist

func GetDocnamelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetDocnamelistByGroupid

func GetDocnamelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetDownloadtracList

func GetDownloadtracList(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

func GetFBusCTCTMTree

func GetFBusCTCTMTree(pid int64, level int64) ([]orm.Params, error)

func GetFBusCTCTMlist

func GetFBusCTCTMlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFBusCTCTMlistByGroupid

func GetFBusCTCTMlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetFBusSubCMTree

func GetFBusSubCMTree(pid int64, level int64) ([]orm.Params, error)

func GetFBusSubCMlist

func GetFBusSubCMlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFBusSubCMlistByGroupid

func GetFBusSubCMlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetFefpCTCTMTree

func GetFefpCTCTMTree(pid int64, level int64) ([]orm.Params, error)

func GetFefpCTCTMlist

func GetFefpCTCTMlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFefpCTCTMlistByGroupid

func GetFefpCTCTMlistByGroupid(GroupId int64) (nodes []orm.Params, count int64)

func GetFefpLoadMTree

func GetFefpLoadMTree(pid int64, level int64) ([]orm.Params, error)

func GetFefpLoadMlist

func GetFefpLoadMlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFefpLoadMlistByGroupid

func GetFefpLoadMlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetFefpSubCMTree

func GetFefpSubCMTree(pid int64, level int64) ([]orm.Params, error)

func GetFefpSubCMlist

func GetFefpSubCMlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFefpSubCMlistByGroupid

func GetFefpSubCMlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetFintLoanMTree

func GetFintLoanMTree(pid int64, level int64) ([]orm.Params, error)

func GetFintLoanMlist

func GetFintLoanMlist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFintLoanMlistByGroupid

func GetFintLoanMlistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetFooCityTree

func GetFooCityTree(pid int64, level int64) ([]orm.Params, error)

func GetFooCitylist

func GetFooCitylist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFooCitylistByGroupid

func GetFooCitylistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetFooHotelTree

func GetFooHotelTree(pid int64, level int64) ([]orm.Params, error)

func GetFooHotellist

func GetFooHotellist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetFooHotellistByGroupid

func GetFooHotellistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetGrouplist

func GetGrouplist(page int64, page_size int64, sort string) (groups []orm.Params, count int64)

get group list

func GetNodeTree

func GetNodeTree(pid int64, level int64) ([]orm.Params, error)

func GetNodelist

func GetNodelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetNodelistByGroupid

func GetNodelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetNodelistByRoleId

func GetNodelistByRoleId(Id int64) (nodes []orm.Params, count int64)

func GetRolelist

func GetRolelist(page int64, page_size int64, sort string) (roles []orm.Params, count int64)

get role list

func GetSAPAccountTitleCodeTree

func GetSAPAccountTitleCodeTree(pid int64, level int64) ([]orm.Params, error)

func GetSAPAccountTitleCodelist

func GetSAPAccountTitleCodelist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetSAPAccountTitleCodelistByGroupid

func GetSAPAccountTitleCodelistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetSAPDayBalFlagTree

func GetSAPDayBalFlagTree(pid int64, level int64) ([]orm.Params, error)

func GetSAPDayBalFlaglist

func GetSAPDayBalFlaglist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetSAPDayBalFlaglistByGroupid

func GetSAPDayBalFlaglistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetSAPDayBalTree

func GetSAPDayBalTree(pid int64, level int64) ([]orm.Params, error)

func GetSAPDayBallist

func GetSAPDayBallist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetSAPDayBallistByGroupid

func GetSAPDayBallistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetSAPOrgmaplist

func GetSAPOrgmaplist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetSunlineDayBalTree

func GetSunlineDayBalTree(pid int64, level int64) ([]orm.Params, error)

func GetSunlineDayBallist

func GetSunlineDayBallist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetSunlineDayBallistByGroupid

func GetSunlineDayBallistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func GetUserByRoleId

func GetUserByRoleId(roleid int64) (users []orm.Params, count int64)

func GetZhengZhaoZhongLeiTree

func GetZhengZhaoZhongLeiTree(pid int64, level int64) ([]orm.Params, error)

func GetZhengZhaoZhongLeilist

func GetZhengZhaoZhongLeilist(page int64, page_size int64, sort string) (nodes []orm.Params, count int64)

get node list

func GetZhengZhaoZhongLeilistByGroupid

func GetZhengZhaoZhongLeilistByGroupid(Groupid int64) (nodes []orm.Params, count int64)

func Getpersonlist

func Getpersonlist(page int64, page_size int64, sort string) (persons []orm.Params, count int64)

get person list

func Getuserlist

func Getuserlist(page int64, page_size int64, sort string) (users []orm.Params, count int64)

get user list

func GroupList

func GroupList() (groups []orm.Params)

func InitModels

func InitModels()

InitModels 初始化模型,使用互斥变量

func Syncdb

func Syncdb()

func UpdateAreasById

func UpdateAreasById(m *Areas) (err error)

UpdateAreas updates Areas by Id and returns error if the record to be updated doesn't exist

func UpdateBaseBizdate

func UpdateBaseBizdate(n *BaseBizdate) (int64, error)

更新用户

func UpdateBaseCodeDescById

func UpdateBaseCodeDescById(n *BaseCodeDesc) (int64, error)

更新用户

func UpdateBaseCurrency

func UpdateBaseCurrency(n *BaseCurrency) (int64, error)

func UpdateBaseDateUnitById

func UpdateBaseDateUnitById(n *BaseDateUnit) (int64, error)

更新用户

func UpdateBaseETLTaskById

func UpdateBaseETLTaskById(n *BaseETLTask) (int64, error)

更新用户

func UpdateBaseETLTaskCmdById

func UpdateBaseETLTaskCmdById(n *BaseETLTaskCmd) (int64, error)

更新用户

func UpdateBaseETLTaskDescById

func UpdateBaseETLTaskDescById(n *BaseETLTaskDesc) (int64, error)

更新用户

func UpdateBaseExchangeRate

func UpdateBaseExchangeRate(n *BaseExchangeRate) (int64, error)

更新用户

func UpdateBaseFUDYingHangCKYEById

func UpdateBaseFUDYingHangCKYEById(m *BaseFUDYingHangCKYE) (err error)

UpdateBaseFUDYingHangCKYE updates BaseFUDYingHangCKYE by Id and returns error if the record to be updated doesn't exist

func UpdateBaseFUDYingHangZHById

func UpdateBaseFUDYingHangZHById(m *BaseFUDYingHangZH) (err error)

UpdateBaseFUDYingHangZH updates BaseFUDYingHangZH by Id and returns error if the record to be updated doesn't exist

func UpdateBaseSTMQudaoTranflow

func UpdateBaseSTMQudaoTranflow(n *BaseSTMQudaoTranflow) (int64, error)

更新用户

func UpdateBaseSTMQudaoTz

func UpdateBaseSTMQudaoTz(n *BaseSTMQudaoTz) (int64, error)

更新用户

func UpdateBasekehuById

func UpdateBasekehuById(m *BaseKehu) (err error)

UpdateBasekehu updates BaseKehu by Id and returns error if the record to be updated doesn't exist

func UpdateCRD0001ModelById

func UpdateCRD0001ModelById(n *CRD0001Model) (int64, error)

更新用户

func UpdateCRD0002ModelById

func UpdateCRD0002ModelById(n *CRD0002Model) (int64, error)

更新用户

func UpdateCRDChengNuoHanById

func UpdateCRDChengNuoHanById(n *CRDChengNuoHan) (int64, error)

更新用户

func UpdateCRDDanBaoById

func UpdateCRDDanBaoById(n *CRDDanBao) (int64, error)

更新用户

func UpdateCRDDanBaoHanTZById

func UpdateCRDDanBaoHanTZById(n *CRDDanBaoHanTZ) (int64, error)

更新用户

func UpdateCRDHeTongById

func UpdateCRDHeTongById(m *CRDHeTong) (err error)

UpdateCRDHeTong updates CRDHeTong by Id and returns error if the record to be updated doesn't exist

func UpdateCRDJieJuById

func UpdateCRDJieJuById(m *CRDJieJu) (err error)

UpdateCRDJieJu updates CRDJieJu by Id and returns error if the record to be updated doesn't exist

func UpdateDPSCklxById

func UpdateDPSCklxById(m *DPSCklx) (err error)

UpdateDPSCklx updates DPSCklx by Id and returns error if the record to be updated doesn't exist

func UpdateDPSCkzhById

func UpdateDPSCkzhById(m *DPSCkzh) (err error)

UpdateDPSCkzh updates DPSCkzh by Id and returns error if the record to be updated doesn't exist

func UpdateDPSCkzhtzById

func UpdateDPSCkzhtzById(m *DPSCkzhtz) (err error)

UpdateDPSCkzhtz updates DPSCkzhtz by Id and returns error if the record to be updated doesn't exist

func UpdateDPSCkzhzbxById

func UpdateDPSCkzhzbxById(m *DPSCkzhzbx) (err error)

UpdateDPSCkzhzbx updates DPSCkzhzbx by Id and returns error if the record to be updated doesn't exist

func UpdateDPSDetailById

func UpdateDPSDetailById(m *DPSDetail) (err error)

UpdateDPSDetail updates DPSDetail by Id and returns error if the record to be updated doesn't exist

func UpdateDPSOrgzbxById

func UpdateDPSOrgzbxById(m *DPSOrgzbx) (err error)

UpdateDPSOrgzbx updates DPSOrgzbx by Id and returns error if the record to be updated doesn't exist

func UpdateDPSzhminxById

func UpdateDPSzhminxById(m *DPSzhminx) (err error)

UpdateDPSzhminx updates DPSzhminx by Id and returns error if the record to be updated doesn't exist

func UpdateDianPiaoDetails

func UpdateDianPiaoDetails(n *DianPiaoDetails) (int64, error)

更新用户

func UpdateDianPiaoProductType

func UpdateDianPiaoProductType(n *DianPiaoProductType) (int64, error)

更新用户

func UpdateDocBaseurl

func UpdateDocBaseurl(n *DocBaseurl) (int64, error)

更新用户

func UpdateDocDBConnectionById

func UpdateDocDBConnectionById(m *DocDBConnection) (err error)

UpdateDocDBConnection updates DocDBConnection by Id and returns error if the record to be updated doesn't exist

func UpdateDocDataorgById

func UpdateDocDataorgById(m *DocDataorg) (err error)

UpdateDocDataorg updates DocDataorg by Id and returns error if the record to be updated doesn't exist

func UpdateDocGroupById

func UpdateDocGroupById(m *DocGroup) (err error)

UpdateDocGroup updates DocGroup by Id and returns error if the record to be updated doesn't exist

func UpdateDocLogById

func UpdateDocLogById(m *DocLog) (err error)

UpdateDocLog updates DocLog by Id and returns error if the record to be updated doesn't exist

func UpdateDocOrgById

func UpdateDocOrgById(m *DocOrg) (err error)

UpdateDocOrg updates DocOrg by Id and returns error if the record to be updated doesn't exist

func UpdateDocPasswdRuleById

func UpdateDocPasswdRuleById(n *DocPasswdRule) (int64, error)

更新用户

func UpdateDocPasswdRuleSuiteById

func UpdateDocPasswdRuleSuiteById(n *DocPasswdRuleSuite) (int64, error)

更新用户

func UpdateDocSysvalueById

func UpdateDocSysvalueById(m *DocSysvalue) (err error)

UpdateDocSysvalue updates DocSysvalue by Id and returns error if the record to be updated doesn't exist

func UpdateDocaccessById

func UpdateDocaccessById(n *Docaccess) (int64, error)

更新用户

func UpdateDocname

func UpdateDocname(n *Docname) (int64, error)

更新用户

func UpdateDownloadtracById

func UpdateDownloadtracById(m *Downloadtrac) (err error)

UpdateDownloadtrac updates Downloadtrac by Id and returns error if the record to be updated doesn't exist

func UpdateExportFileTracById

func UpdateExportFileTracById(m *ExportFileTrac) (err error)

UpdateExportFileTrac updates ExportFileTrac by Id and returns error if the record to be updated doesn't exist

func UpdateFBusCTCTM

func UpdateFBusCTCTM(n *FBusCTCTM) (int64, error)

更新用户

func UpdateFBusSubCM

func UpdateFBusSubCM(n *FBusSubCM) (int64, error)

更新用户

func UpdateFUDXiaShuQiYeCKYEById

func UpdateFUDXiaShuQiYeCKYEById(m *FUDXiaShuQiYeCKYE) (err error)

UpdateFUDXiaShuQiYeCKYE updates FUDXiaShuQiYeCKYE by Id and returns error if the record to be updated doesn't exist

func UpdateFUDXinDaiZiChanYEById

func UpdateFUDXinDaiZiChanYEById(m *FUDXinDaiZiChanYE) (err error)

UpdateFUDXinDaiZiChanYE updates FUDXinDaiZiChanYE by Id and returns error if the record to be updated doesn't exist

func UpdateFefpCTCTM

func UpdateFefpCTCTM(n *FefpCTCTM) (int64, error)

更新用户

func UpdateFefpLoadM

func UpdateFefpLoadM(n *FefpLoadM) (int64, error)

更新用户

func UpdateFefpSubCM

func UpdateFefpSubCM(n *FefpSubCM) (int64, error)

更新用户

func UpdateFintLoanM

func UpdateFintLoanM(n *FintLoanM) (int64, error)

更新用户

func UpdateFooCityById

func UpdateFooCityById(n *FooCity) (int64, error)

更新用户

func UpdateFooHotelById

func UpdateFooHotelById(n *FooHotel) (int64, error)

更新用户

func UpdateGroup

func UpdateGroup(g *Group) (int64, error)

func UpdateNode

func UpdateNode(n *Node) (int64, error)

更新用户

func UpdatePdftracById

func UpdatePdftracById(m *Pdftrac) (err error)

UpdatePdftrac updates Pdftrac by Id and returns error if the record to be updated doesn't exist

func UpdatePerson

func UpdatePerson(u *Person) (int64, error)

更新用户

func UpdateRole

func UpdateRole(r *Role) (int64, error)

func UpdateRolesById

func UpdateRolesById(m *Roles) (err error)

UpdateRoles updates Roles by Id and returns error if the record to be updated doesn't exist

func UpdateSAPAccountTitleCode

func UpdateSAPAccountTitleCode(n *SAPAccountTitleCode) (int64, error)

更新用户

func UpdateSAPDayBal

func UpdateSAPDayBal(n *SAPDayBal) (int64, error)

更新用户

func UpdateSAPDayBalFlag

func UpdateSAPDayBalFlag(n *SAPDayBalFlag) (int64, error)

更新用户

func UpdateSAPOrgmap

func UpdateSAPOrgmap(n *SAPOrgmap) (int64, error)

func UpdateSunlineDayBal

func UpdateSunlineDayBal(n *SunlineDayBal) (int64, error)

更新用户

func UpdateUser

func UpdateUser(u *User) (int64, error)

更新用户

func UpdateZhengZhaoZhongLeiById

func UpdateZhengZhaoZhongLeiById(n *ZhengZhaoZhongLei) (int64, error)

更新用户

Types

type Areas

type Areas struct {
	Id           int64  `orm:"column(id);pk;auto"`
	Areaname     string `orm:"column(areaname);size(32)"`
	Provincecode string `orm:"column(provincecode);size(6);null"`
	Zipcode      string `orm:"column(zipcode);size(6);null"`
	Zipcodelist  string `orm:"column(zipcodelist);null"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

func GetAreasById

func GetAreasById(id int64) (v *Areas, err error)

GetAreasById retrieves Areas by Id. Returns error if Id doesn't exist

func (*Areas) TableName

func (t *Areas) TableName() string

type BaseBizdate

type BaseBizdate struct {
	Id int64 `orm:"column(id);pk;auto"`
	//业务日期
	Bizdate string `orm:"unique;column(bizdate);size(8);"`
	//@todo TODO 待处理 DONE 处理完成
	State string `orm:"column(state);size(4);"	form:"State"  valid:"Required"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

业务日期表

func GetBaseBizdateById

func GetBaseBizdateById(nid int64) (BaseBizdate, error)

func (*BaseBizdate) TableName

func (n *BaseBizdate) TableName() string

TableName 缺省方法,返回对应的数据库表名

type BaseCodeDesc

type BaseCodeDesc struct {
	Id int64 `orm:"column(id);pk;auto"`

	//分组,由大写英文字母、数字、下划线组成
	Kvgroup string `orm:"column(kvgroup);size(32);null"`
	//编码
	Code string `orm:"column(code);size(32);null"`
	//中文描述
	Description string `orm:"column(description);size(32);null"`

	//排序因子
	SortFactor uint64 `orm:"column(sort_factor);size(20);default(0)"`
	//系统来源,使用缩略名称
	Source string `orm:"column(source);size(32);null"`
	//是否同步,每日同步不记录同步时间 1 同步 0 不同步
	IsSync bool `orm:"column(is_sync);size(1);default(1)"`

	//管控部分
	//Status 可用状态 1 不可用 2 可用
	Status uint64 `orm:"column(status);default(2)" form:"Status"`

	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseCodeDesc 主数据编码表

func GetBaseCodeDescById

func GetBaseCodeDescById(nid int64) (BaseCodeDesc, error)

func (*BaseCodeDesc) TableName

func (n *BaseCodeDesc) TableName() string

TableName 缺省方法,返回对应的数据库表名

type BaseCurrency

type BaseCurrency struct {
	Id int64 `orm:"column(id);pk;auto"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);unique;size(2);valid(required)"`
	//币种别名
	Bzbiemng string `orm:"column(bzbiemng);unique;size(32);valid(required)"`
	//货币名称
	Hbmcheng string `orm:"column(hbmcheng);unique;size(32);valid(required)"`
	//货币字母缩写
	Huobzmsx string `orm:"column(huobzmsx);size(32);valid(required)"`
	//货币符号
	Huobfhao string `orm:"column(huobfhao);size(32);valid(required)"`
	//国别代码
	Guobiedm string `orm:"column(guobiedm);size(32);valid(required)"`
	//辅币进位
	Fubijinw string `orm:"column(fubijinw);size(32);valid(required)"`
	//牌价最低位数
	Pjzdweis string `orm:"column(pjzdweis);size(32);valid(required)"`
	//最小货币单位
	Zuixhbdw string `orm:"column(zuixhbdw);size(32);valid(required)"`
	//最小计息单位
	Zuixjxdw string `orm:"column(zuixjxdw);size(32);valid(required)"`
	//最小记帐单位
	Zuixjzdw string `orm:"column(zuixjzdw);size(32);valid(required)"`
	//折角分位
	Zjfenwei string `orm:"column(zjfenwei);size(32);valid(required)"`
	//现金取现限额
	Xjinqxxe string `orm:"column(xjinqxxe);size(32);valid(required)"`
	//货币等级
	Huobidji string `orm:"column(huobidji);size(32);valid(required)"`
	//加入其它货币标志
	Jiarubzz string `orm:"column(jiarubzz);size(32);valid(required)"`
	//加入货币代号
	Bizhongg string `orm:"column(bizhongg);size(32);valid(required)"`
	//英联邦货币标志
	Yinglbhb string `orm:"column(yinglbhb);size(32);valid(required)"`
	//说明
	Shenming string `orm:"column(shenming);size(32);valid(required)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseCurrency 数据权限组织树 一般情况下与组织机构树相同,当然也可以不同 一个用户可以与数据权限组织树上的多个组织对应,但是多个组织不可以有交叉

func GetBaseCurrencyById

func GetBaseCurrencyById(id int64) (v *BaseCurrency, err error)

GetBaseCurrencyById retrieves BaseCurrency by Id. Returns error if Id doesn't exist

func (*BaseCurrency) TableName

func (t *BaseCurrency) TableName() string

TableName 缺省方法,返回对应的数据库表名

type BaseDateUnit

type BaseDateUnit struct {
	Id int64 `orm:"column(id);pk;auto"`
	//周期编码
	DateUnit string `orm:"unique;column(dateunit);size(32)"`
	//周期描述
	Description string `orm:"column(description);size(255)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseDateUnit 周期单位,与长亮保持一致

func GetBaseDateUnitById

func GetBaseDateUnitById(nid int64) (BaseDateUnit, error)

func (*BaseDateUnit) TableName

func (n *BaseDateUnit) TableName() string

TableName 缺省方法,返回对应的数据库表名

type BaseETLTask

type BaseETLTask struct {
	Id int64 `orm:"column(task_id);pk;auto"`
	//ETL描述索引
	TaskDescId *BaseETLTaskDesc `orm:"column(taskdesc_id);rel(fk)"`
	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`
	//状态 待处理、执行、完成
	//
	//	TODO
	//	DONE
	//	DOING
	State string `orm:"default(TODO)" form:"State"  valid:"Required"`
	//开始时间、结束时间
	StartAt time.Time `orm:"column(start_at);type(datetime);null"`
	OverAt  time.Time `orm:"column(over_at);type(datetime);null"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseETLTask ETL任务

func GetBaseETLTaskById

func GetBaseETLTaskById(nid int64) (BaseETLTask, error)

func (*BaseETLTask) TableName

func (n *BaseETLTask) TableName() string

type BaseETLTaskCmd

type BaseETLTaskCmd struct {
	Id int64 `orm:"column(id);pk;auto"`
	//ETLTask索引
	TaskId int64 `orm:"column(task_id);size(20)"`
	//定义命令关键字
	//
	//	STOP_ETLTASK
	//	HALT_ETLTASK
	//	FORCESTOP_ETLTASK
	//	START_ETLTASK
	//	RESTART_ETLTASK
	Cmdstr string `orm:"column(cmdstr);size(255)"`
	//状态 待处理、执行、完成
	//
	//	TODO
	//	DONE
	//	DOING
	State string `orm:"default(TODO)" form:"State"  valid:"Required"`
	//开始时间、结束时间
	StartAt time.Time `orm:"column(start_at);type(datetime);null"`
	OverAt  time.Time `orm:"column(over_at);type(datetime);null"`
	//管控部分
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseETLTaskCmd ETL命令表

func GetBaseETLTaskCmdById

func GetBaseETLTaskCmdById(nid int64) (BaseETLTaskCmd, error)

GetBaseETLTaskCmdById

func (*BaseETLTaskCmd) TableName

func (n *BaseETLTaskCmd) TableName() string

TableName 缺省方法,返回对应的数据库表名

type BaseETLTaskDesc

type BaseETLTaskDesc struct {
	Id                 int64      `orm:"column(id);pk;auto"`
	TaskDescCode       string     `orm:"column(taskdesc_code);unique;size(20)" form:"TaskType"  valid:"Required"`
	TaskType           string     `orm:"column(task_type);"	form:"TaskType"  valid:"Required"`
	TaskName           string     `orm:"column(task_name);"	form:"TaskName"  valid:"Required"`
	DependenceOfTaskId int64      `orm:"column(dependence_of_taskid);"	form:"DependenceOfTaskId"`
	DocnameList        []*Docname `orm:"rel(m2m)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseETLTaskDesc ETL 任务描述

func GetBaseETLTaskDescById

func GetBaseETLTaskDescById(nid int64) (BaseETLTaskDesc, error)

func (*BaseETLTaskDesc) TableName

func (n *BaseETLTaskDesc) TableName() string

type BaseExchangeRate

type BaseExchangeRate struct {
	Id int64 `orm:"column(id);pk;auto"`
	//汇率有效期,左右闭合原则
	StartAt string `orm:"column(start_at);size(8)"`
	OverAt  string `orm:"column(over_at);size(8)"`
	//源货币代号
	SrcHuobdaih string `orm:"column(srchuobdaih);size(2);valid(required)"`
	//目标货币代号
	DstHuobdaih string `orm:"column(dsthuobdaih);size(2);valid(required)"`
	//汇率
	ExchangeRate float64 `orm:"column(exchangerate);type(float64-decimal);decimals(6);digits(23);null"`

	//============= 与标签有有关结束 =============
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseExchangeRate 系统维护的汇率表

特别注意汇率的有效期

func GetBaseExchangeRateById

func GetBaseExchangeRateById(nid int64) (BaseExchangeRate, error)

func (*BaseExchangeRate) TableName

func (n *BaseExchangeRate) TableName() string

type BaseFUDYingHangCKYE

type BaseFUDYingHangCKYE struct {
	Id                int64              `orm:"column(id);pk;auto"`
	BaseFUDYingHangZH *BaseFUDYingHangZH `orm:"column(basefudyinghangzh_id);rel(fk)"`

	//账户利率
	ZHLiLv int64 `orm:"column(zhlilv);type(float64-decimal);decimals(7);digits(23);default(0)"`
	//结算类时点余额
	JieSuanLeiYE float64 `orm:"column(jiesuanleiye);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseFUDYingHangCKYE 银行存款账户时点余额表

func GetBaseFUDYingHangCKYEById

func GetBaseFUDYingHangCKYEById(id int64) (v *BaseFUDYingHangCKYE, err error)

GetBaseFUDYingHangCKYEById retrieves BaseFUDYingHangCKYE by Id. Returns error if Id doesn't exist

func (*BaseFUDYingHangCKYE) TableName

func (t *BaseFUDYingHangCKYE) TableName() string

type BaseFUDYingHangZH

type BaseFUDYingHangZH struct {
	Id int64 `orm:"column(id);pk;auto"`
	//账户号
	ZhangHao string `orm:"column(zhanghao);size(255);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);size(2);null"`
	//机构Id
	Orgcode string `orm:"column(org_code);size(32);null"`
	//银行
	BankName string `orm:"column(bankname);size(255);null"`

	//开户行名称(分支行)
	KaihuhangName string `orm:"column(kaihuhangname);size(255);null"`
	//开户行账号
	KaihuhangZH string `orm:"column(kaihuhangzh);size(255);null"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseFUDYingHangZH 银行存款账户

func GetBaseFUDYingHangZHById

func GetBaseFUDYingHangZHById(id int64) (v *BaseFUDYingHangZH, err error)

Id doesn't exist

func (*BaseFUDYingHangZH) TableName

func (t *BaseFUDYingHangZH) TableName() string

type BaseKehu

type BaseKehu struct {
	Id int64 `orm:"column(id);pk;auto"`

	//客户号
	KeHuHao string `orm:"column(kehuhao);unique;size(255)"`
	//客户中文名称
	Kehuzhwm string `orm:"column(kehuzhwm);size(255);null"`

	//归属机构
	GuishjigCode string `orm:"column(guishjig_code);size(32);null"`
	//服务机构
	ChjianjgCode string `orm:"column(chjianjgcode_code);size(32);null"`

	//所属集团编码
	HostGroupCode string `orm:"column(hostgroupcode);size(3);null"`
	//客户类型编码
	KehuLeiXing string `orm:"column(kehuleixing);size(255);null"`
	//客户分类编码
	KehuFenLei string `orm:"column(kehufenlei);size(255);null"`

	//企业客户法人性质
	QiYeKeHuFaRenXingZhi string `orm:"column(qiyekehufarenxingzhi);size(255);null"`
	// 企业分类(大中小微) E_QIYEGUIM
	Qiyeguim string `orm:"column(qiyeguim);size(255);null"`

	// 法人类别
	FaRenLeiBie string `orm:"column(farenleibie);size(255);null"`
	// 是否同业
	//	01 对公
	//	02 同业
	Kehuleix string `orm:"column(kehuleix);default(02);null"`
	// 同业客户法人性质
	TongYeKeHuFaRenXingZhi string `orm:"column(tongyekehufarenxingzhi);size(255);null"`
	// 客户标签	客户标签	varchar(255)	255		FALSE	FALSE	FALSE
	// 是否封存
	FengCunFlag bool `orm:"column(FengCun_flag);default(0);null"`

	// 创建日期
	ChuangJianRiQI string `orm:"column(chuangjianriqi);size(8)"`

	// 证件类型	证件类型	varchar(255)	255		FALSE	FALSE	F	ALSE
	ZhengJianLX string `orm:"column(zhengjianlx);size(255);null"`
	// 组织机构代码证
	ZuZhiJiGouDaiMaZ string `orm:"column(zuzhijigoudaimaz);size(255);null"`
	//客户并表标识
	KeHuBingBiaoFlag bool `orm:"column(kehubingbiaoflag);null"`

	// 客户状态
	Kehuztai string `orm:"column(kehuztai);size(1);null"`

	//同业客户类型_使用场景待核实
	TongYeKehuLX string `orm:"column(TongYeKehuLX);size(4);null"`

	//证照种类编码
	ZhengZhaoZhongLei string `orm:"column(ZhengZhaoZhongLeiId);size(4);null"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseKehu 客户

func GetBaseKehuById

func GetBaseKehuById(id int64) (v *BaseKehu, err error)

GetBaseKehuById retrieves BaseKehu by Id. Returns error if Id doesn't exist

func (*BaseKehu) IsTongye

func (t *BaseKehu) IsTongye() bool

IsTongye 是否同业

func (*BaseKehu) TableName

func (t *BaseKehu) TableName() string

type BaseSTMQudaoTranflow

type BaseSTMQudaoTranflow struct {
	Id int64 `orm:"column(id);pk;auto"`
	//批次号
	Batchno string `orm:"column(batchno);size(15);null"`
	//网银流水号
	Flowno string `orm:"column(flowno);size(20);null"`
	//核心客户号 对应宇信内部字段 cif_hostno
	HostKehuhao string `orm:"column(host_kehuhao);size(20);null"`
	//网银客户号
	Cstno string `orm:"column(cstno);size(20);null"`
	//操作员编号
	Oprno string `orm:"column(oprno);size(20);null"`
	//操作员姓名
	Oprname string `orm:"column(oprname);size(60);null"`
	//交易代码
	Bsncode string `orm:"column(bsncode);size(8);null"`

	// 7	type	char	1	yes
	Type string `orm:"column(type);size(8);null"`
	// 8	payacc	varchar2	32	yes	付款账号
	Payacc string `orm:"column(payacc);size(32);null"`
	// 9	payname	varchar2	300	yes	付款人名称
	Payname string `orm:"column(payname);size(300);null"`
	// 10	paynode	varchar2	10	yes	付款人开户网点
	Paynode string `orm:"column(paynode);size(10);null"`
	// 11	rcvacc	varchar2	32	yes	收款账号
	Rcvacc string `orm:"column(rcvacc);size(32);null"`
	// 12	rcvname	varchar2	300	yes	收款人名称
	Rcvname string `orm:"column(rcvname);size(300);null"`
	// 13	rcvbank	varchar2	300	yes	收款行名称
	Rcvbank string `orm:"column(rcvbank);size(300);null"`
	// 14	comitrno	varchar2	12	yes
	Comitrno string `orm:"column(comitrno);size(12);null"`
	// 15	cstinnerno	varchar2	20	yes
	Cstinnerno string `orm:"column(cstinnerno);size(20);null"`
	// 16	totype	char	1	yes
	Totype string `orm:"column(totype);size(1);null"`
	// 17	tranchannel	varchar2	4	yes	交易渠道
	Tranchannel string `orm:"column(tranchannel);size(4);null"`
	// 18	cry	varchar2	3	yes	币种
	Cry string `orm:"column(cry);size(3);null"`
	// 19	tranamt	number	18,2	yes	交易金额
	Tranamt float64 `orm:"column(tranamt);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 20	purpose	varchar2	60	yes
	Purpose string `orm:"column(purpose);size(60);null"`
	// 21	rem	varchar2	300	yes
	Rem string `orm:"column(rem);size(300);null"`
	// 22	bankrem	varchar2	300	yes
	Bankrem string `orm:"column(bankrem);size(300);null"`
	// 23	submittime	char	14	no	提交时间
	Submittime string `orm:"column(submittime);size(14);null"`
	// 24	dealtime	char	14	yes	处理时间
	Dealtime string `orm:"column(dealtime);size(14);null"`
	// 25	fee1	number	18,2	yes
	Fee1 float64 `orm:"column(fee1);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 26	fee2	number	18,2	yes
	Fee2 float64 `orm:"column(fee2);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 27	rmttype	char	1	yes
	Rmttype string `orm:"column(rmttype);size(1);null"`
	// 28	chkcode	varchar2	30	yes
	Cshkcode string `orm:"column(chkcode);size(30);null"`
	// 29	hostcode	varchar2	20	yes
	Hostcode string `orm:"column(hostcode);size(20);null"`
	// 30	sendtime	char	14	yes
	Sendtime string `orm:"column(sendtime);size(14);null"`
	// 31	stt	char	2	no
	Stt string `orm:"column(stt);size(2);null"`
	// 32	appid	varchar2	20	yes
	AppId string `orm:"column(appid);size(20);null"`
	// 33	hostflowno	varchar2	32	yes
	HostFlowno string `orm:"column(hostflowno);size(32);null"`
	// 34	sendhostno	varchar2	32	yes
	SendHostno string `orm:"column(sendhostno);size(32);null"`
	// 35	errmsg	varchar2	300	yes
	Errmsg string `orm:"column(errmsg);size(300);null"`
	// 36	refusereason	varchar2	300	yes	拒绝原因
	RefuseReason string `orm:"column(refusereason);size(300);null"`
	// 37	orderdealtime	char	14	yes
	OrderDealTime string `orm:"column(orderdealtime);size(14);null"`
	// 38	dealimuser	varchar2	8	yes
	DealimUser string `orm:"column(dealimuser);size(8);null"`
	// 39	validinfo	varchar2	60	yes
	ValidInfo string `orm:"column(validinfo);size(60);null"`
	// 40	pretranflag	varchar2	1	no
	// 默认值:'0'
	Pretranflag string `orm:"column(pretranflag);size(1);null"`

	//落地状态:71-落地拒绝;72-落地审批通过
	Down_stt string `orm:"column(down_stt);size(2);null"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseSTMQudaoTranflow 渠道-企业转账指令表

企业转账指令表	CB_TRANFLOW	TFL

func GetBaseSTMQudaoTranflowById

func GetBaseSTMQudaoTranflowById(nid int64) (BaseSTMQudaoTranflow, error)

func (*BaseSTMQudaoTranflow) TableName

func (n *BaseSTMQudaoTranflow) TableName() string

type BaseSTMQudaoTz

type BaseSTMQudaoTz struct {
	Id int64 `orm:"column(id);pk;auto"`
	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`
	//开户机构(报表显示为填报机构)
	Orgcode string `orm:"column(org_code);size(32);null"`
	//通过电财通电子支付结算资金量
	DctZjzl float64 `orm:"column(dct_zjzl);size(20);default(0)"`
	//通过电财通电子支付结算笔数
	DctJsbs int64 `orm:"column(dct_jsbs);size(20);default(0)"`
	//开通电财通电子支付账户数量
	DctAccountCount int64 `orm:"column(dct_account_count);size(20);default(0)"`
	//开通电财通电子支付客户数量
	DctCustomCount int64 `orm:"column(dct_custom_count);size(20);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

BaseSTMQudaoTz 渠道-企业转账台账

通过核心系统交易流水取数:
【Gopher交易来源为“电财通”】 且 【账户大类为“客户账户”】的流水明细交易金额合计/流水明细交易记录个数
5.开通电财通电子支付账户数量、客户数量
通过电财通系统内管端取数:取“资金管理——转账汇款”类别下开通“跨行转账”功能的账户数量、客户数量。

func GetBaseSTMQudaoTzById

func GetBaseSTMQudaoTzById(nid int64) (BaseSTMQudaoTz, error)

func (*BaseSTMQudaoTz) TableName

func (n *BaseSTMQudaoTz) TableName() string

type CRD0001Model

type CRD0001Model struct {
	Id int64 `orm:"column(id);pk;auto"`

	//组织机构编码
	Orgcode string `orm:"column(org_code);size(32);null"`
	//上月末余额
	Shangyuemoyue float64 `orm:"column(shangyuemoyue);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//上日余额
	Shangriyue float64 `orm:"column(shangriyue);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//
	//核定贷款
	Hedingdaikuan float64 `orm:"column(hedingdaikuan);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 截至上日月均
	Jiezhishangriyuejun float64 `orm:"column(jiezhishangriyuejun);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//截至上日累计日均
	Jiezhishangrileijirijun float64 `orm:"column(jiezhishangrileijirijun);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//当日发生		当日余额
	//发放
	Dangrifashengfafang float64 `orm:"column(dangrifashengfafang);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//
	//回收
	Dangrifashenghuishou float64 `orm:"column(dangrifashenghuishou);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//实际
	Dangrifashengshiji float64 `orm:"column(dangrifashengshiji);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//当日余额
	Dangriyue float64 `orm:"column(dangriyue);type(float64-decimal);decimals(2);digits(23);default(0)"`

	Bizdate string `orm:"column(bizdate);size(8);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

private String buBen; // 上月末余额 private BigDecimal shangYueMoYue;

// 上日余额 private BigDecimal shangRiYue;

// 核定贷款 private BigDecimal heDingDaiKuan; // 截至上日月均 private BigDecimal jieZhiShangRiYueJun;

// 截至上日累计日均 private BigDecimal jieZhiShangRiLeiJiRiJun;

// 当日发生 当日余额

// 发放 private BigDecimal dangRiFaShengFaFang;

// 回收 private BigDecimal dangRiFaShengHuiShou;

// 实际 private BigDecimal dangRiFaShengShiJi; // 当日余额 private BigDecimal dangRiYue; CRD0001Model 担保形式

func GetCRD0001ModelById

func GetCRD0001ModelById(nid int64) (CRD0001Model, error)

func (*CRD0001Model) TableName

func (n *CRD0001Model) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CRD0002Model

type CRD0002Model struct {
	Id int64 `orm:"column(id);pk;auto"`

	//组织机构编码
	Orgcode string `orm:"column(org_code);size(32);null"`

	// 业务形式
	Yewuxingshi string `orm:"column(yewuxingshi);size(255);"`
	// 贷款种类
	Daikuanzhonglei string `orm:"column(daikuanzhonglei);size(255);"`
	// 	借款人
	Jiekuanren string `orm:"column(jiekuanren);size(255);"`
	// 	合同编号
	Hetongbianhao string `orm:"column(hetongbianhao);size(32);"`

	// 	合同金额
	Hetongjine float64 `orm:"column(hetongjine);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 	发放金额
	Fafangjine float64 `orm:"column(fafangjine);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 	余额
	Yue float64 `orm:"column(yue);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 	合同利率(年%)
	Hetonglilv string `orm:"column(hetonglilv);size(32);"`

	// 	现行利率(年%)
	Xianxinglilv string `orm:"column(xianxinglilv);size(32);"`
	// 	利率浮动方式
	Lilvfudongfangshi string `orm:"column(lilvfudongfangshi);size(32);"`
	// 利率浮动值(%)
	Lilvfudongzhi string `orm:"column(lilvfudongzhi);size(32);"`
	// 	担保形式
	Danbaoxingshi string `orm:"column(danbaoxingshi);size(32);"`
	// 	担保单位或担保物
	Danbaodanweihuodanbaowu string `orm:"column(danbaodanweihuodanbaowu);size(32);"`
	// 	合同生效日
	Hetongshengxiaori string `orm:"column(hetongshengxiaori);size(8);"`
	// 	合同到期日
	Hetongdaoqiri string `orm:"column(hetongdaoqiri);size(8);"`
	// 	发放日
	Fafangri string `orm:"column(fafangri);size(8);"`
	// 	到期日
	Daoqiri string `orm:"column(daoqiri);size(8);"`
	// 	合同期限(月)
	Hetongqixian uint64 `orm:"column(hetongqixian);size(20)"`
	// 	借据期限(月)
	Jiejuqixian uint64 `orm:"column(jiejuqixian);size(20)"`
	// 	借款用途
	Jiekuanyongtu string `orm:"column(jiekuanyongtu);size(32);"`
	// 	五级分类结果
	Wujifenleijieguo string `orm:"column(wujifenleijieguo);size(32);"`

	Touxiangjiegou string `orm:"column(touxiangjiegou);size(32);"`
	// 	是否逾期
	Shifouyuqi bool `orm:"column(shifouyuqi);size(1);default(0)"`

	// 	"企业分类
	Qiyefenlei string `orm:"column(qiyefenlei);size(32);"`

	//上月末余额
	Shangyuemoyue float64 `orm:"column(shangyuemoyue);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//上日余额
	Shangriyue float64 `orm:"column(shangriyue);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//
	//核定贷款
	Hedingdaikuan float64 `orm:"column(hedingdaikuan);type(float64-decimal);decimals(2);digits(23);default(0)"`
	// 截至上日月均
	Jiezhishangriyuejun float64 `orm:"column(jiezhishangriyuejun);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//截至上日累计日均
	Jiezhishangrileijirijun float64 `orm:"column(jiezhishangrileijirijun);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//当日发生		当日余额
	//发放
	Dangrifashengfafang float64 `orm:"column(dangrifashengfafang);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//
	//回收
	Dangrifashenghuishou float64 `orm:"column(dangrifashenghuishou);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//实际
	Dangrifashengshiji float64 `orm:"column(dangrifashengshiji);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//当日余额
	Dangriyue float64 `orm:"column(dangriyue);type(float64-decimal);decimals(2);digits(23);default(0)"`

	Bizdate string `orm:"column(bizdate);size(8);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
	// contains filtered or unexported fields
}

CRD0002Model

func GetCRD0002ModelById

func GetCRD0002ModelById(nid int64) (CRD0002Model, error)

func (*CRD0002Model) TableName

func (n *CRD0002Model) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CRDChengNuoHan

type CRDChengNuoHan struct {
	Id int64 `orm:"column(id);pk;auto"`
	//承诺函编号
	ChengNuoHanCode string `orm:"unique;column(chengnuohancode);size(4);null"`
	//客户号
	KeHuHaoo string `orm:"column(kehuhaoo);size(32);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//金额
	ChengNuoJE float64 `orm:"column(chengnuoje);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//生效日期
	ShengXiaoRiQi string `orm:"unique;column(shengxiaoriqi);size(8);"`
	//失效日期
	ShiXiaoRiQi string `orm:"unique;column(shixiaoriqi);size(8);"`

	//服务机构
	Chjianjg string `orm:"column(chjianjg_code);size(32);null"`
	//管控部分
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

CRDChengNuoHan 承诺函

func GetCRDChengNuoHanById

func GetCRDChengNuoHanById(nid int64) (CRDChengNuoHan, error)

func (*CRDChengNuoHan) TableName

func (n *CRDChengNuoHan) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CRDDanBao

type CRDDanBao struct {
	Id int64 `orm:"column(id);pk;auto"`
	//担保编码	担保编码	char(4)	4		FALSE	FALSE	FALSE
	DanBaoXingShi string `orm:"unique;column(danbaoxingshi);size(4);null"`
	// 担保描述
	Description string `orm:"column(description);size(255);null"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

CRDDanBao 担保形式

func GetCRDDanBaoById

func GetCRDDanBaoById(nid int64) (CRDDanBao, error)

func (*CRDDanBao) TableName

func (n *CRDDanBao) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CRDDanBaoHanTZ

type CRDDanBaoHanTZ struct {
	Id int64 `orm:"column(id);pk;auto"`
	//服务机构
	Chjianjg string `orm:"column(chjianjg_code);size(20);null"`
	//货币代号 仅限人民币
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`
	//年初余额
	NianChuYE float64 `orm:"column(nianchuye);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//月初余额
	YueChuYE float64 `orm:"column(yuechuye);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//本月发生额
	BenYueFaShengE float64 `orm:"column(benyuefashenge);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//本年累计发生额
	BenNianLeiJiFaShengE float64 `orm:"column(bennianleijifashenge);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//本月失效额
	BenYueShiXiaoE float64 `orm:"column(benyueshixiaoe);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//本年累计失效额
	BenNianLeiJiShiXiaoE float64 `orm:"column(bennianleijishixiaoe);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//报告期余额
	BaoGaoQiYE float64 `orm:"column(baogaoqiye);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//担保形式-保证金
	BaoZhengJin float64 `orm:"column(baozhengjin);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//担保形式-信用
	XinYong float64 `orm:"column(xinyong);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//担保形式-反担保
	FanDanBao float64 `orm:"column(fandanbao);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

CRDDanBaoHanTZ 担保函台账

func GetCRDDanBaoHanTZById

func GetCRDDanBaoHanTZById(nid int64) (CRDDanBaoHanTZ, error)

func (*CRDDanBaoHanTZ) TableName

func (n *CRDDanBaoHanTZ) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CRDHeTong

type CRDHeTong struct {
	Id int64 `orm:"column(id);pk;auto"`

	//业务种类
	YeWuZhongLei string `orm:"column(yewuzhonglei);size(255);null"`
	//业务形式
	YeWuXingShi string `orm:"column(yewuxingshi);size(255);null"`
	//贷款形式
	DaiKuanXingShi string `orm:"column(daikuanxingshi);size(255);null"`
	//合同编号
	HeTongCode string `orm:"unique;column(hetongcode);size(255);null"`

	//服务机构
	Orgcode string `orm:"column(org_code);size(32);null"`

	//借款单位
	KeHuHaoo string `orm:"column(kehuhaoo);size(32);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//合同金额,长亮对照 ZONGJINE	总金额
	HeTongJinE float64 `orm:"column(hetongjine);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//利率
	LiLv float64 `orm:"column(lilv);type(float64-decimal);decimals(7);digits(23);default(0)"`

	//现行利率
	XianXingLiLv float64 `orm:"column(xianxinglilv);type(float64-decimal);decimals(7);digits(23);default(0)"`

	//合同利率(年%)
	Hetongll float64 `orm:"column(hetongll);type(float64-decimal);decimals(6);digits(11);default(0)"`
	// NYUELILV	年/月利率标识	varchar2(1)	Y		D--日利率
	// NYUELILV	年/月利率标识	varchar2(1)	Y		M--月利率
	// NYUELILV	年/月利率标识	varchar2(1)	Y		Y--年利率
	Nyuelilv string `orm:"column(nyuelilv);type(string);size(1);default(Y)"  form:"Nyuelilv"  valid:"Required"`
	//利率浮动方式
	Ratefloattype string `orm:"column(ratefloattype);size(2);null"`

	// 主要担保形式编码(五种)
	Vouchtype string `orm:"column(vouchtype);size(4);null"`
	//担保单位或担保物
	DanBaoDanWeiHuoDanBaoWu string `orm:"column(danbaodanweihuodanbaowu);size(255);null"`
	//合同签订日_使用场景待核实	合同签订日_使用场景待核实	date			FALSE	FALSE	FALSE
	HeTongQianDingRi time.Time `orm:"column(hetongqiandingri);null"`
	//合同生效日	合同生效日	date			FALSE	FALSE	FALSE
	HeTongShengXiaoRi string `orm:"unique;column(hetongshengxiaori);size(8);"`
	//合同到期日	合同到期日	date			FALSE	FALSE	FALSE
	HeTongDaoQiRi string `orm:"unique;column(hetongdaoqiri);size(8);"`
	//合同期限
	HeTongQiXian int64 `orm:"column(hetongqixian);size(20);null"`
	//合同期限单位
	HeTongQiXianUnit int64 `orm:"column(hetongqixianunit);size(20);null"`
	//借款用途
	JieKuanYongTu string `orm:"column(jiekuanyongtu);size(255);null"`
	// 五级分类结果                  (填空)
	WuJiFenLei string `orm:"column(wujifenlei);size(255);null"`
	// 投向结构
	TouXiangJieGou string `orm:"column(touxiangjiegou);size(255);null"`
	// 状态
	HeTongStatus string `orm:"column(hetongstatus);size(255);null"`

	//BAILSUM	保证金金额	NUMBER(32,4)
	Bailsum float64 `orm:"column(bailsum);type(float64-decimal);decimals(4);digits(32);default(0)"`
	//BAILRATIO	保证金比例	NUMBER(32,4)
	Bailratio float64 `orm:"column(bailratio);type(float64-decimal);decimals(4);digits(32);default(0)"`
	//PDGRATIO	手续费比例	NUMBER(32,4)
	Pdgratio float64 `orm:"column(pdgratio);type(float64-decimal);decimals(4);digits(32);default(0)"`
	//PDGSUM	手续费	NUMBER(32,4)
	Pdgsum float64 `orm:"column(pdgsum);type(float64-decimal);decimals(4);digits(32);default(0)"`
	//SETTLEBANK	清算行名称 ?	VARCHAR2(80)
	Settlebank string `orm:"column(settlebank);type(string);size(80);null"`
	//LEADBANK	牵头行	VARCHAR2(80)
	Leadbank string `orm:"column(LEADBANK);type(string);size(80);null"`

	//MNGFEERATE	管理费率?	NUMBER(32,4)
	Mngfeerate float64 `orm:"column(mngfeerate);type(float64-decimal);decimals(4);digits(32);default(0)"`

	//MNGFEE	管理费金额	NUMBER(32,4)
	Mngfee float64 `orm:"column(mngfee);type(float64-decimal);decimals(4);digits(32);default(0)"`

	// 手续费率
	ShouXuFeiLv float64 `orm:"column(shouxufeilv);type(float64-decimal);decimals(7);digits(23);default(0)"`
	// 是否委托
	WeiTuoFlag bool `orm:"column(weituo_flag);default(0);null"`
	// 委托人(和委托贷款有关)
	WeiTuoRen string `orm:"column(weituoren);size(255);null"`
	// 是否循环
	Xunhdaik bool `orm:"column(xunhdaik);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

CRDHeTong 借贷合同

func GetCRDHeTongById

func GetCRDHeTongById(id int64) (v *CRDHeTong, err error)

Id doesn't exist

func (*CRDHeTong) TableName

func (t *CRDHeTong) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CRDJieJu

type CRDJieJu struct {
	Id int64 `orm:"column(id);pk;auto"`
	//合同编号
	HeTongCode string `orm:"column(hetongcode);size(255);null"`
	//借据编号
	JieJuCode string `orm:"unique;column(jiejucode);size(255);null"`

	//发放日
	FaFangRi string `orm:"unique;column(fafangri);size(8);"`
	// 到期日	到期日	date			FALSE	FALSE	FALSE
	DaoQiRi string `orm:"unique;column(daoqiri);size(8);"`
	//是否逾期	是否逾期	boolean			FALSE	FALSE	FALSE
	YuQiFlag bool `orm:"column(yuqi);null"`
	//发放金额(明确属于借据)	发放金额(明确属于借据)
	FangFangJE float64 `orm:"column(fangfangje);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//开户金融机构(使用场景待核实)	开户金融机构(使用场景待核实)
	KaiHuJinRongJiGou string `orm:"column(kaihujinrongjigou);size(255);null"`
	//客户在开户金融机构的账号(使用场景待核实)
	KaiHuJinRongJiGouKaiHuZhangHao string `orm:"column(kaihujinrongjigoukaihuzhanghao);size(255);null"`
	//借款金额	借款金额	decimal(19,2)	19	2	FALSE	FALSE	FALSE
	JieKuanJE float64 `orm:"column(jiekuanje);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//付款方式
	FuKuanFangShi string `orm:"column(fukuanfangshi);size(255);null"`
	// 借款用途	借款用途	varchar(255)	255		FALSE	FALSE	FALSE
	JieKuanYongTu string `orm:"column(jiekuanyongtu);size(255);null"`
	//利率
	LiLv float64 `orm:"column(lilv);type(float64-decimal);decimals(7);digits(23);default(0)"`
	//提款日期
	TiKuanRQ string `orm:"unique;column(tikuanrq);size(8);"`
	//还款日期
	HuanKuanRQ string `orm:"unique;column(huankuanrq);size(8);"`
	//借据期限
	JieJuQiXian int64 `orm:"column(jiejuqixian);size(20);null"`
	//借据期限
	JieJuQiXianUnit int64 `orm:"column(jiejuqixianunit_id);size(20);default(3)"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

CRDJieJu 借贷合同

func GetCRDJieJuById

func GetCRDJieJuById(id int64) (v *CRDJieJu, err error)

Id doesn't exist

func (*CRDJieJu) TableName

func (t *CRDJieJu) TableName() string

TableName 缺省方法,返回对应的数据库表名

type CoinTypeCodeDesc

type CoinTypeCodeDesc struct {
	CoinTypeCode string
	Desc         string
}

type DPSCklx

type DPSCklx struct {
	Id          int64  `orm:"column(id);pk;auto"`
	CKLXCode    string `orm:"unique;column(cklxcode);size(4);null"`
	Description string `orm:"column(description);size(255);null"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DPSCklx 存款类型

func GetDPSCklxById

func GetDPSCklxById(id int64) (v *DPSCklx, err error)

GetDPSCklxById retrieves DPSCklx by Id. Returns error if Id doesn't exist

func (*DPSCklx) TableName

func (n *DPSCklx) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DPSCkzh

type DPSCkzh struct {
	Id int64 `orm:"column(id);pk;auto"`
	//客户号
	KeHuHaoo string `orm:"column(kehuhaoo);size(32);null"`
	//客户中文名称
	Kehuzhwm string `orm:"column(kehuzhwm);size(255);null"`
	//归属机构Id
	Guishjig string `orm:"column(guishjig_code);size(32);null"`
	//服务机构Id
	Chjianjg string `orm:"column(chjianjg_code);size(32);null"`
	//所属集团编码
	//长亮: E_SUOSHJT2 所属集团2
	HostGroupCode string `orm:"column(hostgroup_code);size(3);null"`
	//客户类型编码 E_KEHULEIX
	KehuLeiXing string `orm:"column(kehuleixing);size(255);null"`
	//客户分类编码
	KehuFenLei string `orm:"column(kehufenlei);size(255);null"`
	//账户号
	ZhangHao string `orm:"column(zhanghao);size(64);null"`
	//账户名称
	Zhuzwmc string `orm:"column(zhhuzwmc);size(255);null"`
	//子账号(序号)
	Zhhaoxuh string `orm:"column(zhhaoxuh);size(32);null"`
	//开户机构Id
	KaiHuOrgcode string `orm:"column(kaihuorg_code);size(32);null"`

	//开户日期
	Kaihriqi string `orm:"unique;column(kaihriqi);size(8);"`
	//销户日期
	Xiohriqi string `orm:"unique;column(xiohriqi);size(8);"`

	//存款类型_七种
	CunKuanLeiXing string `orm:"column(cunkuanleixing);size(4)"`

	//存款性质
	CunKuanXingZhi string `orm:"column(cunkuanxingzhi);size(255);null"`
	//客户并表标识
	KeHuBingBiaoFlag bool `orm:"column(kehubingbiao_flag);default(0);null"`
	//账户并表标识
	ZhangHuBingBiaoFlag bool `orm:"column(zhanghubingbiao_flag);default(0);null"`
	//执行利率,精度参考长亮
	ZhiXingLilv float64 `orm:"column(zhixinglilv);type(float64-decimal);decimals(6);digits(23);null"`
	//存款产品Id
	CunKuanChanPinId int64 `orm:"column(cunkuanchanpin);size(20);null"`
	//期限Id
	QiXian int64 `orm:"column(qixian);size(20);null"`
	//期限单位Id
	QiXianUnitId int64 `orm:"column(qixianunit_id);size(20);default(3)"`

	//银行集团账户标识(是否影子账户)
	YingHangJTZhangHUFlag bool `orm:"column(yinghangjtzhanghu_flag);default(0);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//============= 与账户标签有关开始 =============
	//基本保险标签
	JiBenBaoXianFlag bool `orm:"column(jibenbaoxian_flag);default(0);null"`
	//补充医保标签
	BuChongYiBaoFlag bool `orm:"column(buchongyibao_flag);default(0);null"`

	//年金标签
	NianJinFlag bool `orm:"column(nianjin_flag);default(0);null"`
	//补充公积金标签
	BuChongGongJiJinFlag bool `orm:"column(buchonggongjijin_flag);default(0);null"`
	//党团工会标签
	DangTuanGongHuiFlag bool `orm:"column(dangtuangonghui_flag);default(0);null"`
	//其他标签
	QiTaFlag bool `orm:"column(qita_flag);default(0);null"`

	//同业活期保证金存款标签 待核实报表是否需要
	TYHuoQiBaoZhengJinFlag bool `orm:"column(tyhuoqibaozhengjin_flag);default(0);null"`
	//同业定期保证金存款 待核实报表是否需要
	TYDingQiBaoZhengJinFlag bool `orm:"column(tydingqibaozhengjin_flag);default(0);null"`
	//对公活期保证金存款 待核实报表是否需要
	DGHuoQiBaoZhengJinFlag bool `orm:"column(dghuoqibaozhengjin_flag);default(0);null"`
	//对公定期保证金存款 待核实报表是否需要
	DGDingQiBaoZhengJinFlag bool `orm:"column(dgdingqibaozhengjin_flag);default(0);null"`
	// <restrictionType id="E_ZHHUZTAI" longname="账户状态" base="BaseType.U_LEIXIN01" tags="LT">
	// 	<enumeration id="ZC" value="A" longname="正常"/>
	// 	<enumeration id="XH" value="C" longname="销户"/>
	// 	<enumeration id="JX" value="D" longname="久悬户"/>
	// 	<enumeration id="YW" value="I" longname="转营业外收入"/>
	// 	<enumeration id="JE" value="F" longname="金额冻结"/>
	// 	<enumeration id="FB" value="E" longname="封闭冻结"/>
	// </restrictionType>
	//账户状态
	Zhhuztai string `orm:"column(zhhuztai);type(string);size(1);default(A)"  form:"Zhhuztai"  valid:"Required"`

	//============= 与标签有有关结束 =============
	// Status int `orm:"column(status);default(2)" form:"Status"`
	//-以下是存储控制标志-	-以下是存储控制标志-	<Undefined>			FALSE	FALSE	FALSE
	//生效日期	生效日期
	ShengXiaoDate string `orm:"unique;column(shengxiaodate);size(8);"`
	ShiXiaoDate   string `orm:"unique;column(shixiaodate);size(8);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DPSCkzh 存款账户

func GetDPSCkzhById

func GetDPSCkzhById(id int64) (v *DPSCkzh, err error)

GetDPSCkzhById retrieves DPSCkzh by Id. Returns error if Id doesn't exist

func (*DPSCkzh) TableName

func (t *DPSCkzh) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DPSCkzhtz

type DPSCkzhtz struct {
	Id int64 `orm:"column(id);pk;auto"`
	//客户号
	KeHuHaoo string `orm:"column(kehuhaoo);size(32);null"`
	//客户中文名称
	Kehuzhwm string `orm:"column(kehuzhwm);size(255);null"`
	//归属机构Id
	Guishjig string `orm:"column(guishjig_code);size(32);null"`
	//服务机构Id
	Chjianjg string `orm:"column(chjianjg_code);size(32);null"`
	//所属集团编码
	//长亮: E_SUOSHJT2 所属集团2
	HostGroupCode string `orm:"column(hostgroup_code);size(3);null"`
	//客户类型编码 E_KEHULEIX
	KehuLeiXing string `orm:"column(kehuleixing);size(255);null"`
	//客户分类编码
	KehuFenLei string `orm:"column(kehufenlei);size(255);null"`
	//账户号
	ZhangHao string `orm:"column(zhanghao);size(64);null"`
	//账户名称
	Zhuzwmc string `orm:"column(zhhuzwmc);size(255);null"`
	//子账号(序号)
	Zhhaoxuh string `orm:"column(zhhaoxuh);size(32);null"`
	//开户机构Id
	KaiHuOrgcode string `orm:"column(kaihuorg_code);size(32);null"`

	//开户日期
	Kaihriqi string `orm:"unique;column(kaihriqi);size(8);"`
	//销户日期
	Xiohriqi string `orm:"unique;column(xiohriqi);size(8);"`

	//存款类型_七种
	CunKuanLeiXing string `orm:"column(cunkuanleixing);size(4)"`

	//存款性质
	CunKuanXingZhi string `orm:"column(cunkuanxingzhi);size(255);null"`
	//客户并表标识
	KeHuBingBiaoFlag bool `orm:"column(kehubingbiao_flag);default(0);null"`
	//账户并表标识
	ZhangHuBingBiaoFlag bool `orm:"column(zhanghubingbiao_flag);default(0);null"`
	//执行利率,精度参考长亮
	ZhiXingLilv float64 `orm:"column(zhixinglilv);type(float64-decimal);decimals(6);digits(23);null"`
	//存款产品Id
	CunKuanChanPinId int64 `orm:"column(cunkuanchanpin);size(20);null"`
	//期限Id
	QiXian int64 `orm:"column(qixian);size(20);null"`
	//期限单位Id
	QiXianUnitId int64 `orm:"column(qixianunit_id);size(20);default(3)"`

	//银行集团账户标识(是否影子账户)
	YingHangJTZhangHUFlag bool `orm:"column(yinghangjtzhanghu_flag);default(0);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//============= 与账户标签有关开始 =============
	//基本保险标签
	JiBenBaoXianFlag bool `orm:"column(jibenbaoxian_flag);default(0);null"`
	//补充医保标签
	BuChongYiBaoFlag bool `orm:"column(buchongyibao_flag);default(0);null"`

	//年金标签
	NianJinFlag bool `orm:"column(nianjin_flag);default(0);null"`
	//补充公积金标签
	BuChongGongJiJinFlag bool `orm:"column(buchonggongjijin_flag);default(0);null"`
	//党团工会标签
	DangTuanGongHuiFlag bool `orm:"column(dangtuangonghui_flag);default(0);null"`
	//其他标签
	QiTaFlag bool `orm:"column(qita_flag);default(0);null"`

	//同业活期保证金存款标签 待核实报表是否需要
	TYHuoQiBaoZhengJinFlag bool `orm:"column(tyhuoqibaozhengjin_flag);default(0);null"`
	//同业定期保证金存款 待核实报表是否需要
	TYDingQiBaoZhengJinFlag bool `orm:"column(tydingqibaozhengjin_flag);default(0);null"`
	//对公活期保证金存款 待核实报表是否需要
	DGHuoQiBaoZhengJinFlag bool `orm:"column(dghuoqibaozhengjin_flag);default(0);null"`
	//对公定期保证金存款 待核实报表是否需要
	DGDingQiBaoZhengJinFlag bool `orm:"column(dgdingqibaozhengjin_flag);default(0);null"`
	// <restrictionType id="E_ZHHUZTAI" longname="账户状态" base="BaseType.U_LEIXIN01" tags="LT">
	// 	<enumeration id="ZC" value="A" longname="正常"/>
	// 	<enumeration id="XH" value="C" longname="销户"/>
	// 	<enumeration id="JX" value="D" longname="久悬户"/>
	// 	<enumeration id="YW" value="I" longname="转营业外收入"/>
	// 	<enumeration id="JE" value="F" longname="金额冻结"/>
	// 	<enumeration id="FB" value="E" longname="封闭冻结"/>
	// </restrictionType>
	//账户状态
	Zhhuztai string `orm:"column(zhhuztai);type(string);size(1);default(A)"  form:"Zhhuztai"  valid:"Required"`

	//============= 与标签有有关结束 =============
	// Status int `orm:"column(status);default(2)" form:"Status"`
	//-以下是存储控制标志-	-以下是存储控制标志-	<Undefined>			FALSE	FALSE	FALSE
	//生效日期	生效日期
	ShengXiaoDate string `orm:"unique;column(shengxiaodate);size(8);"`
	ShiXiaoDate   string `orm:"unique;column(shixiaodate);size(8);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DPSCkzhtz 存款账户台账

func GetDPSCkzhtzById

func GetDPSCkzhtzById(id int64) (v *DPSCkzhtz, err error)

GetDPSCkzhtzById retrieves DPSCkzhtz by Id. Returns error if Id doesn't exist

func (*DPSCkzhtz) TableName

func (t *DPSCkzhtz) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DPSCkzhzbx

type DPSCkzhzbx struct {
	Id int64 `orm:"column(id);pk;auto"`
	//客户号
	KeHuHaoo string `orm:"column(kehuhaoo);size(32);null"`
	//客户中文名称
	Kehuzhwm string `orm:"column(kehuzhwm);size(255);null"`

	//归属机构Id
	Guishjig string `orm:"column(guishjig_code);size(32);null"`
	//服务机构Id
	Chjianjg string `orm:"column(chjianjg_code);size(32);null"`

	//所属集团编码
	HostGroupCode int64 `orm:"column(hostgroup_code);size(3);null"`
	//客户类型编码
	KehuLeiXing string `orm:"column(kehuleixing);size(255);null"`
	//客户分类编码
	KehuFenLei string `orm:"column(kehufenlei);size(255);null"`
	//账户号
	ZhangHao string `orm:"column(zhanghao);size(64);null"`
	//账户名称
	Zhuzwmc string `orm:"column(zhhuzwmc);size(255);null"`
	//子账号(序号)
	Zhhaoxuh string `orm:"column(zhhaoxuh);size(32);null"`
	//开户机构Id
	KaiHuOrgId int64 `orm:"column(kaihu_org_id);size(20);null"`

	//开户日期
	Kaihriqi string `orm:"unique;column(kaihriqi);size(8);"`
	//销户日期
	Xiohriqi string `orm:"unique;column(xiohriqi);size(8);"`

	//存款类型_七种
	CunKuanLeiXing string `orm:"column(cunkuanleixing);size(4)"`

	//存款性质
	CunKuanXingZhi string `orm:"column(cunkuanxingzhi);size(255);null"`
	//客户并表标识
	KeHuBingBiaoFlag bool `orm:"column(kehubingbiao_flag);default(0);null"`
	//账户并表标识
	ZhangHuBingBiaoFlag bool `orm:"column(zhanghubingbiao_flag);default(0);null"`
	//执行利率,精度参考长亮
	ZhiXingLilv float64 `orm:"column(zhixinglilv);type(float64-decimal);decimals(6);digits(23);null"`
	//存款产品Id
	CunKuanChanPinId int64 `orm:"column(cunkuanchanpin);size(20);null"`
	//期限Id
	QiXian int64 `orm:"column(qixian);size(20);null"`
	//期限单位Id
	QiXianUnitId int64 `orm:"column(qixianunit_id);size(20);default(3)"`
	//累计计息,精度参考长亮
	LeiJiJiXi float64 `orm:"column(leijijixi);type(float64-decimal);decimals(7);digits(23);default(0)"`
	//时点余额
	ShiDianYE float64 `orm:"column(shidianye);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//本月平均
	BenYuePingJun float64 `orm:"column(benyuepingjun);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//累计平均
	LeiJiPingJun float64 `orm:"column(leijipingjun);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//银行集团账户标识(是否影子账户)
	YingHangJTZhangHUFlag bool `orm:"column(yinghangjtzhanghu_flag);default(0);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`
	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`
	//-以下是存储控制标志-	-以下是存储控制标志-	<Undefined>			FALSE	FALSE	FALSE
	//生效日期	生效日期
	ShengXiaoDate string `orm:"unique;column(shengxiaodate);size(8);"`
	ShiXiaoDate   string `orm:"unique;column(shixiaodate);size(8);"`
	//============= 与交易流水有关开始 =============
	//贷方发生额当日累计 客户存入Gopher的
	DaiFangFaShengE float64 `orm:"column(daifangfashenge);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//借方发生额当日累计 客户从Gopher提取
	JieFangFaShengE float64 `orm:"column(jiefangfashenge);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//============= 与账户标签有关开始 =============
	//基本保险标签
	JiBenBaoXianFlag bool `orm:"column(jibenbaoxian_flag);default(0);null"`
	//补充医保标签
	BuChongYiBaoFlag bool `orm:"column(buchongyibao_flag);default(0);null"`

	//年金标签
	NianJinFlag bool `orm:"column(nianjin_flag);default(0);null"`
	//补充公积金标签
	BuChongGongJiJinFlag bool `orm:"column(buchonggongjijin_flag);default(0);null"`
	//党团工会标签
	DangTuanGongHuiFlag bool `orm:"column(dangtuangonghui_flag);default(0);null"`
	//其他标签
	QiTaFlag bool `orm:"column(qita_flag);default(0);null"`

	//同业活期保证金存款标签 待核实报表是否需要
	TYHuoQiBaoZhengJinFlag bool `orm:"column(tyhuoqibaozhengjin_flag);default(0);null"`
	//同业定期保证金存款 待核实报表是否需要
	TYDingQiBaoZhengJinFlag bool `orm:"column(tydingqibaozhengjin_flag);default(0);null"`
	//对公活期保证金存款 待核实报表是否需要
	DGHuoQiBaoZhengJinFlag bool `orm:"column(dghuoqibaozhengjin_flag);default(0);null"`
	//对公定期保证金存款 待核实报表是否需要
	DGDingQiBaoZhengJinFlag bool `orm:"column(dgdingqibaozhengjin_flag);default(0);null"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DPSCkzhzbx 存款账户指标项

func GetDPSCkzhzbxById

func GetDPSCkzhzbxById(id int64) (v *DPSCkzhzbx, err error)

GetDPSCkzhzbxById retrieves DPSCkzhzbx by Id. Returns error if Id doesn't exist

func (*DPSCkzhzbx) TableName

func (t *DPSCkzhzbx) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DPSDetail

type DPSDetail struct {
	Id int64 `orm:"column(id);pk;auto"`

	//账户号
	ZhangHao string `orm:"column(zhanghao);size(64);null"`
	//账户名称
	Zhuzwmc string `orm:"column(zhhuzwmc);size(255);null"`
	//子账号(序号)
	Zhhaoxuh string `orm:"column(zhhaoxuh);size(32);null"`

	//借贷标志
	//0--借	借-余额减少贷-余额增加
	//1--贷	借-余额减少贷-余额增加
	Jiedaibz bool `orm:"column(jiedaibz);default(0);"`
	//交易币种
	Jiaoybiz string `orm:"column(jiaoybiz);type(string);size(2);default(01)"  form:"jiaoybiz"  valid:"Required"`

	//JIAOYIJE 交易金额
	Jiaoyije float64 `orm:"column(jiaoyije);type(float64-decimal);decimals(2);digits(16);null"`
	//ZHANGHYE 账户余额
	Zhanghye float64 `orm:"column(zhanghye);type(float64-decimal);decimals(2);digits(23);null"`

	//累计利息
	Interest float64 `orm:"column(interest);type(float64-decimal);decimals(2);digits(23);null"`

	//QDAOLEIX 交易渠道
	Qdaoleix string `orm:"column(qdaoleix);type(string);size(3);"  form:"QDAOLEIX"  valid:"Required"`

	//交易日期
	Jiaoyirq string `orm:"column(jiaoyirq);size(8);"`
	//主机日期
	Zhujriqi string `orm:"column(zhujriqi);size(8);"`

	Chongzbz string `orm:"column(chongzbz);default(0);size(1);null"`
	Bchongbz string `orm:"column(bchongbz);default(0);size(1);null"`
	//CUOZRIQI	错账原日期	varchar2(8)	Y
	Cuozriqi string `orm:"unique;column(cuozriqi);size(8);"`
	//CUOZLIUS	错账原柜员流水号	varchar2(32)	Y
	Cuozlius string `orm:"column(cuozlius);size(64);null"`

	//============= 与标签有有关结束 =============
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DPSDetail 存款账户日终表

func GetDPSDetailById

func GetDPSDetailById(id int64) (v *DPSDetail, err error)

GetDPSDetailById retrieves DPSDetail by Id. Returns error if Id doesn't exist

func (*DPSDetail) TableName

func (t *DPSDetail) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DPSOrgzbx

type DPSOrgzbx struct {
	Id int64 `orm:"column(id);pk;auto"`

	//归属机构
	Guishjig string `orm:"column(guishjig_code);size(32);null"`
	//服务机构
	Chjianjg string `orm:"column(chjianjg_code);size(32);null"`

	//开户日期
	Kaihriqi string `orm:"column(kaihriqi);size(8);"`
	//销户日期
	Xiohriqi string `orm:"column(xiohriqi);size(8);"`

	//存款类型_七种
	CunKuanLeiXing string `orm:"column(cunkuanleixing);size(4)"`

	//存款性质
	CunKuanXingZhi string `orm:"column(cunkuanxingzhi);size(255);null"`

	//客户并表标识
	KeHuBingBiaoFlag bool `orm:"column(kehubingbiao_flag);default(0);null"`
	//账户并表标识
	ZhangHuBingBiaoFlag bool `orm:"column(zhanghubingbiao_flag);default(0);null"`
	//存款产品Id
	CunKuanChanPinId int64 `orm:"column(cunkuanchanpin);size(20);null"`
	//期限
	QiXian int64 `orm:"column(qixian);size(20);null"`
	//期限单位Id
	QiXianUnitId int64 `orm:"column(qixianunit_id);size(20);default(3)"`
	//时点余额
	ShiDianYE float64 `orm:"column(shidianye);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//币种编码
	Huobdaih string `orm:"column(huobdhao);type(string);size(2);default(01)"  form:"Huobdaih"  valid:"Required"`

	// BizdateId
	Bizdate string `orm:"column(bizdate);size(8)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DPSOrgzbx 存款账户指标项

func GetDPSOrgzbxById

func GetDPSOrgzbxById(id int64) (v *DPSOrgzbx, err error)

GetDPSOrgzbxById retrieves DPSOrgzbx by Id. Returns error if Id doesn't exist

func (*DPSOrgzbx) TableName

func (t *DPSOrgzbx) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DPSzhminx

type DPSzhminx struct {
	Id int64 `orm:"column(id);pk;auto"`
	//客户号
	KeHuHaoo string `orm:"column(kehuhaoo);size(32);null"`
	//客户中文名称
	Kehuzhwm string `orm:"column(kehuzhwm);size(255);null"`
	//归属机构Id
	Guishjig string `orm:"column(guishjig_code);size(32);null"`
	//服务机构Id
	Chjianjg string `orm:"column(chjianjg_code);size(32);null"`
	//所属集团编码
	//长亮: E_SUOSHJT2 所属集团2
	HostGroupCode string `orm:"column(hostgroup_code);size(3);null"`
	//客户类型编码 E_KEHULEIX
	KehuLeiXing string `orm:"column(kehuleixing);size(255);null"`
	//客户分类编码
	KehuFenLei string `orm:"column(kehufenlei);size(255);null"`
	//账户号
	ZhangHao string `orm:"column(zhanghao);size(64);null"`
	//账户名称
	Zhuzwmc string `orm:"column(zhhuzwmc);size(255);null"`
	//子账号(序号)
	Zhhaoxuh string `orm:"column(zhhaoxuh);size(32);null"`
	//开户机构Id
	KaiHuOrgcode string `orm:"column(kaihuorg_code);size(32);null"`

	//开户日期
	Kaihriqi string `orm:"unique;column(kaihriqi);size(8);"`
	//销户日期
	Xiohriqi string `orm:"unique;column(xiohriqi);size(8);"`

	//存款类型_七种
	CunKuanLeiXing string `orm:"column(cunkuanleixing);size(4)"`

	//存款性质
	CunKuanXingZhi string `orm:"column(cunkuanxingzhi);size(255);null"`
	//客户并表标识
	KeHuBingBiaoFlag bool `orm:"column(kehubingbiao_flag);default(0);null"`
	//账户并表标识
	ZhangHuBingBiaoFlag bool `orm:"column(zhanghubingbiao_flag);default(0);null"`
	//执行利率,精度参考长亮
	ZhiXingLilv float64 `orm:"column(zhixinglilv);type(float64-decimal);decimals(6);digits(23);null"`
	//存款产品Id
	CunKuanChanPinId int64 `orm:"column(cunkuanchanpin);size(20);null"`
	//期限Id
	QiXian int64 `orm:"column(qixian);size(20);null"`
	//期限单位Id
	QiXianUnitId int64 `orm:"column(qixianunit_id);size(20);default(3)"`

	//银行集团账户标识(是否影子账户)
	YingHangJTZhangHUFlag bool `orm:"column(yinghangjtzhanghu_flag);default(0);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//============= 与账户标签有关开始 =============
	//基本保险标签
	JiBenBaoXianFlag bool `orm:"column(jibenbaoxian_flag);default(0);null"`
	//补充医保标签
	BuChongYiBaoFlag bool `orm:"column(buchongyibao_flag);default(0);null"`

	//年金标签
	NianJinFlag bool `orm:"column(nianjin_flag);default(0);null"`
	//补充公积金标签
	BuChongGongJiJinFlag bool `orm:"column(buchonggongjijin_flag);default(0);null"`
	//党团工会标签
	DangTuanGongHuiFlag bool `orm:"column(dangtuangonghui_flag);default(0);null"`
	//其他标签
	QiTaFlag bool `orm:"column(qita_flag);default(0);null"`

	//同业活期保证金存款标签 待核实报表是否需要
	TYHuoQiBaoZhengJinFlag bool `orm:"column(tyhuoqibaozhengjin_flag);default(0);null"`
	//同业定期保证金存款 待核实报表是否需要
	TYDingQiBaoZhengJinFlag bool `orm:"column(tydingqibaozhengjin_flag);default(0);null"`
	//对公活期保证金存款 待核实报表是否需要
	DGHuoQiBaoZhengJinFlag bool `orm:"column(dghuoqibaozhengjin_flag);default(0);null"`
	//对公定期保证金存款 待核实报表是否需要
	DGDingQiBaoZhengJinFlag bool `orm:"column(dgdingqibaozhengjin_flag);default(0);null"`
	// <restrictionType id="E_ZHHUZTAI" longname="账户状态" base="BaseType.U_LEIXIN01" tags="LT">
	// 	<enumeration id="ZC" value="A" longname="正常"/>
	// 	<enumeration id="XH" value="C" longname="销户"/>
	// 	<enumeration id="JX" value="D" longname="久悬户"/>
	// 	<enumeration id="YW" value="I" longname="转营业外收入"/>
	// 	<enumeration id="JE" value="F" longname="金额冻结"/>
	// 	<enumeration id="FB" value="E" longname="封闭冻结"/>
	// </restrictionType>
	//账户状态
	Zhhuztai string `orm:"column(zhhuztai);type(string);size(1);default(A)"  form:"Zhhuztai"  valid:"Required"`

	//============= 与标签有有关结束 =============
	// Status int `orm:"column(status);default(2)" form:"Status"`
	//-以下是存储控制标志-	-以下是存储控制标志-	<Undefined>			FALSE	FALSE	FALSE
	//生效日期	生效日期
	ShengXiaoDate string `orm:"unique;column(shengxiaodate);size(8);"`
	ShiXiaoDate   string `orm:"unique;column(shixiaodate);size(8);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

构造字段 DPSzhminx 账户明细 @todo 待核实

func GetDPSzhminxById

func GetDPSzhminxById(id int64) (v *DPSzhminx, err error)

GetDPSzhminxById retrieves DPSzhminx by Id. Returns error if Id doesn't exist

func (*DPSzhminx) TableName

func (t *DPSzhminx) TableName() string

TableName 缺省方法,返回对应的数据库表名

type DianPiaoDetails

type DianPiaoDetails struct {
	Id           int64  `orm:"column(id);auto;pk"`
	DianPiaoCode string `orm:"column(dianpiao_code);size(32);unique" form:"dianpiao_code" valid:"Required"`
	Orgcode      string `orm:"column(org_code);size(32);null"`

	DebitOrCredit string `orm:"column(debit_or_credit);size(4)" form:"debit_or_credit"  valid:"Required"`
	//产品类型
	ProductType *DianPiaoProductType `orm:"column(producttype);rel(fk)"`
	//余额和利息
	Balance  float64 `orm:"column(Balance);type(float64-decimal);decimals(2);digits(23);default(0)"`
	Interest float64 `orm:"column(Interest);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//计划内
	InsidePlanFlag bool `orm:"column(InsidePlanFlag);default(0)""`

	//生效日期、失效日期
	StartAt string `orm:"column(start_at);size(8)"`
	OverAt  string `orm:"column(over_at);size(8)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DianPiaoDetails 电票交易明细

func GetDianPiaoDetailsById

func GetDianPiaoDetailsById(nid int64) (DianPiaoDetails, error)

func (*DianPiaoDetails) TableName

func (n *DianPiaoDetails) TableName() string

type DianPiaoProductType

type DianPiaoProductType struct {
	Id              int64  `orm:"column(id);auto;pk"`
	ProductTypeCode string `orm:"column(producttype_code);unique;size(2)" form:"ProductTypeCode" valid:"Required"`
	Description     string `orm:"column(description);size(255)" form:"Description"  valid:"Required"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DianPiaoProductType 电票产品类型

func GetDianPiaoProductTypeById

func GetDianPiaoProductTypeById(nid int64) (DianPiaoProductType, error)

func (*DianPiaoProductType) TableName

func (n *DianPiaoProductType) TableName() string

type DocBaseurl

type DocBaseurl struct {
	Id int64 `orm:"column(id);pk;auto"`
	//业务日期
	DocnameId int64 `orm:"column(docname_id);size(20)"`
	//@todo TODO 待处理 DONE 处理完成
	Baseurl string `orm:"column(baseurl);size(255);" form:"Baseurl"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

业务日期表

func GetDocBaseurlById

func GetDocBaseurlById(nid int64) (DocBaseurl, error)

func (*DocBaseurl) TableName

func (n *DocBaseurl) TableName() string

type DocDBConnection

type DocDBConnection struct {
	Id      int64     `orm:"column(id);pk;auto"`
	StartAt time.Time `orm:"column(start_at);type(datetime)"`
	Used    bool      `orm:"column(used);"`

	DataSourceName string `orm:"column(datasource_name);unique;size(255)"`

	SpringDataSourceURL string `orm:"column(url);size(255);valid(required)"`

	SpringDataSourceUsername                  string `orm:"column(username);size(255);valid(required)"`
	SpringDataSourcePassword                  string `orm:"column(password);size(255);valid(required)"`
	SpringDataSourceDriverClassName           string `orm:"column(driver_class_name);size(255);valid(required)"`
	SpringDataSourceSchema                    string `orm:"column(schema);size(255);valid(required)"`
	SpringDataSourceMaxWait                   uint64 `orm:"column(max_wait);size(20)"`
	SpringDataSourceMaxActive                 uint64 `orm:"column(max_active);range(0,10000)"`
	SpringDataSourcePoolName                  string `orm:"column(pool_name);size(255);default(hikariCP)"`
	SpringDataSourceMaximumPoolSize           uint64 `orm:"column(pool_size);range(0,10000)"`
	SpringDataSourceMinimumIdle               uint64 `orm:"column(minimum_idle);range(0,10000)"`
	SpringDataSourceConnectionTimeout         uint64 `orm:"column(connection_timeout)"`
	SpringDataSourceIdleTimeout               uint64 `orm:"column(idle_timeout)"`
	SpringDataSourcePoolPreparedStatements    bool   `orm:"column(pool_prepared_statements)"`
	SpringDataSourceMaxOpenPreparedStatements uint64 `orm:"column(max_open_prepared_statements)"`
	//管控部分
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DocDBConnection 系统变量表 Label 在页面显示中的标签,或中文描述 Creator 创建者

func GetDocDBConnectionById

func GetDocDBConnectionById(id int64) (v *DocDBConnection, err error)

GetDocDBConnectionById retrieves DocDBConnection by Id. Returns error if Id doesn't exist

func (*DocDBConnection) TableName

func (t *DocDBConnection) TableName() string

type DocDataorg

type DocDataorg struct {
	Id          int64  `orm:"column(id);pk;auto"`
	Orgname     string `orm:"column(orgname);size(255)"`
	FullOrgname string `orm:"column(full_orgname);unique;size(255)"`
	Orgcode     string `orm:"column(orgcode);unique;size(6);null"`
	StdOrgcode  string `orm:"column(stdorgcode);unique;size(6);null"`

	ParentId    int64 `orm:"column(parent_id);size(20);null"`
	StdParentId int64 `orm:"column(std_parent_id);size(20);null"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DocDataorg 数据权限组织树

暂时没有使用
一般情况下与组织机构树相同,当然也可以不同
一个用户可以与数据权限组织树上的多个组织对应,但是多个组织不可以有交叉

func GetDocDataorgById

func GetDocDataorgById(id int64) (v *DocDataorg, err error)

GetDocDataorgById retrieves DocDataorg by Id. Returns error if Id doesn't exist

func (*DocDataorg) TableName

func (t *DocDataorg) TableName() string

type DocGroup

type DocGroup struct {
	Id          int64  `orm:"column(id);auto;pk"`
	Groupname   string `orm:"column(groupname);unique;size(255)"`
	Description string `orm:"column(description);size(255)"`

	UserList []*User `orm:"rel(m2m)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

func GetDocGroupById

func GetDocGroupById(id int64) (v *DocGroup, err error)

GetDocGroupById retrieves DocGroup by Id. Returns error if Id doesn't exist

func (*DocGroup) TableName

func (t *DocGroup) TableName() string

type DocList

type DocList []*DocNode

func (DocList) Len

func (s DocList) Len() int

func (DocList) Less

func (s DocList) Less(i, j int) bool

func (DocList) Swap

func (s DocList) Swap(i, j int)

type DocLog

type DocLog struct {
	Id int64 `orm:"column(id);pk;auto"`

	Eventid    string `orm:"column(eventid);size(255)"`
	SubEventid string `orm:"column(sub_eventid);size(255)"`
	Message    string `orm:"column(message);size(255)"`

	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
}

func GetDocLogById

func GetDocLogById(id int64) (v *DocLog, err error)

GetDocLogById retrieves DocLog by Id. Returns error if Id doesn't exist

func (*DocLog) TableName

func (t *DocLog) TableName() string

type DocNode

type DocNode struct {
	IsDir       bool
	Path        string
	RelPath     string
	FileRelPath string
	FilePath    string
	Date        time.Time
	Name        string
	Sort        int
	Link        string
	Docs        DocList

	Root   *DocRoot
	Parent *DocNode
	// contains filtered or unexported fields
}

func (*DocNode) GetContent

func (d *DocNode) GetContent() string

func (*DocNode) HasContent

func (d *DocNode) HasContent() bool

func (*DocNode) SortDocs

func (d *DocNode) SortDocs()

type DocOrg

type DocOrg struct {
	Id          int64  `orm:"column(id);pk;auto"`
	Orgname     string `orm:"column(orgname);size(255)"`
	FullOrgname string `orm:"column(full_orgname);unique;size(255)"`

	Orgcode    string `orm:"column(orgcode);unique;size(6);null"`
	StdOrgcode string `orm:"column(stdorgcode);unique;size(6);null"`

	//
	ParentId    int64 `orm:"column(parent_id);size(20);null"`
	StdParentId int64 `orm:"column(std_parent_id);size(20);null"`

	// 设置一对多的反向关系
	UserList []*User `orm:"reverse(many)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DocOrg 基础组织机构树 来自核心系统

Orgcode 错格式的编码格式 StdOrgcode Gopher规定的组织机构编码

func GetDocOrgById

func GetDocOrgById(id int64) (v *DocOrg, err error)

GetDocOrgById retrieves DocOrg by Id. Returns error if Id doesn't exist

func (*DocOrg) TableName

func (t *DocOrg) TableName() string

type DocPasswdRule

type DocPasswdRule struct {
	Id          int64  `orm:"column(id);pk;auto"`
	RuleName    string `orm:"column(rule_name);size(255)"`
	RuleDesc    string `orm:"column(rule_desc);size(255)"`
	RuleType    string `orm:"column(rule_type);size(255)"`
	RuleContent string `orm:"column(rule_content);size(255)"`

	DocPasswdRuleSuite *DocPasswdRuleSuite `orm:"rel(fk)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DocPasswdRule 密码规则表 RuleType候选类型

RT_INT
RT_STRING

func GetDocPasswdRuleById

func GetDocPasswdRuleById(nid int64) (DocPasswdRule, error)

func (*DocPasswdRule) TableName

func (n *DocPasswdRule) TableName() string

type DocPasswdRuleSuite

type DocPasswdRuleSuite struct {
	Id        int64  `orm:"column(id);pk;auto"`
	SuiteName string `orm:"column(rule_name);size(255)"`
	//开始时间、结束时间
	StartAt time.Time `orm:"column(start_at);type(datetime);null"`
	OverAt  time.Time `orm:"column(over_at);type(datetime);null"`

	Current bool `orm:"default(0);null;column(current)" form:"Current"`

	DocPasswdRuleList []*DocPasswdRule `orm:"reverse(many)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DocPasswdRuleSuiteCmd ETL命令表

func GetDocPasswdRuleSuiteById

func GetDocPasswdRuleSuiteById(nid int64) (DocPasswdRuleSuite, error)

func (*DocPasswdRuleSuite) TableName

func (n *DocPasswdRuleSuite) TableName() string

type DocRoot

type DocRoot struct {
	Wd   string
	Path string
	Doc  *DocNode
	// contains filtered or unexported fields
}

func GetDocByLocale

func GetDocByLocale(lang string) *DocRoot

GetDocByLocale 返回文档清单

func ParseDocs

func ParseDocs(path string) (*DocRoot, error)
func (d *DocRoot) GetNodeByLink(link string) (*DocNode, bool)

type DocSysvalue

type DocSysvalue struct {
	Id int64 `orm:"column(id);pk;auto"`

	Kvgroup string `orm:"column(kvgroup);size(255)"`
	Key     string `orm:"column(key);size(255)"`

	Value      string `orm:"column(value);size(255)"`
	SortFactor uint64 `orm:"column(sort_factor);size(20);default(0)"`
	//中文描述
	Label string `orm:"column(label);size(255)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

DocSysvalue 系统变量表 Label 在页面显示中的标签,或中文描述 Creator 创建者

func GetDocSysvalueById

func GetDocSysvalueById(id int64) (v *DocSysvalue, err error)

GetDocSysvalueById retrieves DocSysvalue by Id. Returns error if Id doesn't exist

func (*DocSysvalue) TableName

func (t *DocSysvalue) TableName() string

TableName 缺省方法,返回对应的数据库表名

type Docaccess

type Docaccess struct {
	Id      int64    `orm:"column(id);pk;auto"`
	Docname *Docname `orm:"column(docname_id);rel(fk)"`

	//注意授权时,遵循开闭原则,时间部分设置为零点
	StartAt time.Time `orm:"column(start_at);type(datetime);null"`
	OverAt  time.Time `orm:"column(over_at);type(datetime);null"`

	DocAccessType string `orm:"column(doc_access_type);default(U);type(enum)"	form:"DocAccessType"	valid:"Required"`
	// CreateAt      time.Time   `orm:"column(create_at);type(datetime)"`
	// Creator       string      `orm:"column(creator);size(255)"`
	UserList     []*User     `orm:"rel(m2m)"`
	DocGroupList []*DocGroup `orm:"rel(m2m)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

节点表

func GetDocaccessById

func GetDocaccessById(nid int64) (Docaccess, error)

func (*Docaccess) TableName

func (n *Docaccess) TableName() string

type Docname

type Docname struct {
	Id          int64  `orm:"column(id);auto;pk"`
	Docname     string `orm:"size(255)" form:"Docname"  valid:"Required"`
	Description string `orm:"size(255)" form:"Description"  valid:"Required"`
	Folder      string `orm:"size(255)" form:"Folder"  valid:"Required"`
	Cabinet     string `orm:"size(255)" form:"Cabinet"  valid:"Required"`
	Paramdesc   string `orm:"column(paramdesc);size(255);default()" form:"Paramdesc"`

	FileType string `orm:"default(HTML)" form:"FileType"  valid:"Required"`

	ETLTaskDescId int64 `orm:"column(etltaskdesc_id);size(20)"; rel(fk)`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

节点表

func GetDocnameById

func GetDocnameById(nid int64) (Docname, error)

func (*Docname) TableName

func (n *Docname) TableName() string

type Downloadtrac

type Downloadtrac struct {
	Id int64 `orm:"column(id);pk;auto"`
	// UpdateAt    time.Time `orm:"column(update_at);type(datetime);null"`
	// Updater     string    `orm:"column(updater);size(32);null"`
	// Message     string    `orm:"column(message);size(255);null"`
	// CreateAt    time.Time `orm:"column(create_at);type(datetime);null"`
	Srcserver   string `orm:"column(srcserver);size(255);null"`
	Srcfilename string `orm:"column(srcfilename);size(255);null"`
	Dstfilename string `orm:"column(dstfilename);size(255);null"`
	Filesize    uint64 `orm:"column(filesize);size(20)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
	User     *User     `orm:"rel(fk)"`
}

func GetDownloadtracById

func GetDownloadtracById(id int64) (v *Downloadtrac, err error)

GetDownloadtracById retrieves Downloadtrac by Id. Returns error if Id doesn't exist

func (*Downloadtrac) TableName

func (t *Downloadtrac) TableName() string

type ExportFileTrac

type ExportFileTrac struct {
	Id             int64    `orm:"column(id);pk;auto"`
	Docname        *Docname `orm:"column(docname_id);rel(fk)"`
	ExportFileType string   `orm:"column(export_filetype);size(3)"`
	ExportFileName string   `orm:"column(export_filename);unique;size(255)"`

	ExportStartAt time.Time `orm:"column(export_start_at);type(datetime);null"`
	ExportOverAt  time.Time `orm:"column(export_over_at);type(datetime);null"`
	TransferAt    time.Time `orm:"column(transfer_at);type(datetime);null"`
	State         string    `orm:"column(state);size(4)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

ExportFileTrac跟踪导出状态

如果不记录导出开始时间、导出结束时间的,那么可以统一设置为请求下载时间

func GetExportFileTracById

func GetExportFileTracById(id int64) (v *ExportFileTrac, err error)

GetExportFileTracById retrieves ExportFileTrac by Id. Returns error if Id doesn't exist

func (*ExportFileTrac) TableName

func (t *ExportFileTrac) TableName() string

type FBusCTCTM

type FBusCTCTM struct {
	Id int64 `orm:"column(id);auto;pk"`

	SellerId string `orm:"column(seller_id);size(32);unique" form:"SellerId" valid:"Required"`
	//@TODO 待核实
	ProductId  float64 `orm:"column(product_id);type(float64-decimal);default(0)"`
	Contractno string  `orm:"column(contractno);size(30);"`

	Startdate time.Time `orm:"column(start_date);type(datetime);"`
	Enddate   time.Time `orm:"column(end_date);type(datetime);"`

	Contractccy string  `orm:"column(contractccy);size(32);"`
	Contractamt float64 `orm:"column(contractamt);type(float64-decimal);decimals(8);digits(39);default(0)"`

	Inactflag       string    `orm:"column(inactflag);size(1);"`
	Inactdate       time.Time `orm:"column(inactdate);type(datetime);"`
	CycleFlag       string    `orm:"column(cycleflag);size(1);"`
	ShareFlag       string    `orm:"column(shareflag);size(1);"`
	RebchId         string    `orm:"column(rebchid);size(32);"`
	Custmoermgr     string    `orm:"column(custmoermgr);size(30);"`
	InterincomeFlag string    `orm:"column(interincomeflag);size(1);"`
	IntercloseFlag  string    `orm:"column(intercloseflag);size(1);"`
	InterpayFlag    string    `orm:"column(interpayflag);size(1);"`
	RateFlag        string    `orm:"column(rateflag);size(10);"`
	InterrateFlag   string    `orm:"column(interrateflag);size(1);"`
	//@TODO 待核实
	InterratetimezoneFlag float64 `orm:"column(interratetimezoneflag);type(float64-decimal);decimals(8);digits(39);default(0)"`
	DayormonthFlag        string  `orm:"column(dayormonthflag);size(1);"`
	DayormonthValue       float64 `orm:"column(dayormonthvalue);type(float64-decimal);default(0)"`
	InterestRate          float64 `orm:"column(interestrate);type(float64-decimal);decimals(8);digits(39);default(0)"`
	LockFlag              string  `orm:"column(lockflag);size(1);"`
	JjmFlag               string  `orm:"column(jjmflag);size(1);"`
	JjmmodFlag            string  `orm:"column(jjmmodflag);size(1);"`
	JjmRate               float64 `orm:"column(jjmrate);type(float64-decimal);decimals(8);digits(39);default(0)"`
	ExpiredFlag           string  `orm:"column(expiredflag);size(1);"`
	ExpiredRate           float64 `orm:"column(expiredrate);type(float64-decimal);decimals(8);digits(39);default(0)"`
	FeeaccFlag            string  `orm:"column(feeaccflag);size(1);"`
	FeepaidFlag           string  `orm:"column(feepaidflag);size(1);"`
	FeeclFlag             string  `orm:"column(feeclflag);size(1);"`
	FeeamtFlag            string  `orm:"column(feeamtflag);size(1);"`
	//@TODO 待核实
	OpState float64 `orm:"column(opstate);type(float64-decimal);default(0)"`
	//@TODO 待核实
	WorkItemId float64 `orm:"column(workitemid);type(float64-decimal);default(0)"`

	State float64 `orm:"column(state);type(float64-decimal);default(0)"`
	Zyqx  float64 `orm:"column(zyqx);type(float64-decimal);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

FBusCTCTM 国内保理-合同表

func GetFBusCTCTMById

func GetFBusCTCTMById(nid int64) (FBusCTCTM, error)

func (*FBusCTCTM) TableName

func (n *FBusCTCTM) TableName() string

type FBusSubCM

type FBusSubCM struct {
	Id int64 `orm:"column(id);auto;pk"`

	Contractid  float64   `orm:"type(float64-decimal);default(0)"`
	Sellerid    string    `orm:"size(32)"`
	Buyerid     string    `orm:"size(32)"`
	Subctype    string    `orm:"size(1)"`
	Cofactor    string    `orm:"size(32)"`
	Insurance   string    `orm:"size(32)"`
	Thirdpart   string    `orm:"size(32)"`
	Zkstartdate time.Time `orm:"type(datetime);null"`

	Dbfktimezone    float64 `orm:"type(float64-decimal);default(0)"`
	Loanpcnt        float64 `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Coverpcnt       float64 `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Ifcoverpcnt     float64 `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Loankxq         float64 `orm:"type(float64-decimal);default(0)"`
	Transferway     string  `orm:"size(1)"`
	Interincomeflag string  `orm:"size(1)"`
	Intercloseflag  string  `orm:"size(1)"`
	Interpayflag    string  `orm:"size(1)"`
	Cycleflag       string  `orm:"size(1)"`
	Feflag          string  `orm:"size(10)"`

	Inactflag   string    `orm:"size(1)"`
	Inactdate   time.Time `orm:"type(datetime);null"`
	Clstartdate time.Time `orm:"type(datetime);null"`
	Clenddate   time.Time `orm:"type(datetime);null"`
	Opstate     float64   `orm:"type(float64-decimal);default(0)"`
	WorkItemId  float64   `orm:"type(float64-decimal);default(0)"`
	State       float64   `orm:"type(float64-decimal);default(0)"`
	Dbprototal  float64   `orm:"column(dbprototal);type(float64-decimal);decimals(8);digits(39);default(0)"`
	Sellernr    string    `orm:"size(35)"`
	Buyernr     string    `orm:"size(35)"`

	//@TODO: 业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
	// contains filtered or unexported fields
}

FBusSubCM 国内保理-关联合同表

func GetFBusSubCMById

func GetFBusSubCMById(nid int64) (FBusSubCM, error)

func (*FBusSubCM) TableName

func (n *FBusSubCM) TableName() string

type FUDXiaShuQiYeCKYE

type FUDXiaShuQiYeCKYE struct {
	Id int64 `orm:"column(id);pk;auto"`

	OrgId string `orm:"column(org_code);size(32);"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//国网并表企业存款余额
	Gwbbqyckye float64 `orm:"column(gwbbqyckye);type(float64-decimal);decimals(2);digits(23);default(0)"`
	//国网并表企业存款余额
	Gwfbbqyckye float64 `orm:"column(gwfbbqyckye);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

FUDXiaShuQiYeCKYE base_信贷资产余额表

func GetFUDXiaShuQiYeCKYEById

func GetFUDXiaShuQiYeCKYEById(id int64) (v *FUDXiaShuQiYeCKYE, err error)

GetFUDXiaShuQiYeCKYEById retrieves FUDXiaShuQiYeCKYE by Id. Returns error if Id doesn't exist

func (*FUDXiaShuQiYeCKYE) TableName

func (t *FUDXiaShuQiYeCKYE) TableName() string

type FUDXinDaiZiChanYE

type FUDXinDaiZiChanYE struct {
	Id int64 `orm:"column(id);pk;auto"`

	Orgcode string `orm:"column(org_code);size(32);null"`
	//货币代号
	Huobdaih string `orm:"column(huobdaih);type(string);size(2);default(01)"`

	//信贷资产余额
	XinDaiZiChanYE float64 `orm:"column(xindaizichanye);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

FUDXinDaiZiChanYE base_信贷资产余额表

func GetFUDXinDaiZiChanYEById

func GetFUDXinDaiZiChanYEById(id int64) (v *FUDXinDaiZiChanYE, err error)

GetFUDXinDaiZiChanYEById retrieves FUDXinDaiZiChanYE by Id. Returns error if Id doesn't exist

func (*FUDXinDaiZiChanYE) TableName

func (t *FUDXinDaiZiChanYE) TableName() string

type FefpCTCTM

type FefpCTCTM struct {
	Id                    int64     `orm:"column(id);auto;pk"`
	SellerId              string    `orm:"size(60);"`
	ProductId             float64   `orm:"type(float64-decimal);default(0)"`
	Contractno            string    `orm:"size(30);"`
	Startdate             string    `orm:"column(startdate);size(8)"`
	Enddate               string    `orm:"column(enddate);size(8)"`
	Contractccy           string    `orm:"size(2);"`
	Contractamt           float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	InactFlag             string    `orm:"size(255);"`
	Inactdate             string    `orm:"column(inactdate);size(8)"`
	CycleFlag             string    `orm:"size(255);"`
	ShareFlag             string    `orm:"size(255);"`
	RebchId               float64   `orm:"type(float64-decimal);default(0)"`
	Custmoermgr           string    `orm:"size(30);"`
	InterincomeFlag       string    `orm:"size(255);"`
	IntercloseFlag        string    `orm:"size(255);"`
	InterpayFlag          string    `orm:"size(255);"`
	InterrateFlag         string    `orm:"size(255);"`
	InterratetimezoneFlag float64   `orm:"type(float64-decimal);default(0)"`
	DayormonthFlag        string    `orm:"size(255);"`
	Dayormonthvalue       float64   `orm:"type(float64-decimal);default(0)"`
	Interestrate          float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	LockFlag              string    `orm:"size(255);"`
	JjmFlag               string    `orm:"size(255);"`
	JjmmodFlag            string    `orm:"size(255);"`
	Jjmrate               float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	ExpiredFlag           string    `orm:"size(255);"`
	Expiredrate           float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	FeeaccFlag            string    `orm:"size(255);"`
	FeepaidFlag           string    `orm:"size(255);"`
	FeeclFlag             string    `orm:"size(255);"`
	FeeamtFlag            string    `orm:"size(255);"`
	Opstate               float64   `orm:"type(float64-decimal);default(0)"`
	WorkItemId            float64   `orm:"type(float64-decimal);default(0)"`
	State                 float64   `orm:"type(float64-decimal);default(0)"`
	Zyqx                  float64   `orm:"type(float64-decimal);default(0)"`
	FpoolproductId        float64   `orm:"type(float64-decimal);default(0)"`
	Lastmoduser           string    `orm:"size(50);"`
	Lastmoddate           string    `orm:"column(lastmoddate);size(8)"`
	Txno                  string    `orm:"size(50);"`
	Creatdate             time.Time `orm:"type(datetime);null"`
	AccountId             string    `orm:"size(50);"`
	Sellername            string    `orm:"size(60);"`
	Fpoolaccountamt       float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

FefpCTCTM 池融资

func GetFefpCTCTMById

func GetFefpCTCTMById(nId int64) (FefpCTCTM, error)

func (*FefpCTCTM) TableName

func (n *FefpCTCTM) TableName() string

type FefpLoadM

type FefpLoadM struct {
	Id                        int64     `orm:"column(id);auto;pk"`
	Loancode                  string    `orm:"size(20);"`
	Loanccy                   float64   `orm:"type(float64-decimal);default(0)"`
	Loanamount                float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Loanterm                  float64   `orm:"type(float64-decimal);default(0)"`
	Loangrace                 float64   `orm:"type(float64-decimal);default(0)"`
	Loandate                  time.Time `orm:"type(datetime);"`
	Loanduedate               time.Time `orm:"type(datetime);"`
	Loanaccount               string    `orm:"size(30);"`
	Settingaccount            string    `orm:"size(30);"`
	Loanflag                  string    `orm:"size(255);"`
	Accountccy                float64   `orm:"type(float64-decimal);default(0)"`
	Exchangerate              float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Subcontractid             float64   `orm:"type(float64-decimal);default(0)"`
	Incomeway                 string    `orm:"size(255);"`
	Settingway                string    `orm:"size(255);"`
	Ratetype                  string    `orm:"size(255);"`
	Fixrate                   float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Rateid                    float64   `orm:"type(float64-decimal);default(0)"`
	Floatcycleunit            string    `orm:"size(255);"`
	Floatcycle                float64   `orm:"type(float64-decimal);default(0)"`
	Addsubway                 string    `orm:"size(255);"`
	Addsubvalue               float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Lockingflag               string    `orm:"size(255);"`
	Batchid                   float64   `orm:"type(float64-decimal);default(0)"`
	Transtype                 float64   `orm:"type(float64-decimal);default(0)"`
	Transitemid               float64   `orm:"type(float64-decimal);default(0)"`
	Extendflag                string    `orm:"size(255);"`
	Extendterm                float64   `orm:"type(float64-decimal);default(0)"`
	Loanbalance               float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Receivableinterest        float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Receivedinterest          float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Accruedinterest           float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Currentinterest           float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Lastinterestset           float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Currentinterestset        float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Currentamortizedinterest  float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Currentaccruedinterest    float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Overdueamount             float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Overduepayamount          float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Overdueinterest           float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Currenttransoverdueamount float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Currentoverdueinterest    float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Lessbalance               float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Currentlessamount         float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Lastbearingondate         float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	State                     float64   `orm:"type(float64-decimal);default(0)"`
	Opstate                   float64   `orm:"type(float64-decimal);default(0)"`
	WorkItemId                float64   `orm:"type(float64-decimal);default(0)"`
	Addsubtype                string    `orm:"size(255);"`
	Endflag                   string    `orm:"size(255);"`
	Txno                      float64   `orm:"type(float64-decimal);default(0)"`
	T_payamount               float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	T_payreceivable           float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	T_payaccrued              float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	T_paycurrent              float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Loanscale                 float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Lastfixdate               time.Time `orm:"type(datetime);"`
	Sellerrefcode             string    `orm:"size(60);"`
	Loantype                  string    `orm:"size(255);"`
	Lastmoduser               string    `orm:"size(50);"`
	Lastmoddate               time.Time `orm:"type(datetime);"`
	Paiditem                  string    `orm:"size(255);"`
	Zqfee_rate                float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	T_pay_total               float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Jjmflag                   string    `orm:"size(255);"`
	Expiredflag               string    `orm:"size(255);"`
	Expiredrate               float64   `orm:"type(float64-decimal);decimals(4);digits(23);default(0)"`
	Interratetimezoneflag     float64   `orm:"type(float64-decimal);default(0)"`
	T_temppooluse             float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
	// contains filtered or unexported fields
}

FefpLoadM 融资表

func GetFefpLoadMById

func GetFefpLoadMById(nid int64) (FefpLoadM, error)

func (*FefpLoadM) TableName

func (n *FefpLoadM) TableName() string

type FefpSubCM

type FefpSubCM struct {
	Id              int64     `orm:"column(id);auto;pk"`
	Contractid      float64   `orm:"type(float64-decimal);default(0)"`
	Sellerid        string    `orm:"size(60);"`
	Buyerid         string    `orm:"size(60);"`
	Loanpcnt        float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Clstartdate     time.Time `orm:"type(datetime);"`
	Clenddate       time.Time `orm:"type(datetime);"`
	Opstate         float64   `orm:"type(float64-decimal);default(0)"`
	Lastmoduser     string    `orm:"size(50);"`
	Lastmoddate     time.Time `orm:"type(datetime);"`
	State           float64   `orm:"type(float64-decimal);default(0)"`
	Txno            float64   `orm:"type(float64-decimal);default(0)"`
	Transferway     string    `orm:"size(255);"`
	Productid       float64   `orm:"type(float64-decimal);default(0)"`
	Contractccy     float64   `orm:"type(float64-decimal);default(0)"`
	Inactflag       string    `orm:"size(255);"`
	Inactdate       time.Time `orm:"type(datetime);"`
	Cycleflag       string    `orm:"size(255);"`
	Shareflag       string    `orm:"size(255);"`
	Rebchid         float64   `orm:"type(float64-decimal);default(0)"`
	Interincomeflag string    `orm:"size(255);"`
	Intercloseflag  string    `orm:"size(255);"`
	Interpayflag    string    `orm:"size(255);"`
	Poolflag        string    `orm:"size(255);"`
	Subamount       float64   `orm:"type(float64-decimal);decimals(2);digits(23);default(0)"`
	Buyername       string    `orm:"size(255);"`
	Poolcount       int64     `orm:"default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

FefpSubCM 关联合同表

func GetFefpSubCMById

func GetFefpSubCMById(nid int64) (FefpSubCM, error)

func (*FefpSubCM) TableName

func (n *FefpSubCM) TableName() string

type FintLoanM

type FintLoanM struct {
	Id                        int64     `orm:"column(id);auto;pk"`
	Loancode                  string    `orm:"size(30);"`
	Loanccy                   string    `orm:"size(30);"`
	Loanamount                float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Loanterm                  float64   `orm:"type(float64-decimal);default(0)"`
	Loangrace                 float64   `orm:"type(float64-decimal);default(0)"`
	Loandate                  time.Time `orm:"type(datetime)"`
	Loanduedate               time.Time `orm:"type(datetime)"`
	Loanaccount               string    `orm:"size(30);"`
	Settingaccount            string    `orm:"size(30);"`
	Loanflag                  string    `orm:"size(255);"`
	Accountccy                string    `orm:"size(30);"`
	Exchangerate              float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Subcontractid             float64   `orm:"type(float64-decimal);default(0)"`
	Incomeway                 string    `orm:"size(255);"`
	Settingway                string    `orm:"size(255);"`
	Ratetype                  string    `orm:"size(255);"`
	Fixrate                   float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Rateid                    float64   `orm:"type(float64-decimal);default(0)"`
	Floatcycleunit            string    `orm:"size(255);"`
	Floatcycle                float64   `orm:"type(float64-decimal);default(0)"`
	Addsubway                 string    `orm:"size(255);"`
	Addsubvalue               float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Lockingflag               string    `orm:"size(255);"`
	Batchid                   float64   `orm:"type(float64-decimal);default(0)"`
	Transcode                 string    `orm:"size(20);"`
	Transtype                 float64   `orm:"type(float64-decimal);default(0)"`
	Transitemid               float64   `orm:"type(float64-decimal);default(0)"`
	Extendflag                string    `orm:"size(255);"`
	Extendterm                float64   `orm:"type(float64-decimal);default(0)"`
	Overdueflag               string    `orm:"size(255);"`
	Accountid                 float64   `orm:"type(float64-decimal);default(0)"`
	Excutedate                time.Time `orm:"type(datetime)"`
	Loanbalance               float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Receivableinterest        float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	ReceivedInterest          float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	AccruedInterest           float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	CurrentInterest           float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Lastinterestset           float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currentinterestset        float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currentamortizedinterest  float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currentaccruedinterest    float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Overdueamount             float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Overduepayamount          float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	OverdueInterest           float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currenttransoverdueamount float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currentoverduepay         float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currentoverdueinterest    float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Lessbalance               float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Currentlessamount         float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Lastbearingondate         time.Time `orm:"type(datetime)"`
	State                     float64   `orm:"type(float64-decimal);default(0)"`
	Opstate                   float64   `orm:"type(float64-decimal);default(0)"`
	WorkItemId                float64   `orm:"type(float64-decimal);default(0)"`
	Addsubtype                string    `orm:"size(255);"`
	Endflag                   string    `orm:"size(255);"`
	Txno                      float64   `orm:"type(float64-decimal);default(0)"`
	T_payamount               float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_payreceivable           float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_payaccrued              float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_paycurrent              float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_payoverdueamount        float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Accountbalance            float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Loanscale                 float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Lastfixdate               time.Time `orm:"type(datetime)"`
	Busstype                  float64   `orm:"type(float64-decimal);default(0)"`
	T_current_to_receivable   float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_accrued_to_receivable   float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Amortizedinterest         float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Chargeccy                 string    `orm:"size(30);"`
	Chargefee                 float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_chargefee               float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Chargefee_ytx             float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	T_chargefee_tx            float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Chargetype                string    `orm:"size(255);"`
	Ttlmonths                 float64   `orm:"type(float64-decimal);default(0)"`
	Yimonths                  float64   `orm:"type(float64-decimal);default(0)"`
	Chargebase                string    `orm:"size(255);"`
	Chargerate                float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Chargeaccount             string    `orm:"size(30);"`
	Extendincomeway           string    `orm:"size(255);"`
	Extendsettingway          string    `orm:"size(255);"`
	Extendratetype            string    `orm:"size(255);"`
	Extendfixrate             float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Extendrateid              float64   `orm:"type(float64-decimal);default(0)"`
	Extendfloatcycleunit      string    `orm:"size(255);"`
	Extendfloatcycle          float64   `orm:"type(float64-decimal);default(0)"`
	Extendaddsubway           string    `orm:"size(255);"`
	Extendaddsubvalue         float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	ExtendlockingFlag         string    `orm:"size(255);"`
	Extendfeetype             string    `orm:"size(255);"`
	Extendfeerate             float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Extendaddsubtype          string    `orm:"size(255);"`
	Extendrateaccount         string    `orm:"size(30);"`
	Extendfeeaccount          string    `orm:"size(30);"`
	Pay_type                  string    `orm:"size(255);"`
	First_deposit_pcnt        float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	First_deposit_amt         float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	First_deposit_acc_id      float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Return_margin_acc_id      float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`
	Acceptance_no             string    `orm:"size(30);"`
	Acceptance_start_date     time.Time `orm:"type(datetime)"`
	Acceptance_end_date       time.Time `orm:"type(datetime)"`
	Acceptance_amt            float64   `orm:"type(float64-decimal);decimals(8);digits(39);default(0)"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

FintLoanM 国内保理-融资表

func GetFintLoanMById

func GetFintLoanMById(nid int64) (FintLoanM, error)

func (*FintLoanM) TableName

func (n *FintLoanM) TableName() string

type FooCity

type FooCity struct {
	Id      int64  `orm:"column(id);pk;auto"`
	Name    string `orm:"column(name);unique" form:"Name"  valid:"Required"`
	State   string `form:"State"  valid:"Required"`
	Country string `form:"Country"  valid:"Required"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

城市表

func GetFooCityById

func GetFooCityById(nid int64) (FooCity, error)

func (*FooCity) TableName

func (n *FooCity) TableName() string

type FooHotel

type FooHotel struct {
	Id      int64    `orm:"column(id);pk;auto"`
	FooCity *FooCity `orm:"rel(fk)"`
	Name    string   `form:"Name"  valid:"Required"`
	Address string   `form:"Address"  valid:"Required"`
	Zip     string   `form:"Zip"  valid:"Required"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

酒店表

func GetFooHotelById

func GetFooHotelById(nid int64) (FooHotel, error)

func (*FooHotel) TableName

func (n *FooHotel) TableName() string

type Group

type Group struct {
	Id    int64  `orm:"column(id);pk;auto"`
	Name  string `orm:"size(255);unique;" form:"Name"  valid:"Required"`
	Title string `orm:"size(255)" form:"Title"  valid:"Required"`

	Sort uint64 `orm:"default(1)" form:"Sort" valid:"Numeric"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
	Nodes    []*Node   `orm:"reverse(many)"`
}

分组表

func (*Group) TableName

func (g *Group) TableName() string

type Node

type Node struct {
	Id     int64  `orm:"column(id);pk;auto"`
	Title  string `orm:"size(255)" form:"Title"  valid:"Required"`
	Name   string `orm:"size(255)" form:"Name"  valid:"Required"`
	Level  int    `orm:"default(1)" form:"Level"  valid:"Required"`
	Pid    int64  `form:"Pid"  valid:"Required"`
	Remark string `orm:"null;size(200)" form:"Remark" valid:"MaxSize(200)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`

	Group *Group  `orm:"rel(fk)"`
	Role  []*Role `orm:"rel(m2m)"`
}

节点表

func ReadNode

func ReadNode(nid int64) (Node, error)

func (*Node) TableName

func (n *Node) TableName() string

type Pdftrac

type Pdftrac struct {
	Id int64 `orm:"column(id);pk;auto"`

	Pdffile    string    `orm:"column(pdffile);unique;size(255)"`
	State      uint64    `orm:"column(state);size(1)"`
	TransferAt time.Time `orm:"column(transfer_at);type(datetime);null"`
	DocnameId  int64     `orm:"column(docname_id);size(20)"`

	User *User `orm:"rel(fk)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

func GetPdftracById

func GetPdftracById(id int64) (v *Pdftrac, err error)

GetPdftracById retrieves Pdftrac by Id. Returns error if Id doesn't exist

func (*Pdftrac) TableName

func (t *Pdftrac) TableName() string

type Person

type Person struct {
	Id        int64  `orm:"column(id);pk;auto"`
	Firstname string `orm:"size(255)" form:"first_name"`
	Lastname  string `orm:"size(255)" form:"last_name"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

用户表

func (*Person) TableName

func (u *Person) TableName() string

func (*Person) Valid

func (u *Person) Valid(v *validation.Validation)

type Project

type Project struct {
	Name      string
	Thumb     string
	Desc      string
	Url       string
	Src       string
	Submitter string
	Date      string
}

type Role

type Role struct {
	Id    int64  `orm:"column(id);pk;auto"`
	Title string `orm:"size(255);unique;" form:"Title" valid:"Required"`
	Name  string `orm:"size(255);unique;" form:"Name" valid:"Required"`

	//是否管理员
	IsAdmin bool `orm:"default(0);null;column(is_admin)" form:"IsAdmin"`
	//是否安全审计人员
	IsAduditor bool `orm:"default(0);null;column(is_auditor)" form:"IsAduditor"`

	Remark string `orm:"null;size(200)" form:"Remark" valid:"MaxSize(200)"`
	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`

	Node []*Node `orm:"reverse(many)"`
	User []*User `orm:"reverse(many)"`
}

角色表

func (*Role) TableName

func (r *Role) TableName() string

type Roles

type Roles struct {
	Id          int64     `orm:"column(id);auto;pk"`
	Docnameid   int       `orm:"column(docnameid)"`
	Roleid      int       `orm:"column(roleid)"`
	Userorgroup string    `orm:"column(userorgroup)"`
	StartAt     time.Time `orm:"column(start_at);type(datetime);null"`
	OverAt      time.Time `orm:"column(over_at);type(datetime);null"`
}

func GetRolesById

func GetRolesById(id int64) (v *Roles, err error)

GetRolesById retrieves Roles by Id. Returns error if Id doesn't exist

func (*Roles) TableName

func (t *Roles) TableName() string

type SAPAccountTitleCode

type SAPAccountTitleCode struct {
	Id int64 `orm:"column(id);auto;pk"`

	//科目代号
	SAPAccountTitleCode string `orm:"column(sap_accounttitle_code);unique;size(32);"`
	//核心系统科目代号
	SunlineAccountTitleCode string `orm:"column(sunline_accounttitle_code);unique;size(32);"`
	//科目名称
	AccountTitleName string `orm:"column(accounttitle_name);unique;size(32);"`
	//银行名称
	Bankname string `orm:"column(bankname);unique;size(32);"`

	//排序因子
	SortFactor uint64 `orm:"column(sort_factor);size(20);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

SAPAccountTitleCode SAP会计科目对照表

func GetSAPAccountTitleCodeById

func GetSAPAccountTitleCodeById(nid int64) (SAPAccountTitleCode, error)

func (*SAPAccountTitleCode) TableName

func (n *SAPAccountTitleCode) TableName() string

type SAPDayBal

type SAPDayBal struct {
	Id int64 `orm:"column(id);auto;pk"`

	//业务日期
	Bizdate string `orm:"column(BIZDATE);size(8);"`
	//SAP组织机构编码
	SAPOrgcode string `orm:"column(SAP_ORG_CODE);size(32);"`
	//科目代号
	AccountTitleCode string `orm:"column(ACCOUNTTITLE_CODE);size(10);"`
	//币种
	CoinTypeCode string `orm:"column(COIN_TYPE_CODE);size(10);"`
	//帐套 营业:0  财务:1合计:2
	AccountSets string `orm:"column(ACCOUNT_SETS);size(1);"`
	//余额
	Balance float64 `orm:"column(BALANCE);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(STATUS);default(2)" form:"Status"`
	Creator  *User     `orm:"column(CREATOR);null;rel(fk)"`
	CreateAt time.Time `orm:"column(CREATE_AT);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(UPDATER);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(UPDATE_AT);type(datetime);null"`
	Message  string    `orm:"column(MESSAGE);size(255);null"`
}

SAPDayBal SAP日终余额表

func GetSAPDayBalById

func GetSAPDayBalById(nid int64) (SAPDayBal, error)

func (*SAPDayBal) TableName

func (n *SAPDayBal) TableName() string

type SAPDayBalFlag

type SAPDayBalFlag struct {
	Id int64 `orm:"column(id);auto;pk"`
	//状态
	State string `orm:"column(state);size(1);"`
	//批次
	Ts string `orm:"column(ts);unique;size(23);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

SAPDayBalFlag SAP日终标志表

func GetSAPDayBalFlagById

func GetSAPDayBalFlagById(nid int64) (SAPDayBalFlag, error)

func (*SAPDayBalFlag) TableName

func (n *SAPDayBalFlag) TableName() string

type SAPOrgmap

type SAPOrgmap struct {
	Id int64 `orm:"column(id);pk;auto"`
	//核心组织机构编码
	Orgcode string `orm:"column(org_code);unique;size(32);valid(required)"`
	//是否末端机构
	LeafOrg bool `orm:"column(leaf_org);default(1)"`
	//SAP机构编码
	SAPOrgcode string `orm:"column(sap_org_code);size(32);default()"`
	//上级机构编码
	ParentOrgcode string `orm:"column(parent_org_code);size(32);"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

SAPOrgmap SAP组织机构对照表

末端机构存在一一对应关系
非末端机构,没有SAP机构编码
非末端机构建议方案1 根据doc_orgs表中维护的组织机构树关系,合并下属的末端机构科目余额
非末端机构建议方案2 根据本表中维护的组织机构树关系,合并下属的末端机构科目余额
目前执行建议方案2

func GetSAPOrgmapById

func GetSAPOrgmapById(id int64) (v *SAPOrgmap, err error)

GetSAPOrgmapById retrieves SAPOrgmap by Id. Returns error if Id doesn't exist

func (*SAPOrgmap) TableName

func (t *SAPOrgmap) TableName() string

type SAPParam

type SAPParam struct {
	SAPOrgcode       string
	AccountTitleCode string
	CoinTypeCode     string
	AccountSets      string
}

type SQLModel

type SQLModel struct {
	Id int64 `orm:"column(id);pk;auto"`

	Status uint64 `orm:"column(status);default(2)" form:"Status"`

	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`

	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

type SunlineDayBal

type SunlineDayBal struct {
	Id int64 `orm:"column(id);auto;pk"`

	//业务日期
	Bizdate string `orm:"column(bizdate);size(8);"`
	//SAP组织机构编码
	Orgcode string `orm:"column(sap_org_code);size(32);"`
	//科目代号
	AccountTitleCode string `orm:"column(accounttitle_code);size(10);"`
	//币种
	CoinTypeCode string `orm:"column(coin_type_code);size(10);"`
	//帐套 营业:0  财务:1合计:2
	AccountSets string `orm:"column(account_sets);size(1);"`
	//余额
	Balance float64 `orm:"column(balance);type(float64-decimal);decimals(2);digits(23);default(0)"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

SunlineDayBal 核心系统日终余额表

func GetSunlineDayBalById

func GetSunlineDayBalById(nid int64) (SunlineDayBal, error)

func (*SunlineDayBal) TableName

func (n *SunlineDayBal) TableName() string

type TDocFile

type TDocFile *docFile

TDocFile 文档文件指针

func GetBlog

func GetBlog(fullName, lang string) TDocFile

GetBlog returns 'docFile' by given name and language version.

type User

type User struct {
	Id         int64  `orm:"column(id);pk;auto"`
	Username   string `orm:"column(username);unique;size(32)" form:"Username"  valid:"Required;MaxSize(32);MinSize(6)"`
	Password   string `orm:"column(password);size(32)" form:"Password" valid:"Required;MaxSize(20);MinSize(6)"`
	Repassword string `orm:"-" form:"Repassword" valid:"Required"`
	Nickname   string `orm:"size(32)" form:"Nickname" valid:"Required;MaxSize(20);MinSize(2)"`
	Realname   string `orm:"size(32)" form:"Realname" valid:"Required"`
	Title      string `orm:"size(32)" form:"Title" valid:"Required"`
	Delta      string `orm:"size(32)" form:"Delta" valid:"Required"`
	Phone      string `orm:"size(32)" form:"Phone" valid:"Required"`
	MobelPhone string `orm:"unique;size(32)" form:"MobilePhone" valid:"Required"`

	Email  string `orm:"unique;size(255)" form:"Email" valid:"Email"`
	Remark string `orm:"null;size(200)" form:"Remark" valid:"MaxSize(200)"`

	// Status int  `orm:"column(status);default(2)" form:"Status"`
	//锁定,对应删除动作
	Locked bool `orm:"column(locked);default(0);null" form:"Locked"`
	//用户上次修改密码的时间
	LastPasswordChangeAt time.Time `orm:"null;column(last_password_change_at)"`
	//用户首次登录的判断标准: last_login_time is null
	LastLoginTime time.Time `orm:"null;column(last_login_time)" form:"-"`
	//本次登录时间,2个小时内必须进行二次鉴权,2个小时由服务器设定
	LoginTime    time.Time `orm:"null;column(login_time)" form:"-"`
	LastLoginIP  string    `orm:"null;size(255);column(last_login_ip)" form:"-"`
	LoginIP      string    `orm:"null;size(255);column(login_ip)" form:"-"`
	LimitLoginIP string    `orm:"null;size(255);column(LIMIT_LOGIN_IP)" form:"-"`
	Online       bool      `orm:"default(0);null;column(is_online)" form:"-"`

	//错误密码次数,注意成功登录后则恢复到零
	LoginTryCount uint64 `orm:"column(login_try_count);default(0);size(20)" form:"LoginTryCount"`
	//最后一次尝试密码时间
	LoginTryLastAt time.Time `orm:"column(login_try_last_at);type(datetime);null"`
	//密码锁定
	LoginTryPasswordLocked bool `orm:"default(0);null;column(login_try_password_locked)" form:"LoginTryPasswordLocked"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`

	Role          []*Role      `orm:"rel(m2m)"`
	DocaccessList []*Docaccess `orm:"reverse(many)"`
	DocGroupList  []*DocGroup  `orm:"reverse(many)"`
	DocOrg        *DocOrg      `orm:"rel(fk)"`
}

用户表

func GetUserByUsername

func GetUserByUsername(username string) (user User)

func (*User) TableName

func (u *User) TableName() string

TableName 缺省方法,返回对应的数据库表名

func (*User) Valid

func (u *User) Valid(v *validation.Validation)

type ZhengZhaoZhongLei

type ZhengZhaoZhongLei struct {
	Id int64 `orm:"column(id);pk;auto"`

	ZhengZhaoZhongLeiCode string `orm:"column(zhengzhaozhongleicode);unique;size(4);null"`
	Description           string `orm:"column(description);size(255);null"`

	//管控部分
	Status   uint64    `orm:"column(status);default(2)" form:"Status"`
	Creator  *User     `orm:"column(creator);null;rel(fk)"`
	CreateAt time.Time `orm:"column(create_at);type(datetime);auto_now_add"`
	Updater  *User     `orm:"column(updater);null;rel(fk)"`
	UpdateAt time.Time `orm:"column(update_at);type(datetime);null"`
	Message  string    `orm:"column(message);size(255);null"`
}

ZhengZhaoZhongLei 证件种类参数表

func GetZhengZhaoZhongLeiById

func GetZhengZhaoZhongLeiById(nid int64) (ZhengZhaoZhongLei, error)

func (*ZhengZhaoZhongLei) TableName

func (n *ZhengZhaoZhongLei) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL