feat(order): 订单项查询中增加订单详情信息
- 在 CrmOrderBo 中新增 orderIds 字段用于批量查询 - 在 CrmOrderItemServiceImpl 中注入 ICrmOrderService 并实现订单信息关联查询 - 在 CrmOrderItemVo 中新增 orderInfo 字段存储订单详情 - 扩展 CrmOrderMapper 接口增加 selectVoPagePlus 批量查询方法 - 修改 CrmOrderServiceImpl 查询逻辑支持按订单ID列表过滤 - 在订单项分页查询时批量获取并关联订单基本信息
This commit is contained in:
@@ -7,6 +7,8 @@ import com.klp.crm.domain.vo.CrmOrderVo;
|
||||
import com.klp.common.core.mapper.BaseMapperPlus;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 正式订单主Mapper接口
|
||||
*
|
||||
@@ -16,6 +18,7 @@ import org.apache.ibatis.annotations.Param;
|
||||
public interface CrmOrderMapper extends BaseMapperPlus<CrmOrderMapper, CrmOrder, CrmOrderVo> {
|
||||
|
||||
Page<CrmOrderVo> selectVoPagePlus(Page<Object> build,@Param("ew") QueryWrapper<CrmOrder> lqw);
|
||||
List<CrmOrderVo> selectVoPagePlus(@Param("ew") QueryWrapper<CrmOrder> qw);
|
||||
|
||||
CrmOrderVo selectVoById(@Param("orderId") String orderId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user