...
|
...
|
@@ -161,7 +161,7 @@ func (repo *StaffAssessRepository) Find(queryOptions map[string]interface{}) (in |
|
|
if v, ok := queryOptions["beginDay"]; ok {
|
|
|
query.Where("to_char(staff_assess.begin_time at time zone 'PRC','YYYY-MM-DD')= ? ", v)
|
|
|
}
|
|
|
|
|
|
query.Order("staff_assess.id")
|
|
|
count, err := query.SelectAndCount()
|
|
|
if err != nil {
|
|
|
return 0, nil, err
|
...
|
...
|
|