@@ -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) {