refactor(flow): 移除设备维护计划详情中的巡检记录和设备ID字段

- 从 EqpMaintenancePlanDetail 实体类中移除 recordId 和 equipmentId 字段
- 从 EqpMaintenancePlanDetailBo 中删除 recordId 和 equipmentId 属性定义
- 在 MyBatis 映射文件中移除 recordId 和 equipmentId 的结果映射
- 从查询条件中移除对 recordId 和 equipmentId 的过滤逻辑
- 从 EqpMaintenancePlanDetailVo 中删除相关字段及其 Excel 导出注解
- 修改前端代码以适应该字段移除,在添加维护计划异常时不再传递 recordId 参数
This commit is contained in:
2026-07-03 15:14:08 +08:00
parent d7bf12d880
commit 6fce4105ab
6 changed files with 1 additions and 38 deletions

View File

@@ -62,8 +62,6 @@ public class EqpMaintenancePlanDetailServiceImpl implements IEqpMaintenancePlanD
Map<String, Object> params = bo.getParams();
LambdaQueryWrapper<EqpMaintenancePlanDetail> lqw = Wrappers.lambdaQuery();
lqw.eq(bo.getPlanId() != null, EqpMaintenancePlanDetail::getPlanId, bo.getPlanId());
lqw.eq(bo.getRecordId() != null, EqpMaintenancePlanDetail::getRecordId, bo.getRecordId());
lqw.eq(bo.getEquipmentId() != null, EqpMaintenancePlanDetail::getEquipmentId, bo.getEquipmentId());
lqw.eq(StringUtils.isNotBlank(bo.getProductionLine()), EqpMaintenancePlanDetail::getProductionLine, bo.getProductionLine());
lqw.like(StringUtils.isNotBlank(bo.getComponentName()), EqpMaintenancePlanDetail::getComponentName, bo.getComponentName());
lqw.eq(bo.getItemPlanDate() != null, EqpMaintenancePlanDetail::getItemPlanDate, bo.getItemPlanDate());