From 2f4492ee18f90274582fcc2bb06f5e9bf64136e8 Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期五, 13 五月 2022 17:32:14 +0800 Subject: [PATCH] ProdBackup0513 --- force-app/main/default/classes/UpdateTotalCostPriceSetTextBatch.cls | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/force-app/main/default/classes/UpdateTotalCostPriceSetTextBatch.cls b/force-app/main/default/classes/UpdateTotalCostPriceSetTextBatch.cls index 8bafc3b..b79bddc 100644 --- a/force-app/main/default/classes/UpdateTotalCostPriceSetTextBatch.cls +++ b/force-app/main/default/classes/UpdateTotalCostPriceSetTextBatch.cls @@ -55,16 +55,12 @@ updList.add(orderData); }else{ //鐜嬮箯浼熸坊鍔爀lse杩斿洖 - //return '璇ュ悎鍚屼笉绗﹀悎鏇存柊鏉′欢锛屼笉闇�瑕佹洿鏂�'; + return '璇ュ悎鍚屼笉绗﹀悎鏇存柊鏉′欢锛屼笉闇�瑕佹洿鏂�'; } } - if (updList.size() > 0){ - update updList; - return '鏇存柊鎴愬姛'; - }else{ - return '璇ュ悎鍚屼笉绗﹀悎鏇存柊鏉′欢锛屼笉闇�瑕佹洿鏂�'; - } + if (updList.size() > 0) update updList; + return '鏇存柊鎴愬姛'; } } -- Gitblit v1.9.1