check workflow
This commit is contained in:
parent
e3e6a1df36
commit
a4647e102a
14 changed files with 84 additions and 73 deletions
|
|
@ -194,7 +194,6 @@ export class KpiUserRoleController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetKpiUserRoleDetail(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const getKpiUserRole = await this.kpiUserRoleRepository.findOne({
|
||||
relations: ["kpiRole", "kpiUserEvaluation"],
|
||||
where: { id: id },
|
||||
|
|
@ -237,7 +236,6 @@ export class KpiUserRoleController extends Controller {
|
|||
*/
|
||||
@Get()
|
||||
async GetKpiUserRole(@Request() request: RequestWithUser, @Query("id") id: string) {
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");//USER
|
||||
const kpiUserRole = await this.kpiUserRoleRepository.find({
|
||||
where: {
|
||||
kpiUserEvaluationId: id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue