| | |
| | | import com.mzl.flower.dto.response.supplier.SupplierSubVO; |
| | | import com.mzl.flower.entity.supplier.SupplierSub; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | |
| | | @Repository |
| | | public interface SupplierSubMapper extends BaseMapper<SupplierSub> { |
| | | List<SupplierSubVO> querySupplierSub(@Param("dto") QuerySupplierSubDTO dto, Page page); |
| | | |
| | | |
| | | @Select("select * from t_supplier_sub_info where deleted = '0' and user_id = #{id}") |
| | | SupplierSub getCurrentSupplier(String id); |
| | | |
| | | @Select("select * from t_supplier_sub_info where deleted = '0' and supplier_id = #{supplierId}") |
| | | List<SupplierSub> getSubSupplier(String supplierId); |
| | | } |