作者 Your Name

修复一些问题

@@ -109,7 +109,7 @@ func (repo *RewardSummaryRepository) Find(queryOptions map[string]interface{}) ( @@ -109,7 +109,7 @@ func (repo *RewardSummaryRepository) Find(queryOptions map[string]interface{}) (
109 query.Where(`Work_station->>'lineName' like ?`, fmt.Sprintf("%%%v%%", v)) 109 query.Where(`Work_station->>'lineName' like ?`, fmt.Sprintf("%%%v%%", v))
110 } 110 }
111 //工段id 111 //工段id
112 - if v, ok := queryOptions["sectionId"]; ok && len(v.(string)) > 0 { 112 + if v, ok := queryOptions["sectionId"]; ok {
113 query.Where(`Work_station->>'sectionId' = '?'`, v) 113 query.Where(`Work_station->>'sectionId' = '?'`, v)
114 } 114 }
115 //车间id 115 //车间id