云
16 小时以前 795bc269ba9acfae74620059c4ed64bd121aa288
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cn.iocoder.yudao.module.mdm.dal.mysql.agent;
 
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.module.mdm.dal.dataobject.agent.MdmAgentImportCommandRowDO;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
 
@Mapper
public interface MdmAgentImportCommandRowMapper extends BaseMapperX<MdmAgentImportCommandRowDO> {
 
    default List<MdmAgentImportCommandRowDO> selectListByCommandId(String commandId) {
        return selectList(new LambdaQueryWrapperX<MdmAgentImportCommandRowDO>()
                .eq(MdmAgentImportCommandRowDO::getCommandId, commandId)
                .orderByAsc(MdmAgentImportCommandRowDO::getSourceRow)
                .orderByAsc(MdmAgentImportCommandRowDO::getId));
    }
}