|
@@ -74,5 +74,26 @@ public interface PurchaseOrderAllDao extends JpaSpecificationExecutor<PurchaseOr
|
|
|
*/
|
|
*/
|
|
|
@Query("select count(p) from PurchaseOrderAll p where p.vendUU = :vendUU")
|
|
@Query("select count(p) from PurchaseOrderAll p where p.vendUU = :vendUU")
|
|
|
public long countByVendUU(@Param("vendUU")Long vendUU);
|
|
public long countByVendUU(@Param("vendUU")Long vendUU);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询购物车信息
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param uu
|
|
|
|
|
+ * @param value
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public List<PurchaseOrderAll> findByEnUUAndStatus(Long uu, Short value);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询购物车数量
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param uu
|
|
|
|
|
+ * @param userUU
|
|
|
|
|
+ * @param value
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ @Query("select count(o) from PurchaseOrderAll o where o.enUU = :enUU and o.userUU = :userUU and o.status = :status")
|
|
|
|
|
+ public int getTodoCountByEnUUAndUserUUAndStatus(@Param("enUU") Long enUU, @Param("userUU") Long userUU,
|
|
|
|
|
+ @Param("status") Short status);
|
|
|
|
|
|
|
|
}
|
|
}
|