Compare commits

..

No commits in common. "1a8301c90e7df8a49d575b9ba6349056e3f0a54a" and "2f135759a57bad78dab924a7893cc8727372f474" have entirely different histories.

2 changed files with 0 additions and 11 deletions

View File

@ -258,10 +258,6 @@ func (b *BundleProvider) GetTaskActualStatusByUUID(_ context.Context, req *bundl
// GetTaskAssignRecordsList 多条件查询操作记录表
func (b *BundleProvider) GetTaskAssignRecordsList(_ context.Context, req *bundle.TaskAssignRecordsQueryRequest) (*bundle.TaskAssignRecordsQueryResponse, error) {
// 如果 sortBy 是 pending_*,则转换为 assign_*
if sortBy, ok := model.OrderByPending[req.SortBy]; ok {
req.SortBy = sortBy
}
// 转换请求参数
daoReq := &dao.TaskAssignRecordsQueryRequest{
Keyword: req.Keyword,

View File

@ -14,13 +14,6 @@ var OrderByDataAnalysis = map[string]string{
"pending_data_analysis_count": "pending_data_count",
}
var OrderByPending = map[string]string{
"pending_video_count": "assign_video_count",
"pending_post_count": "assign_post_count",
"pending_data_count": "assign_data_count",
"pending_video_script_count": "assign_video_script_count",
}
type TaskManagement struct {
ID int64 `gorm:"primarykey"`
UserId int `gorm:"column:user_id;comment:用户ID;index:idx_user_id"`