db

package
v0.0.0-...-aa2c77e Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EstateBookCreate

func EstateBookCreate(bookid, netconid, taxid, owner, addr string, area int, operator string) error

func EstateBookUpdateCC

func EstateBookUpdateCC(uuid string, iscced int) (err error)

func EstateTaxCreate

func EstateTaxCreate(taxid, taxer string, area, tax int, operator string) error

func EstateTaxUpdateCC

func EstateTaxUpdateCC(uuid string, iscced int) (err error)

func GetEngin

func GetEngin(keys ...string) (e *xorm.Engine)

func InitDB

func InitDB() error

func NetconsCreate

func NetconsCreate(netconid, applya, applyb, addr string, area, balance int, operator string) error

func NetconsUpdateCC

func NetconsUpdateCC(uuid string, iscced int) (err error)

func SetEngin

func SetEngin(orm *xorm.Engine, keys ...string)

Types

type EstateBook

type EstateBook struct {
	ID       string    `xorm:"pk 'id'"`
	CreateDT time.Time //生成时间
	BookID   string    //不动产证书编号
	NetconID string    //网签合同编号
	TaxID    string    //纳税凭证编号
	Owner    string    //户主
	Addr     string    //房屋地址
	Area     int       //房屋面积
	Operator string    //操作人员
	IsCCed   int       //是否已上链
}

func EstateBookAll

func EstateBookAll() (books []EstateBook, err error)

type EstateTax

type EstateTax struct {
	ID       string    `xorm:"pk 'id'"`
	CreateDT time.Time //生成时间
	TaxID    string    //核税编号
	BookID   string    //不动产权证书编号
	Taxer    string    //纳税人
	Area     int       //房屋面积
	Tax      int       //纳税金额
	Operator string    //操作人员
	IsCCed   int       //是否已上链
}

func EstateTaxAll

func EstateTaxAll() (taxs []EstateTax, err error)

type Netcon

type Netcon struct {
	ID       string    `xorm:"pk 'id'"`
	CreateDT time.Time //生成时间
	NetconID string    //合同编号
	ApplyA   string    //受让方(买方)
	ApplyB   string    //转让方(卖方)
	Addr     string    //房屋地址
	Area     int       //房屋面积
	Balance  int       //转让金额
	Operator string    //操作人员
	IsCCed   int       //是否已上链
}

func NetconsAll

func NetconsAll() (netcons []Netcon, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL