5 Commits 8e60a43755 ... 6c30b01c3b

Author SHA1 Message Date
  huangjinliang 6c30b01c3b Merge remote-tracking branch 'origin/main' 1 week ago
  huangjinliang 1a50a8c746 Merge remote-tracking branch 'origin/main' 1 week ago
  huangjinliang f477cdf558 fix:收银台初始化时integer overflow导致商品列表等信息不显示 1 week ago
  survive 23ae8da220 fix:收银台初始化时integer overflow导致商品列表等信息不显示 1 week ago
  survive 9a87356468 fix:收银台初始化时integer overflow导致商品列表等信息不显示 1 week ago

+ 3 - 1
fuintBackend/fuint-application/src/main/java/com/fuint/module/backendApi/controller/BackendCashierController.java

@@ -114,7 +114,9 @@ public class BackendCashierController extends BaseController {
             return getFailureResult(1001, "请先登录");
         }
 
-        TAccount accountInfo = accountService.getAccountInfoById((long) Math.toIntExact(accountDto.getId()));
+
+
+        TAccount accountInfo = accountService.getAccountInfoById((accountDto.getId()));
         Long storeId = (accountInfo.getStoreId() == null || accountInfo.getStoreId() < 1) ? 0 : accountInfo.getStoreId();
         MtStore storeInfo = null;
         if (storeId == null || storeId < 1) {