API接口全部完成
This commit is contained in:
parent
cfe5755a07
commit
06a585cd9a
@ -80,6 +80,9 @@ public class StockService {
|
|||||||
ComprehensiveEvaluationVO vo = new ComprehensiveEvaluationVO();
|
ComprehensiveEvaluationVO vo = new ComprehensiveEvaluationVO();
|
||||||
vo.setStock(stock);
|
vo.setStock(stock);
|
||||||
DiagnoseRankVO diagnoseRankVO = rank(stock);
|
DiagnoseRankVO diagnoseRankVO = rank(stock);
|
||||||
|
if (diagnoseRankVO == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
vo.setRank(diagnoseRankVO);
|
vo.setRank(diagnoseRankVO);
|
||||||
BigDecimal star = diagnoseRankVO.getTotalStar();
|
BigDecimal star = diagnoseRankVO.getTotalStar();
|
||||||
if (star == null) {
|
if (star == null) {
|
||||||
@ -128,7 +131,7 @@ public class StockService {
|
|||||||
Integer secMarPar = stock.getSecMarPar();
|
Integer secMarPar = stock.getSecMarPar();
|
||||||
// 总结性机器语 & 财务估值得分
|
// 总结性机器语 & 财务估值得分
|
||||||
FinancialValuationVO baseVO = financeMapper.selectFinancialValuation(secCode, mktNum);
|
FinancialValuationVO baseVO = financeMapper.selectFinancialValuation(secCode, mktNum);
|
||||||
if (baseVO != null) {
|
if (baseVO == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
FinancialValuationExtendVO vo = new FinancialValuationExtendVO();
|
FinancialValuationExtendVO vo = new FinancialValuationExtendVO();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user