作者 tangxvhui

日常保存

... ... @@ -94,8 +94,7 @@ func (srv StaffAssessServeice) SaveAssessContentTemp(param *command.SaveAssessIn
contentTempList = append(contentTempList, item)
}
}
//更新assessConten
//更新assessContentTemp
if err := transactionContext.CommitTransaction(); err != nil {
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
}
... ... @@ -106,5 +105,6 @@ func (srv StaffAssessServeice) SaveAssessContentTemp(param *command.SaveAssessIn
//临时数据存在时就获取临时数据
//不存在就获取实际保存的数据
func (srv StaffAssessServeice) GetAssessContentTemp(param *command.SaveAssessInfoCommand) (*adapter.AssessInfoResp, error) {
//将临时保存的数据填入模板中
return nil, nil
}
... ...