fix: 规则修改历史。

Signed-off-by: feihu.wang <wfh45678@163.com>
This commit is contained in:
feihu.wang 2019-12-04 17:50:25 +08:00
parent f999b5183b
commit 12a41d464b
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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({