|
|
@@ -28,7 +28,7 @@ import org.hibernate.annotations.Where;
|
|
|
*/
|
|
|
@Table(name = "purc$orders", indexes = { @Index(name = "purc$orders_date", columnList = "pu_date") })
|
|
|
@Entity
|
|
|
-@Where(clause = "pu_status=200")
|
|
|
+@Where(clause = "pu_status=200 and coalesce(pu_end,0) <> 1")
|
|
|
public class PurchaseOrderTodo {
|
|
|
|
|
|
@Id
|