Browse Source

update

tmp
DengBiao 1 year ago
parent
commit
f157b6d52f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/db/db_company_with_wxpay_info.go

+ 1
- 1
app/db/db_company_with_wxpay_info.go View File

@@ -38,7 +38,7 @@ func (EnterpriseWithCompanyWithWxpayInfo) TableName() string {
}

func (companyWithWxpayInfoDb *CompanyWithWxpayInfoDb) GetCompanyWithWxpayInfoByEnterprise(enterpriseId int) (wxMchId string, err error) {
var m *EnterpriseWithCompanyWithWxpayInfo
var m EnterpriseWithCompanyWithWxpayInfo
get, err := companyWithWxpayInfoDb.Db.Where("enterprise.id = ?", enterpriseId).
Join("LEFT", "company", "enterprise.company_id = company.id").
Join("LEFT", "company_with_wxpay_info", "company.id = company_with_wxpay_info.company_id").


Loading…
Cancel
Save