正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -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 |
-
请 注册 或 登录 后发表评论