From fd164b9991adc94abee5bd987040283770e0a73c Mon Sep 17 00:00:00 2001 From: leej1012 Date: Mon, 3 Jul 2023 15:56:27 +0800 Subject: [PATCH] Update NodeInspire --- .../main/java/com/github/ontio/model/dao/NodeInspire.java | 6 ++++++ .../src/main/resources/mapper/NodeInspireMapper.xml | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/back-end-projects/Explorer/src/main/java/com/github/ontio/model/dao/NodeInspire.java b/back-end-projects/Explorer/src/main/java/com/github/ontio/model/dao/NodeInspire.java index 0ba30fae..34aefa73 100644 --- a/back-end-projects/Explorer/src/main/java/com/github/ontio/model/dao/NodeInspire.java +++ b/back-end-projects/Explorer/src/main/java/com/github/ontio/model/dao/NodeInspire.java @@ -30,6 +30,12 @@ public class NodeInspire { @Column(name = "current_stake") private Long currentStake; + @Column(name = "init_pos") + private Long initPos; + + @Column(name = "total_pos") + private Long totalPos; + @Column(name = "node_released_ong_incentive") private Long nodeReleasedOngIncentive; diff --git a/back-end-projects/Explorer/src/main/resources/mapper/NodeInspireMapper.xml b/back-end-projects/Explorer/src/main/resources/mapper/NodeInspireMapper.xml index e5d9bcea..b85718c5 100644 --- a/back-end-projects/Explorer/src/main/resources/mapper/NodeInspireMapper.xml +++ b/back-end-projects/Explorer/src/main/resources/mapper/NodeInspireMapper.xml @@ -7,6 +7,8 @@ + + @@ -32,6 +34,8 @@ name, status, current_stake, + init_pos, + total_pos, node_released_ong_incentive, node_released_ong_incentive_rate, user_released_ong_incentive,