|
|
@@ -33,10 +33,10 @@ public interface PurchaseAcceptItemDao extends JpaSpecificationExecutor<Purchase
|
|
|
@Param("number") Short number);
|
|
|
|
|
|
/**
|
|
|
- * 根据企业enUU获取当前企业最近三个月(订单时间or验收单时间?)有验收单的数据,只返回有验收单的订单和订单明细
|
|
|
- * @param enUU
|
|
|
- * @param needStartDate
|
|
|
- * @param needEndDate
|
|
|
+ * 根据企业enUU获取当前企业最近三个月(订单时间)有验收单的数据,只返回有验收单的订单和订单明细
|
|
|
+ * @param enUU 卖方uu
|
|
|
+ * @param needStartDate 起始时间
|
|
|
+ * @param needEndDate 结束时间
|
|
|
* @return
|
|
|
*/
|
|
|
@Query("from PurchaseAcceptItem p where p.accept.vendUU = :enUU and p.orderItem.order.date >= :startDate and p.orderItem.order.date <= :endDate and p.orderItem.order.currency = 'RMB'")
|
|
|
@@ -44,10 +44,10 @@ public interface PurchaseAcceptItemDao extends JpaSpecificationExecutor<Purchase
|
|
|
|
|
|
/**
|
|
|
* 根据验收单明细ID获取数据
|
|
|
- * @param enUU
|
|
|
- * @param ids
|
|
|
+ * @param enUU 卖方uu
|
|
|
+ * @param ids 明细id
|
|
|
* @return
|
|
|
*/
|
|
|
@Query("from PurchaseAcceptItem p where p.accept.vendUU = :enUU and p.id in :ids")
|
|
|
- List<PurchaseAcceptItem> findPurcAcceptByItemIds(@Param("enUU") Long enUU,@Param("ids") List<Long> ids);
|
|
|
+ List<PurchaseAcceptItem> findPurcAcceptByItemIds(@Param("enUU") Long enUU, @Param("ids") List<Long> ids);
|
|
|
}
|