|
@@ -27,6 +27,7 @@ type EtaBusinessController struct {
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -153,6 +154,13 @@ func (this *EtaBusinessController) PageList() {
|
|
|
cond += fmt.Sprintf(` AND %s IN (%s)`, eta_business.EtaBusinessColumns.City, utils.GetOrmInReplace(len(cityArr)))
|
|
|
pars = append(pars, cityArr)
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ industryId, _ := this.GetInt("IndustryId", 0)
|
|
|
+ if industryId > 0 {
|
|
|
+ cond += fmt.Sprintf(` AND %s = ?`, eta_business.EtaBusinessColumns.IndustryId)
|
|
|
+ pars = append(pars, industryId)
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
order := ``
|
|
@@ -212,6 +220,7 @@ func (this *EtaBusinessController) PageList() {
|
|
|
b.UserMax = v.UserMax
|
|
|
b.SigningStatus = v.SigningStatus
|
|
|
b.Enable = v.Enable
|
|
|
+ b.ContractId = v.ContractId
|
|
|
b.SigningTime = v.SigningTime.Format(utils.FormatDate)
|
|
|
b.ExpiredTime = v.ExpiredTime.Format(utils.FormatDate)
|
|
|
b.CreateTime = v.CreateTime.Format(utils.FormatDateTime)
|
|
@@ -1010,6 +1019,7 @@ func (this *EtaBusinessController) Detail() {
|
|
|
resp.UserMax = item.UserMax
|
|
|
resp.SigningStatus = item.SigningStatus
|
|
|
resp.Enable = item.Enable
|
|
|
+ resp.ContractId = item.ContractId
|
|
|
resp.SigningTime = item.SigningTime.Format(utils.FormatDate)
|
|
|
resp.ExpiredTime = item.ExpiredTime.Format(utils.FormatDate)
|
|
|
resp.CreateTime = item.CreateTime.Format(utils.FormatDateTime)
|