change product id type
This commit is contained in:
@@ -629,7 +629,7 @@ fun ImportFromExcel(fileType: FileType, filePath: String) {
|
||||
sh.rowIterator().forEach { row ->
|
||||
if (row == null) return@forEach
|
||||
//id, name, description, hsnCode, uom
|
||||
val prodId = longIntFromCellHelper(row.getCell(0))
|
||||
val prodId = stringFromCellHelper(row.getCell(0))
|
||||
val prodName = stringFromCellHelper(row.getCell(1))
|
||||
val prodDesc = stringFromCellHelper(row.getCell(2))
|
||||
val prodHsnCode = stringFromCellHelper(row.getCell(3))
|
||||
|
||||
@@ -318,7 +318,7 @@ open class Product : BaseTenantModel() {
|
||||
this.uom = updatedProduct.uom
|
||||
}
|
||||
|
||||
var id: Long? = null
|
||||
var id: String? = null
|
||||
var name: String = ""
|
||||
var description: String = ""
|
||||
var hsnCode: String = ""
|
||||
|
||||
Reference in New Issue
Block a user