增加 StockStrategy 服务,数据表建立及批量更新方法重写。解决多数据源配置 mapper-locations
无法识别并读取到对应数据源的 mapper.xml 及其 statement 方法的问题
This commit is contained in:
@@ -20,6 +20,15 @@ import lombok.experimental.Accessors;
|
||||
import quant.rich.emoney.mybatis.typehandler.CommaListTypeHandler;
|
||||
import quant.rich.emoney.mybatis.typehandler.JsonStringTypeHandler;
|
||||
|
||||
/**
|
||||
* 目前能想到的计划任务有三种
|
||||
* <ul>
|
||||
* <li>指标的抓取
|
||||
* <li>个股策略(/strategy, id=9400)的抓取
|
||||
* <li>选股策略的抓取
|
||||
* </ul>
|
||||
* 未来可能存在更多的计划任务, 所以需要考虑如何设计才能更好地兼容后续添加的任务类型
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@TableName(value = "plan", autoResultMap = true)
|
||||
|
||||
Reference in New Issue
Block a user