Browse Source

fix:bug

dev
Tooooommy 4 years ago
parent
commit
0fc814ba75
  1. 2
      models/pad_signer.go

2
models/pad_signer.go

@ -19,6 +19,6 @@ func (t *PadSigner) TableName() string {
}
func ListPadSignerByActivityId(activityId int) (signers []*PadSigner, err error) {
err = core.GetXormAuto().Where("activity_id=? and is_delete=0", activityId).Find(&signers)
err = core.GetXormAuto().Where("activity_id=? and is_delete=0", activityId).Asc("sid").Find(&signers)
return
}
Loading…
Cancel
Save