Commit ff60ca20 by “zcwang”

add: 列表查询

parent b3e0120a
......@@ -612,6 +612,7 @@ public class ChangeFlowBiz {
}
public PageInfo<ChangeFlowVO> query(Integer page, Integer pageSize, ChangeFlowListQueryReq changeFlowListQueryReq) {
log.info("[query] page:{}, pageSize:{}, changeFlowListQueryReq:{}", page, pageSize, JSON.toJSONString(changeFlowListQueryReq));
//进行分页
PageHelper.startPage(page,pageSize);
List<ChangeRecord> changeRecords = changeRecordMapper.selectByCondition(changeFlowListQueryReq);
......
......@@ -28,6 +28,9 @@ import lombok.NoArgsConstructor;
@Data
public class ChangeFlowVO {
/**
* 主键id
*/
private Long id;
/**
......
......@@ -30,8 +30,8 @@ public class WebMvcConfig implements WebMvcConfigurer{
*/
@Override
public void addInterceptors(InterceptorRegistry registry) {
/*registry.addInterceptor(userInterceptor).addPathPatterns("/**");
registry.addInterceptor(loginInterceptor).addPathPatterns("/**").excludePathPatterns("/change/flow/getOperator");*/
registry.addInterceptor(userInterceptor).addPathPatterns("/**");
// registry.addInterceptor(loginInterceptor).addPathPatterns("/**").excludePathPatterns("/change/flow/getOperator");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment