[FIX] 修正非中國醫專案的物料代碼一致性驗證邏輯並升級修補版號
1. 於 VmcSlotListActivity 限制 validateMaterialCodeConsistency 僅在中國醫 (CMUH) 專案下執行,其他專案直接跳過。 2. 調整 app/build.gradle 的修補版號 (verPatch) 變數值,由 67 遞增至 68。
This commit is contained in:
parent
abe3ac14c1
commit
5f480d6cb6
@ -9,7 +9,7 @@ plugins {
|
||||
// 避免不同尺寸機台間版本號產生衝突。
|
||||
// =========================================================================
|
||||
def verMinor = 1
|
||||
def verPatch = 67
|
||||
def verPatch = 68
|
||||
|
||||
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user