@@ -130,7 +130,7 @@ public interface PurchaseOrderChangeDao extends JpaSpecificationExecutor<Purchas
* @param orderId 采购单id
* @return
*/
- @Query("select p from PurchaseOrderChange p where p.orderId = :orderId and (p.agreed <> 1 or p.agreed <> 0) and p.unNeedReply=0")
+ @Query("select p from PurchaseOrderChange p where p.orderId = :orderId and p.agreed is null and p.unNeedReply=0")
List<PurchaseOrderChange> findByOrderId(@Param("orderId") Long orderId);
}