...
|
...
|
@@ -833,7 +833,7 @@ func (rs *EvaluationProjectService) generateEvaluationItemUsed(transactionContex |
|
|
"transactionContext": transactionContext,
|
|
|
})
|
|
|
var err error
|
|
|
cnt, _, err := itemUsedRepo.Find(map[string]interface{}{"evaluationProjectId": project.Id})
|
|
|
cnt, _, err := itemUsedRepo.Find(map[string]interface{}{"evaluationProjectId": project.Id, "limit": 1})
|
|
|
if err != nil {
|
|
|
return application.ThrowError(application.TRANSACTION_ERROR, "检查评估选项"+err.Error())
|
|
|
}
|
...
|
...
|
|