From 89ec70ef7dda3349d85a979daf5b907fc487f298 Mon Sep 17 00:00:00 2001 From: "cyril.tsui" Date: Fri, 22 Aug 2025 18:17:00 +0800 Subject: [PATCH] update escalation --- .../modules/stock/entity/EscalationLogInfo.kt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/main/java/com/ffii/fpsms/modules/stock/entity/EscalationLogInfo.kt b/src/main/java/com/ffii/fpsms/modules/stock/entity/EscalationLogInfo.kt index 4b1e7cd..88c928d 100644 --- a/src/main/java/com/ffii/fpsms/modules/stock/entity/EscalationLogInfo.kt +++ b/src/main/java/com/ffii/fpsms/modules/stock/entity/EscalationLogInfo.kt @@ -40,8 +40,22 @@ interface EscalationLogInfo { @get:Value("#{target.stockInLine?.acceptedQty}") val acceptedQty: BigDecimal? + @get:Value("#{target.stockInLine?.item?.itemUoms.^[purchaseUnit == true && deleted == false]?.uom.code}") + val purchaseUomCode: String? + + @get:Value("#{target.stockInLine?.item?.itemUoms.^[purchaseUnit == true && deleted == false]?.uom.udfudesc}") + val purchaseUomDesc: String? + + @get:Value("#{target.stockInLine?.item?.itemUoms.^[stockUnit == true && deleted == false]?.uom.code}") + val stockUomCode: String? + + @get:Value("#{target.stockInLine?.item?.itemUoms.^[stockUnit == true && deleted == false]?.uom.udfudesc}") + val stockUomDesc: String? + @get:Value("#{target.personInCharge?.id}") val personInChargeId: Long? + @get:Value("#{target.personInCharge?.department} - #{target.personInCharge?.title} - #{target.personInCharge?.name}") + val personInCharge: String? @get:Value("#{target.personInCharge?.name}") val personInChargeName: String? @get:Value("#{target.personInCharge?.title}")