| | |
| | | import cn.iocoder.yudao.module.crm.dal.dataobject.bidbond.CrmBidBondDO; |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | |
| | | .orderByDesc(CrmBidBondDO::getId)); |
| | | } |
| | | |
| | | @Select("SELECT * FROM crm_bid_bond WHERE id = #{id} AND deleted = 0 FOR UPDATE") |
| | | CrmBidBondDO selectByIdForUpdate(Long id); |
| | | |
| | | default CrmBidBondDO selectByNo(String no) { |
| | | return selectOne(CrmBidBondDO::getNo, no); |
| | | } |