| | |
| | | private Long id; |
| | | @ApiModelProperty(hidden = true) |
| | | private Integer level; |
| | | private String appId; |
| | | } |
| | |
| | | @GetMapping("/expertShowList") |
| | | public R expertShowList(@RequestParam(value = "level",required = false)Integer level, |
| | | @RequestParam(value = "id",required = false)Long id){ |
| | | return comSanShuoExpertService.expertShowList(level,id); |
| | | return comSanShuoExpertService.expertShowList(level,id,this.getLoginUserInfo().getAppId()); |
| | | } |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 专家风采列表 |
| | | * */ |
| | | R expertShowList(Integer level, Long id); |
| | | R expertShowList(Integer level, Long id,String appId); |
| | | |
| | | /** |
| | | * Excel添加专家 |
| | |
| | | * 专家风采列表 |
| | | * */ |
| | | @Override |
| | | public R expertShowList(Integer level, Long id) { |
| | | public R expertShowList(Integer level, Long id,String appId) { |
| | | QueryWrapper<ComSanshuoExpert> wrapper=new QueryWrapper<>(); |
| | | wrapper.eq("level",level ); |
| | | wrapper.eq("app_id",appId); |
| | | if (level.equals(2)){ |
| | | wrapper.eq("industry_center_id", id); |
| | | }else if (level.equals(3)){ |
| | |
| | | left join com_sanshuo_expert t1 on t.specialist_id=t1.id |
| | | where t.event_process_status not in (9) |
| | | and t1.level=4 |
| | | AND app_id='wx0cef797390444b75' |
| | | </select> |
| | | <select id="expertSolveCountCenter" resultType="java.lang.Integer"> |
| | | select count(t.id) from com_sanshuo_event_info t |
| | | left join com_sanshuo_expert t1 on t.specialist_id=t1.id |
| | | where t.event_process_status not in (9) |
| | | and t1.level=2 |
| | | AND app_id='wx0cef797390444b75' |
| | | </select> |
| | | <update id="updateLog"> |
| | | update com_sanshuo_expert_event set status = 2 |