|
|
@ -77,9 +77,10 @@ public class TopicController extends JeecgController<Topic, ITopicService> { |
|
|
|
public Result<IPage<Topic>> queryPageList(Topic topic, |
|
|
|
public Result<IPage<Topic>> queryPageList(Topic topic, |
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo, |
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
|
|
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize, |
|
|
|
HttpServletRequest req) { |
|
|
|
HttpServletRequest req,@RequestParam(name="annualCompid",required=true) String annualCompid) { |
|
|
|
LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
|
|
|
LoginUser user = (LoginUser) SecurityUtils.getSubject().getPrincipal(); |
|
|
|
String orgCode = user.getOrgCode(); |
|
|
|
String orgCode = user.getOrgCode(); |
|
|
|
|
|
|
|
System.out.println(annualCompid); |
|
|
|
topic.setSysOrgCode(orgCode); |
|
|
|
topic.setSysOrgCode(orgCode); |
|
|
|
QueryWrapper<Topic> queryWrapper = QueryGenerator.initQueryWrapper(topic, req.getParameterMap()); |
|
|
|
QueryWrapper<Topic> queryWrapper = QueryGenerator.initQueryWrapper(topic, req.getParameterMap()); |
|
|
|
Page<Topic> page = new Page<Topic>(pageNo, pageSize); |
|
|
|
Page<Topic> page = new Page<Topic>(pageNo, pageSize); |
|
|
|