| | |
| | | package com.ruoyi.system.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.system.mapper.TBillDetailMapper; |
| | | import com.ruoyi.system.model.TBillDetail; |
| | | import com.ruoyi.system.model.TOrderBill; |
| | | import com.ruoyi.system.service.TBillDetailService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class TBillDetailServiceImpl extends ServiceImpl<TBillDetailMapper, TBillDetail> implements TBillDetailService { |
| | | |
| | | @Override |
| | | public List<TBillDetail> getByBillId(@NotEmpty String billId) { |
| | | return list(new LambdaQueryWrapper<TBillDetail>().eq(TBillDetail::getBillId,billId)); |
| | | } |
| | | } |