|
|
@@ -143,6 +143,9 @@ func InsertResourceQueue(queue ResourceQueue) (int64, error) { |
|
|
|
func UpdateResourceQueueById(queueId int64, queue ResourceQueue) (int64, error) { |
|
|
|
return x.ID(queueId).Update(&queue) |
|
|
|
} |
|
|
|
func UpdateResourceCardsTotalNum(queueId int64, queue ResourceQueue) (int64, error) { |
|
|
|
return x.ID(queueId).Cols("cards_total_num", "remark").Update(&queue) |
|
|
|
} |
|
|
|
|
|
|
|
func SearchResourceQueue(opts SearchResourceQueueOptions) (int64, []ResourceQueue, error) { |
|
|
|
var cond = builder.NewCond() |
|
|
|