git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8201 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
@@ -138,4 +138,12 @@ public interface PurchaseInquiryItemDao
@Query("select count(p) from PurchaseInquiryItem p where p.vendUU = :vendUU")
public long countByVendUU(@Param("vendUU") Long vendUU);
+ /**
+ * 查询单据是否存在
+ *
+ * @param enuu
+ * @param sourceId
+ * @return
+ */
+ public PurchaseInquiryItem findByVendUUAndSourceId(Long enuu, Long sourceId);
}