Commit b0ac0c1b by 朱亚洁

feat:[none]二维码筛选

parent 2b7a5f6d
...@@ -170,7 +170,8 @@ public interface BookGroupFacade { ...@@ -170,7 +170,8 @@ public interface BookGroupFacade {
@RequestParam(value = "purLabelId", required = false) @ApiParam("目的") Long purLabelId, @RequestParam(value = "purLabelId", required = false) @ApiParam("目的") Long purLabelId,
@RequestParam(value = "firstClassifyId", required = false) @ApiParam("分类") Long firstClassifyId, @RequestParam(value = "firstClassifyId", required = false) @ApiParam("分类") Long firstClassifyId,
@RequestParam(value = "gradeLabelId", required = false) @ApiParam("年级") Long gradeLabelId, @RequestParam(value = "gradeLabelId", required = false) @ApiParam("年级") Long gradeLabelId,
@RequestParam(value = "subjectLabelId", required = false) @ApiParam("科目") Long subjectLabelId) @RequestParam(value = "subjectLabelId", required = false) @ApiParam("科目") Long subjectLabelId,
@RequestParam(value = "jumpType", required = false) Integer jumpType)
throws BizException, PermissionException; throws BizException, PermissionException;
@ApiOperation(value = "获取社群书列表(运营)", httpMethod = "POST") @ApiOperation(value = "获取社群书列表(运营)", httpMethod = "POST")
......
...@@ -249,7 +249,8 @@ public class BookGroupFacadeImpl implements BookGroupFacade { ...@@ -249,7 +249,8 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
@RequestParam(value = "purLabelId", required = false) @ApiParam("目的") Long purLabelId, @RequestParam(value = "purLabelId", required = false) @ApiParam("目的") Long purLabelId,
@RequestParam(value = "firstClassifyId", required = false) @ApiParam("分类") Long firstClassifyId, @RequestParam(value = "firstClassifyId", required = false) @ApiParam("分类") Long firstClassifyId,
@RequestParam(value = "gradeLabelId", required = false) @ApiParam("年级") Long gradeLabelId, @RequestParam(value = "gradeLabelId", required = false) @ApiParam("年级") Long gradeLabelId,
@RequestParam(value = "subjectLabelId", required = false) @ApiParam("科目") Long subjectLabelId) @RequestParam(value = "subjectLabelId", required = false) @ApiParam("科目") Long subjectLabelId,
@RequestParam(value = "jumpType", required = false) Integer jumpType)
throws BizException, PermissionException { throws BizException, PermissionException {
Long adviserId = (Long) SessionUtil.getVlaue(token, SessionUtil.PARTY_ID); Long adviserId = (Long) SessionUtil.getVlaue(token, SessionUtil.PARTY_ID);
if (currentPage == null || numPerPage == null || currentPage < 0 || numPerPage < 0) { if (currentPage == null || numPerPage == null || currentPage < 0 || numPerPage < 0) {
...@@ -281,6 +282,7 @@ public class BookGroupFacadeImpl implements BookGroupFacade { ...@@ -281,6 +282,7 @@ public class BookGroupFacadeImpl implements BookGroupFacade {
} }
paramMap.put("hasServe", hasServe); paramMap.put("hasServe", hasServe);
paramMap.put("isPrint", isPrint); paramMap.put("isPrint", isPrint);
paramMap.put("jumpType", jumpType);
PageBean pageBean = bookGroupBiz.listBookGroup4Adviser(paramMap, new PageParam(currentPage, numPerPage), adviserId); PageBean pageBean = bookGroupBiz.listBookGroup4Adviser(paramMap, new PageParam(currentPage, numPerPage), adviserId);
return new ResponseDto<>(pageBean); return new ResponseDto<>(pageBean);
} }
......
...@@ -730,6 +730,9 @@ ...@@ -730,6 +730,9 @@
${item} ${item}
</foreach> </foreach>
</if> </if>
<if test="jumpType != null">
AND G.jump_type = #{jumpType} AND G.join_group_type = 4
</if>
GROUP BY G.id GROUP BY G.id
<if test="hasServe!=null and hasServe==true"> <if test="hasServe!=null and hasServe==true">
having has_serve=1 having has_serve=1
......
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