cloudroam
2025-03-28 4e5c47ee19caf98810b4ee50661fc141c4d7478f
src/main/java/com/mzl/flower/mapper/supplier/SupplierMapper.java
@@ -6,6 +6,7 @@
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;
@@ -16,5 +17,9 @@
    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);
}