Commit c0c4dfc0 by 朱继来

调整model

parent 8848e667
Showing with 24 additions and 20 deletions
package InvoiceCompany package InvoiceCompany
import ( import (
_ "encoding/json" _ "encoding/json"
...@@ -6,23 +6,27 @@ import ( ...@@ -6,23 +6,27 @@ import (
) )
type Company struct { type Company struct {
Id int `db:"id"` Id int `db:"id"`
ComSn string `db:"com_sn"` ComSn string `db:"com_sn"`
ErpComSn string `db:"erp_com_sn"` ErpComSn string `db:"erp_com_sn"`
ComName string `db:"com_name"` ComName string `db:"com_name"`
ComAddr string `db:"com_addr"` ComAddr string `db:"com_addr"`
EstablishmentTime int `db:"establishment_time"` EstablishmentTime int `db:"establishment_time"`
RegisteredCapital float64 `db:"registered_capital"` RegisteredCapital float64 `db:"registered_capital"`
ComOrganization string `db:"com_organization"` ComOrganization string `db:"com_organization"`
LegalRepresentative string `db:"legal_representative"` LegalRepresentative string `db:"legal_representative"`
FiveLegalChange int `db:"five_legal_change"` FiveLegalChange int `db:"five_legal_change"`
TwoYearsNoLawsuit string `db:"two_years_no_lawsuit"` TwoYearsNoLawsuit string `db:"two_years_no_lawsuit"`
TotalCreditScore float64 `db:"total_credit_score"` TotalCreditScore float64 `db:"total_credit_score"`
IchuntHuntingCore int `db:"ichunt_hunting_core"` IchuntHuntingCore int `db:"ichunt_hunting_core"`
BlacklistHit string `db:"blacklist_hit"` BlacklistHit string `db:"blacklist_hit"`
RiskType string `db:"risk_type"` RiskType string `db:"risk_type"`
IsKefuCertified string `db:"is_kefu_certified"` IsKefuCertified string `db:"is_kefu_certified"`
CreateTime int `db:"create_time"` CustomerEn string `db:"customer_en"`
UpdateTime int `db:"update_time"` CustomerType int `db:"customer_type"`
ProductUseClassoneSn int `db:"product_use_classone_sn"`
ProductUseClasstwoSn int `db:"product_use_classtwo_sn"`
CustomerWebsite string `db:"customer_website"`
CreateTime int `db:"create_time"`
UpdateTime int `db:"update_time"`
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment