|
@@ -104,6 +104,9 @@ func (s Service) List(req model.ListReq, user request.UserInfo) ([]accountModel.
|
|
|
where += fmt.Sprintf(" AND VerificationDate>='%v' AND VerificationDate<='%v'", timelist[0],timelist[1])
|
|
where += fmt.Sprintf(" AND VerificationDate>='%v' AND VerificationDate<='%v'", timelist[0],timelist[1])
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ if entity.NotInBill == "1" {
|
|
|
|
|
+ where += fmt.Sprintf(" AND (SettleStatus='0' OR Status='0')")
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
entityModel = entityModel.Where(where)
|
|
entityModel = entityModel.Where(where)
|
|
|
total, err := entityModel.Count()
|
|
total, err := entityModel.Count()
|