• - Added GetCurrentUserAppModuleAuthorize method to IAuthorizeService
    - Implemented App permission logic in AuthorizeService based on user roles
    - Introduced GetAppAuthorize endpoint in UsersCurrentService (GET /api/permission/Users/Current/AppAuthorize)
    - Logic retrieves App module permissions categorized as 'App' from the permissions table
    - Admins receive all App permissions, while regular users receive permissions based on their roles
    - Returns a hierarchical structure of App permissions
    
    Additional updates:
    - Enhanced store dashboard features
    - Improved member-related functionalities
    - Updated style files
    “wangming” authored
     
    Browse Dir »

  • - 修复库存扣减逻辑:只有已领取状态才扣减库存
      - 修改LqInventoryService、LqProductService、LqInventoryUsageService中所有计算已使用数量的地方
      - 只统计IsReceived=1的使用记录,确保库存扣减准确
      - 添加System.Collections.Generic命名空间引用
    
    - 优化报销导出功能
      - 添加购买门店字段(purchaseStoreId、purchaseStoreName)
      - 区分申请门店和购买门店两个字段
      - 修复文件路径问题:使用项目根目录下的ExportFiles文件夹
      - 修复FromQuery参数导致的BadImageFormatException错误
    
    - 修复编译错误
      - 添加System.IO命名空间引用
      - 修复List<dynamic>类型转换问题
    “wangming” authored
     
    Browse Dir »