作者 tangxvhui

每日检查评估任务

... ... @@ -44,7 +44,7 @@ func TestCreatTaskAnamaly(t *testing.T) {
"transactionContext": transactionContext,
})
_, taskRacordList, err := taskRecordRepo.Find(map[string]interface{}{
"ids": []int{1676259651777204224},
"ids": []int{1676429193136574464},
})
if err != nil {
t.Error(err)
... ...
... ... @@ -67,7 +67,7 @@ func checkTaskRecordV3(param *domain.TaskRecord) error {
anomaly2 := &domain.TaskAnomaly{}
ok = anomaly2.IsAssessFlag(taskData, param)
if ok {
err = anomalyisAssessFlag(transactionContext, anomaly1, taskData)
err = anomalyisAssessFlag(transactionContext, anomaly2, taskData)
if err != nil {
return err
}
... ... @@ -79,7 +79,7 @@ func checkTaskRecordV3(param *domain.TaskRecord) error {
}
// 异常中心记录辅导异常
anomaly3 := &domain.TaskAnomaly{}
ok = anomaly2.IsAssistFlag(taskData, param)
ok = anomaly3.IsAssistFlag(taskData, param)
if ok {
err = anomalyIsAssistFlag(transactionContext, anomaly3, taskData)
if err != nil {
... ...