Browse Source

update

tmp
DengBiao 11 months ago
parent
commit
cb712cf918
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/admin/hdl/hdl_suggested_feedback.go

+ 2
- 2
app/admin/hdl/hdl_suggested_feedback.go View File

@@ -40,7 +40,7 @@ func SuggestedFeedbackList(c *gin.Context) {
if req.Phone != "" {
sess.And("user.phone like ?", "%"+req.Phone+"%")
}
admin := svc.GetUser(c)
if admin.IsSuperAdministrator != enum2.IsSuperAdministratorTure {
adminWithEnterpriseDb := db.AdminWithEnterpriseDb{}
@@ -57,7 +57,7 @@ func SuggestedFeedbackList(c *gin.Context) {
if len(enterPriseIds) == 0 {
return
}
sess.In("device.enterprise_id", enterPriseIds)
sess.In("suggested_feedback.enterprise_id", enterPriseIds)
}

var m []*db.SuggestedFeedbackWithUserIdentity


||||||
x
 
000:0
Loading…
Cancel
Save