mirror of
https://gitee.com/freshday/radar.git
synced 2025-12-26 07:16:26 +08:00
fix: 规则修改历史。
Signed-off-by: feihu.wang <wfh45678@163.com>
This commit is contained in:
parent
f999b5183b
commit
12a41d464b
@ -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({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user