diff --git a/models/pad_signer.go b/models/pad_signer.go index 5fa2fe3..85597a0 100644 --- a/models/pad_signer.go +++ b/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 }