|
|
@@ -89,7 +89,7 @@ func (this *OilCorporateInfoController) GetCompanyInfo() {
|
|
|
sqlStr2 := "SELECT * FROM OilCorporateInfo"
|
|
|
|
|
|
where := " where SupplierName = '" + SupplierName + "' and CreateUserId = " + this.User.Id
|
|
|
- where2 := " where SupplierName = '" + SupplierName + "' and UserId = " + this.User.Id
|
|
|
+ where2 := " where SupplierName = '" + SupplierName + "' and CheckStatus = 11 and UserId = " + this.User.Id
|
|
|
|
|
|
sql := sqlStr + where
|
|
|
sql2 := sqlStr2 + where2
|