• 新增 mes_cal_team / mes_cal_team_member / mes_cal_team_shift 三张表的完整后端实现:
    - SQL:三张表 DDL、菜单 INSERT(5220-5225)、测试数据
    - DO / Mapper / VO / Service / Controller 全套分层实现
    - MesCalTeamShiftServiceImpl 移植 genRecords 算法(单白班/两班倒/三班倒轮换),
      基于 Java 8 时间 API(LocalDate/ChronoUnit)替代原 Date/String 方案,@Async 异步执行
    - ErrorCodeConstants 追加 5 个错误码(CAL_TEAM_CODE_DUPLICATE、CAL_TEAM_MEMBER_NOT_EXISTS 等)
    
    设计说明:
    - mes_cal_team_member 去除冗余字段(user_name/nickname/telephone),通过 userId 关联查询
    - mes_cal_team_shift 去除冗余字段(team_name/shift_name/calendar_type/shift_type),通过外键关联查询
    - 循环依赖通过 @Lazy 注入解决
    
    修复已有 TODO:
    - MesCalPlanTeamDO:补充 @link MesCalTeamDO 关联注释
    - MesCalPlanServiceImpl.confirmPlan:接入 teamShiftService.genRecords(id)
    - MesCalPlanTeamController.getPlanTeamListByPlan:拼装班组编码/名称
    - MesCalPlanTeamRespVO:移除待办注释
    YunaiV authored
     
    Browse Dir »



  • 从 ktg-mes md_client 迁移到 yudao-module-mes,包含:
    - 新增 MesMdClientDO、Mapper、Service、Controller 全链路
    - 字段重命名对齐 yudao 规范(client_code→code, client_name→name 等)
    - client_type 由 varchar 改为 tinyint 字典(mes_client_type)
    - enable_flag 由 char(Y/N) 改为 status tinyint(CommonStatusEnum)
    - 创建/更新时校验 code、name、nickname 唯一性
    - Excel 导入支持创建/更新模式,含逐行校验与错误汇总
    - 新增 ErrorCodeConstants(1_040_103_000~004)和 DictTypeConstants
    YunaiV authored
     
    Browse Dir »