กรณีแก้ไขให้กรองไอดี

This commit is contained in:
Bright 2024-06-17 09:22:01 +07:00
parent fd3e472658
commit f6fd679a88

View file

@ -82,6 +82,7 @@ export class kpiGroupController extends Controller {
const chkkpinameGroup = await this.kpiGroupRepository.findOne({
where: {
nameGroupKPI: requestBody.nameGroupKPI,
id: Not(id)
},
});
if (chkkpinameGroup) {