package com.by4cloud.platformx.business.service.impl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.by4cloud.platformx.business.entity.ContractSubjectMatter; import com.by4cloud.platformx.business.mapper.ContractSubjectMatterMapper; import com.by4cloud.platformx.business.service.ContractSubjectMatterService; import com.by4cloud.platformx.business.vo.ContractSubjectMatterVo; import com.by4cloud.platformx.common.core.util.R; import com.by4cloud.platformx.common.data.mybatis.BaseModel; import com.github.yulichang.wrapper.MPJLambdaWrapper; import org.springframework.stereotype.Service; import java.util.List; /** * 合同标的物明细表 * * @author platformx * @date 2026-04-29 16:39:29 */ @Service public class ContractSubjectMatterServiceImpl extends ServiceImpl implements ContractSubjectMatterService { @Override public R selectSubjectMatterProcess(Long id) { MPJLambdaWrapper wrapper = new MPJLambdaWrapper() .selectAll(ContractSubjectMatter.class) .eq(ContractSubjectMatter::getContractId,id) .orderByAsc(ContractSubjectMatter::getCreateTime); List matterVoList = baseMapper.selectJoinList(ContractSubjectMatterVo.class,wrapper); return R.ok(matterVoList); } }