Compare commits

...

1 Commits
main ... dev

Author SHA1 Message Date
sky121113
5f480d6cb6 [FIX] 修正非中國醫專案的物料代碼一致性驗證邏輯並升級修補版號
1. 於 VmcSlotListActivity 限制 validateMaterialCodeConsistency 僅在中國醫 (CMUH) 專案下執行,其他專案直接跳過。
2. 調整 app/build.gradle 的修補版號 (verPatch) 變數值,由 67 遞增至 68。
2026-06-09 16:00:58 +08:00
2 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ plugins {
//
// =========================================================================
def verMinor = 1
def verPatch = 67
def verPatch = 68

View File

@ -281,6 +281,9 @@ public class VmcSlotListActivity extends AppCompatActivityAbstract {
}
private String validateMaterialCodeConsistency() {
if (!com.unibuy.smartdevice.AppEntry.isCmuh()) {
return "";
}
for (SlotStructure slot : MyApp.getInstance().getSlotList(SlotField.VMC.getField())) {
if (slot == null || slot.getProduct() == null) continue;
ProductStructure product = slot.getProduct();