From 711983f312ef3998abb5a16a868324b9ecdc5211 Mon Sep 17 00:00:00 2001 From: gowthaman Date: Thu, 9 May 2024 13:48:44 +0530 Subject: [PATCH] fix product edit --- src/main/kotlin/com/restapi/domain/models.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/com/restapi/domain/models.kt b/src/main/kotlin/com/restapi/domain/models.kt index f7d1e3d..37c212a 100644 --- a/src/main/kotlin/com/restapi/domain/models.kt +++ b/src/main/kotlin/com/restapi/domain/models.kt @@ -344,6 +344,7 @@ open class Product : BaseTenantModel() { this.hsnCode = updatedProduct.hsnCode this.uom = updatedProduct.uom this.gstPct = updatedProduct.gstPct + this.code = updatedProduct.code } @Column(name = "id")