|
|
@@ -0,0 +1,22 @@
|
|
|
+package com.uas.platform.b2b.dao;
|
|
|
+
|
|
|
+import com.uas.platform.b2b.model.PurchaseOrderCart;
|
|
|
+import org.springframework.data.jpa.repository.JpaRepository;
|
|
|
+import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
|
|
+import org.springframework.stereotype.Repository;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * Created by hejq on 2017-09-01.
|
|
|
+ */
|
|
|
+@Repository
|
|
|
+public interface PurchaseOrderCartDao extends JpaRepository<PurchaseOrderCart, Long>, JpaSpecificationExecutor<PurchaseOrderCart> {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询当前企业的购物车信息
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ List<PurchaseOrderCart> findByEnUUAndStatus(Long enUU, Short status);
|
|
|
+}
|