package com.chinaweal.aiccs.aiccs.abnormal.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.chinaweal.aiccs.aiccs.abnormal.entity.EAlterRecoderTemp;
import com.chinaweal.aiccs.aiccs.abnormal.mapper.EAlterRecoderTempMapper;
import com.chinaweal.aiccs.aiccs.abnormal.service.EAlterRecoderTempService;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class EAlterRecoderTempServiceImpl  extends BaseServiceImpl<EAlterRecoderTempMapper, EAlterRecoderTemp> implements EAlterRecoderTempService {
    @Override
    public List<EAlterRecoderTemp> queryEAlterTempByBizseq(String bizseq) {
        LambdaQueryWrapper<EAlterRecoderTemp> ecWrapper = new LambdaQueryWrapper<>();
        ecWrapper.eq(EAlterRecoderTemp::getBizseq, bizseq);
        List<EAlterRecoderTemp> eAlterRecoderTempList = this.list(ecWrapper);
        return eAlterRecoderTempList;
    }
}
