feat(aps): 添加排产单明细分页查询合同的技术涵

- 在ApsPlanDetailMapper中新增selectVoPagePlus方法支持分页查询
- 在ApsPlanDetailMapper.xml中添加对应的SQL查询语句
- 在ApsPlanDetailServiceImpl中实现分页查询逻辑和查询条件构建
- 在ApsPlanDetailVo中添加techAnnex字段用于显示技术附件信息
- 集成MyBatis-Plus分页插件和查询包装器功能
- 优化查询条件构建,支持按计划单ID、订单ID、合同编号等多条件筛选
- 实现按创建时间倒序排列的排序功能
This commit is contained in:
2026-04-06 10:36:50 +08:00
parent 82c801cf9c
commit e82d015cea
4 changed files with 71 additions and 2 deletions

View File

@@ -1,8 +1,12 @@
package com.klp.aps.mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.klp.aps.domain.entity.ApsPlanDetail;
import com.klp.aps.domain.vo.ApsPlanDetailVo;
import com.klp.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import java.util.Collection;
@@ -15,4 +19,6 @@ import java.util.Collection;
public interface ApsPlanDetailMapper extends BaseMapperPlus<ApsPlanDetailMapper, ApsPlanDetail, ApsPlanDetailVo> {
int deleteByPlanSheetIds(Collection<Long> planSheetIds);
Page<ApsPlanDetailVo> selectVoPagePlus(Page<ApsPlanDetailVo> page, @Param("ew") QueryWrapper<ApsPlanDetail> queryWrapper);
}