feat: 增加一点测试
This commit is contained in:
@@ -55,4 +55,20 @@ public class Daily extends SimpleEntity {
|
||||
@JoinColumn(nullable = false)
|
||||
@ToString.Exclude
|
||||
private Stock stock;
|
||||
|
||||
public Double getHfqOpen() {
|
||||
return open * factor;
|
||||
}
|
||||
|
||||
public Double getHfqClose() {
|
||||
return close * factor;
|
||||
}
|
||||
|
||||
public Double getHfqHigh() {
|
||||
return high * factor;
|
||||
}
|
||||
|
||||
public Double getHfqLow() {
|
||||
return low * factor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user