Kaynağa Gözat

模具询价红点链接调用和数据库查询错误问题

wangmh 8 yıl önce
ebeveyn
işleme
eb53fdb594

+ 1 - 1
src/main/java/com/uas/platform/b2b/dao/PurchaseInquiryMouldDao.java

@@ -171,5 +171,5 @@ public interface PurchaseInquiryMouldDao
 	 * @return
 	 */
 	@Query("select p.id from PurchaseInquiryMould p where p.id in :ids and p.status=200 and p.adoptStatus is null and p.valid <> 0")
-    MRUFileManager findNotReplyId(List<Long> ids);
+	List<Long> findNotReplyId(@Param("ids") List<Long> ids);
 }

+ 1 - 1
src/main/java/com/uas/platform/b2b/dao/PurchaseProofingItemDao.java

@@ -55,7 +55,7 @@ public interface PurchaseProofingItemDao extends JpaSpecificationExecutor<Purcha
 	 * @return 筛选之后的id
 	 */
 	@Query("select p.id from PurchaseProofingItem p where p.id in :ids and p.status = 400")
-	List<Object[]> findNotReplyId(@Param("ids") List<Long> ids);
+	List<Long> findNotReplyId(@Param("ids") List<Long> ids);
 
 	/**
 	 * 从单据中筛选出已送样的单据

+ 1 - 1
src/main/webapp/resources/js/index/app.js

@@ -5553,7 +5553,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             if (!$scope.unread.replied || $scope.unread.replied == 0) {
                 return;
             }
-            PurcInquiry.setReadByState({}, function () {
+            PurcInquiryMould.setReadByState({}, function () {
                 getUnreadIds();
                 getUnreadCount();
             });