mirror of
https://gitee.com/freshday/radar.git
synced 2026-03-22 04:37:16 +08:00
@@ -118,7 +118,7 @@ public class RuleDalImpl implements RuleDal {
|
||||
public PageResult<RuleHistoryVO> queryHistory(RuleHistoryQuery query) {
|
||||
PageHelper.startPage(query.getPageNo(), query.getPageSize());
|
||||
|
||||
Example example = new Example(RuleHistoryVO.class);
|
||||
Example example = new Example(RuleHistoryPO.class);
|
||||
Example.Criteria criteria = example.createCriteria();
|
||||
criteria.andEqualTo("ruleId", query.getRuleId());
|
||||
List<RuleHistoryPO> list = ruleHistoryMapper.selectByExample(example);
|
||||
|
||||
@@ -49,7 +49,7 @@ export default class HistoryRecordList extends Component{
|
||||
param.ruleId=this.props.params.ruleId;
|
||||
|
||||
//此处为单条策略历史记录接口的获取,参数中应该有本条策略的id,否则无法区分
|
||||
FetchUtil('/ruleHistory','POST',JSON.stringify(param),
|
||||
FetchUtil('/rule/ruleHistory','POST',JSON.stringify(param),
|
||||
(data) => {
|
||||
this.setState({loading:false});
|
||||
this.setState({
|
||||
|
||||
Reference in New Issue
Block a user