| | |
| | | import com.mzl.flower.dto.response.supplier.SupplierDTO; |
| | | import com.mzl.flower.entity.supplier.Supplier; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | |
| | | |
| | | SupplierDTO findSupplierDetail(@Param("id")Long id); |
| | | |
| | | |
| | | @Select("select * from t_supplier_info where contact_tel =#{phone}") |
| | | SupplierDTO findSupplierByPhone(@Param("phone") String phone); |
| | | |
| | | SupplierDTO getCurrentSupplier(@Param("userId")String userId); |
| | | } |