• - Added a new endpoint to fix duplicate inventory usage records by merging entries based on UsageBatchId, ProductId, and StoreId.
    - Implemented logic to retain the earliest record while summing quantities and amounts, marking others as invalid.
    - Enhanced the service to log the repair process and provide feedback on the number of processed and invalidated records.
    “wangming” authored
     
    Browse Dir »


  • - Swapped the API base URL in the development environment to use localhost for local testing.
    - Enhanced the member portrait dialog with improved layout and additional member attributes, including age and birthday type.
    - Added birthday type filtering options in the birthday view, allowing users to display members with solar and lunar birthdays.
    - Updated the backend to support querying members based on specified date ranges and birthday types.
    - Introduced new performance metrics in the personal performance statistics view, categorizing performance by various service types.
    “wangming” authored
     
    Browse Dir »

  • - Deleted an obsolete SQL file related to member information table modifications.
    - Removed a hidden character from the ExcelImportHelper.cs file for cleaner code.
    “wangming” authored
     
    Browse Dir »
  • - Added functionality to convert solar birthdays to lunar format and display the corresponding lunar birthday in the customer detail dialog.
    - Introduced a new dropdown for selecting lunar month and day in the customer form, allowing users to input lunar birthdays easily.
    - Updated the customer service to handle birthday type differentiation (solar vs lunar) and ensure proper data handling.
    - Enhanced the UI for better clarity and usability, including improved dialog styling and form section titles.
    - Refactored related DTOs to accommodate the new birthday type and format changes.
    “wangming” authored
     
    Browse Dir »
  • - Introduced a new filter for remaining rights range in the member portrait dialog and query input DTO.
    - Implemented a resetData method to clear all data when switching members to prevent displaying stale information.
    - Updated the fetchData method to clear lists upon member change.
    - Enhanced the LqKhxxService to handle remaining rights range in queries.
    - Improved the layout of the search form in the lqKhxx view for better usability.
    “wangming” authored
     
    Browse Dir »
  • - Updated the SaaS documentation to clarify the separation of core business modules.
    - Enhanced the ImageModerationService for better error handling and configuration management.
    - Improved code readability by removing unnecessary whitespace and optimizing LINQ queries in various services.
    - Adjusted performance metrics calculations in the LqStoreDashboardService for accuracy in reporting.
    - Updated DTOs to reflect changes in performance metrics definitions.
    “wangming” authored
     
    Browse Dir »

  • - LqReportService: 门店基础信息/数据分析/对比分析 科技部归属及同组织门店改为 lq_md_target
    - LqTechGeneralManagerSalaryService: 科技部总经理管理门店改为 lq_md_target 按统计月
    - LqShareStatisticsTechDeptService: 科技部股份统计收入成本按 lq_md_target 取科技部门店
    - LqZjlMdsmxszService: GetManagedStores 科技一部/二部门店改为 lq_md_target 按当前月
    - LqAnnualSummaryService: 移除对 Kjb 的 Select 依赖
    - 新增接口测试脚本 test-kjb-removal-apis.sh
    - 新增 SQL: 根据产品平均单价更新库存领取金额
    “wangming” authored
     
    Browse Dir »
  • - Redesigned the welcome page layout with a new hero section and action cards for quick access to features.
    - Added a feature list in the welcome component to dynamically render action cards.
    - Updated the tech department dashboard to improve table display by reducing max height and ensuring proper pagination.
    - Enhanced inventory service documentation for clarity on stock update processes.
    - Introduced teacher performance metrics in the billing service for better reporting accuracy.
    “wangming” authored
     
    Browse Dir »

  • - Refactored multiple worker scripts (css.worker.js, editor.worker.js, html.worker.js, json.worker.js, ts.worker.js) to improve code structure and maintainability.
    - Removed the unused CSS file (app.26c706cb.css) to clean up the project and reduce bundle size.
    - Ensured all worker scripts are optimized for better performance.
    “wangming” authored
     
    Browse Dir »
  • - Updated the file upload process to include image moderation before uploading to OSS.
    - Added configuration options for enabling/disabling image moderation and specifying the moderation service endpoint.
    - Enhanced the FileService to handle local file storage and moderation logic, ensuring compliance with content policies.
    - Updated .env and appsettings.json to reflect new configuration settings for the image moderation feature.
    “wangming” authored
     
    Browse Dir »




  • - 修复全员战报明细到店数统计问题:确保到店数不超过拓客数,同一会员多次到店只统计一次
    - 修复全部门店开单记录汇总导出接口返回格式:使用统一的响应格式(code, msg, data)
    - 添加 lq_xh_hyhk 表备注字段功能:支持备注字段的创建、更新、查询和导出
    - 优化到店数统计SQL逻辑:先获取拓客会员列表(去重),再统计有到店记录的会员数
    “wangming” authored
     
    Browse Dir »



  • 1. 工资查询接口优化:
       - 修改所有9个薪酬服务的员工工资查询接口
       - 只能查询已锁定且未确认的工资(IsLocked=1 && EmployeeConfirmStatus!=1)
       - 员工确认工资后无法再次查看
       - 更新接口注释说明新的查询逻辑
    
    2. 用户列表接口增强:
       - 添加门店ID(mdid)搜索功能
       - 添加岗位(gw)搜索功能
       - 添加启用状态(enabledMark)筛选功能
       - 支持组合搜索(门店ID+岗位+状态)
    
    3. 文档和测试:
       - 新增员工工资查询接口逻辑梳理文档
       - 新增用户列表搜索功能测试脚本
    “wangming” authored
     
    Browse Dir »
  • - 修改店长工资计算:产品物料基于领取时间,只统计已领取记录
    - 修改主任工资计算:产品物料基于领取时间,只统计已领取记录
    - 修改事业部总经理/经理工资计算:产品物料基于领取时间,只统计已领取记录
    - 修改门店股份统计:产品成本和福田成本基于领取时间,只统计已领取记录
    - 新增数据核对报告和SQL更新脚本
    “wangming” authored
     
    Browse Dir »
  • “wangming” authored
     
    Browse Dir »
  • 1. 修复产品物料查询逻辑:
       - 修改所有工资服务中的产品物料查询逻辑
       - 从'11月特殊规则'改为'计算本月工资时使用上月数据'
       - 支持跨年处理(1月工资使用上一年12月数据)
    
    2. 添加成本信息字段显示:
       - 在店长工资列表页面添加成本信息分组(销售业绩、产品物料、合作项目成本、店内支出、洗毛巾费用)
       - 在店长工资详情页面添加成本信息部分
       - 在导出功能中添加成本相关字段
       - 在导入功能中添加成本相关字段的处理逻辑
    
    3. 修改的文件:
       - LqStoreManagerSalaryService.cs(店长工资服务)
       - LqDirectorSalaryService.cs(主任工资服务)
       - LqBusinessUnitManagerSalaryService.cs(事业部总经理/经理工资服务)
       - shop.vue(店长工资列表页面)
       - shop-detail-dialog.vue(店长工资详情页面)
       - LqBusinessUnitManagerSalaryStatisticsEntity.cs(实体类注释)
    “wangming” authored
     
    Browse Dir »

  • - 修复科技部总经理工资计算中Cell金额计算逻辑
    - 更新主任工资相关服务和前端页面
    - 优化科技部老师工资计算逻辑
    - 更新客户信息服务和报销申请服务
    - 修复系统映射器和权限模型
    - 完善工资管理前端页面显示
    “wangming” authored
     
    Browse Dir »
  • - Updated the layout structure to improve UI consistency and user experience.
    - Simplified the search form by removing unnecessary fields and enhancing the design.
    - Added new buttons for batch actions and improved the visibility of the header section.
    - Implemented a clear selection feature for better user interaction.
    - Enhanced table columns with overflow tooltips for better data visibility.
    - Updated styles for a more modern look and feel, including responsive design adjustments.
    “wangming” authored
     
    Browse Dir »

  • - 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 »
  • - 在IAuthorizeService接口中添加GetCurrentUserAppModuleAuthorize方法
    - 在AuthorizeService中实现根据用户角色获取App权限的逻辑
    - 在UsersCurrentService中添加GetAppAuthorize接口(GET /api/permission/Users/Current/AppAuthorize)
    - 权限获取逻辑:根据用户角色从权限表中获取Category为'App'的模块权限
    - 管理员返回所有App权限,普通用户返回角色权限
    - 返回树形结构的App权限列表
    
    其他修改:
    - 更新门店看板相关功能
    - 更新会员相关功能
    - 更新样式文件
    “wangming” authored
     
    Browse Dir »
  • - 更新LqXhHyhkService服务
    - 更新ConsumeItemDetailListOutput DTO
    - 更新开发环境配置
    “wangming” authored
     
    Browse Dir »
  • …der person count and conversion rate metrics. Added logic to deduplicate order statistics by teacher ID, order date, and member ID, improving performance and data accuracy.
    “wangming” authored
     
    Browse Dir »

  • - 更新工资服务类和相关DTO输出类
    - 涉及店助、总监、事业部经理、大项目总监、大项目老师、健康师、门店、技术总经理、科学老师等工资相关服务
    “wangming” authored
     
    Browse Dir »
  • - 将remarks中的```json代码块改为<code>标签(XML注释中不能使用```)
    - 为所有缺少注释的接口添加了完整的summary和remarks
    - 统一了所有9个工资服务确认接口的注释格式
    - 包含示例请求、参数说明、注意事项等完整信息
    
    修复的接口:
    1. LqSalaryService (健康师)
    2. LqTechTeacherSalaryService (科技部老师)
    3. LqAssistantSalaryService (店助)
    4. LqStoreManagerSalaryService (店长)
    5. LqDirectorSalaryService (主任)
    6. LqMajorProjectTeacherSalaryService (大项目老师)
    7. LqMajorProjectDirectorSalaryService (大项目主管)
    8. LqTechGeneralManagerSalaryService (科技部总经理)
    9. LqBusinessUnitManagerSalaryService (事业部总经理)
    “wangming” authored
     
    Browse Dir »

  • “wangming” authored
     
    Browse Dir »
  • - 在多个薪酬统计实体中新增员工确认状态、确认时间和确认备注字段
    - 这些字段用于记录员工对薪酬数据的确认情况,提升数据管理的准确性和可追溯性
    - 涉及的实体包括:LqAssistantSalaryStatisticsEntity, LqBusinessUnitManagerSalaryStatisticsEntity, LqDirectorSalaryStatisticsEntity, LqMajorProjectDirectorSalaryStatisticsEntity, LqMajorProjectTeacherSalaryStatisticsEntity, LqSalaryStatisticsEntity, LqStoreManagerSalaryStatisticsEntity, LqTechGeneralManagerSalaryStatisticsEntity, LqTechTeacherSalaryStatisticsEntity
    “wangming” authored
     
    Browse Dir »
  • - 移除9个薪酬服务列表查询方法中的自动计算工资逻辑
    - 列表查询现在只负责查询已存在的工资数据
    - 工资计算功能需要单独调用计算接口
    - 新增健康师工资核算规则说明文档
    - 新增员工门店归属变更问题分析与解决方案文档
    - 新增员工门店归属快照表方案详细设计文档
    
    涉及服务:
    1. LqSalaryService (健康师工资)
    2. LqTechTeacherSalaryService (科技部老师工资)
    3. LqAssistantSalaryService (店助工资)
    4. LqStoreManagerSalaryService (店长工资)
    5. LqDirectorSalaryService (主任工资)
    6. LqMajorProjectTeacherSalaryService (大项目老师工资)
    7. LqMajorProjectDirectorSalaryService (大项目主管工资)
    8. LqTechGeneralManagerSalaryService (科技部总经理工资)
    9. LqBusinessUnitManagerSalaryService (事业部总经理工资)
    “wangming” authored
     
    Browse Dir »