check workflow
This commit is contained in:
parent
e3e6a1df36
commit
a4647e102a
14 changed files with 84 additions and 73 deletions
|
|
@ -177,7 +177,6 @@ export class KpiUserCapacityController extends Controller {
|
|||
*/
|
||||
@Get("{id}")
|
||||
async GetKpiUserCapacityById(@Request() request: RequestWithUser, @Path() id: string) {
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const kpiUserCapacity = await this.kpiUserCapacityRepository.findOne({
|
||||
where: { id: id },
|
||||
relations: ["kpiCapacity"],
|
||||
|
|
@ -212,7 +211,6 @@ export class KpiUserCapacityController extends Controller {
|
|||
@Query("id") id: string, //kpiUserEvaluationId
|
||||
@Query("type") type: string,
|
||||
) {
|
||||
// await new permission().PermissionGet(request, "SYS_KPI_LIST");
|
||||
const [kpiUserCapacity, total] = await AppDataSource.getRepository(KpiUserCapacity)
|
||||
.createQueryBuilder("kpiUserCapacity")
|
||||
.leftJoinAndSelect("kpiUserCapacity.kpiCapacity", "kpiCapacity")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue