@@ -43,6 +43,7 @@ func (t *Useresignrecord) Update(cols string) (err error) {
}
func QueryUsereSignRecords(userId, memberUserId int, recordId, templateConfigId, templatetype *int) (records []Useresignrecord, err error) {
+ records = make([]Useresignrecord, 0)
session := db.GetEngine().Table("USERESIGNRECORD").Where("USERID = ? AND AREAUSERID = ?", userId, memberUserId)
if recordId != nil {
session = session.And("RECORDID = ?", recordId)