大数据页面bug修改。

This commit is contained in:
Renpc-kilig 2020-12-18 11:06:58 +08:00
parent 1bfb3b0d32
commit 8667b7151f
2 changed files with 5 additions and 2 deletions

View File

@ -156,9 +156,8 @@ public class PartyOrganizeResourceController extends AbstractController {
}) })
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@GetMapping("bigdata" + ISystemConstant.APP_RELEASE_SUFFIX) @GetMapping("bigdata" + ISystemConstant.APP_RELEASE_SUFFIX)
SuccessResultData<Map<String, Object>> bigData(@RequestParam("belongLevel") String belongLevel) throws SearchException { SuccessResultData<Map<String, Object>> bigData() throws SearchException {
Map<String, Object> params = requestParams(); Map<String, Object> params = requestParams();
params.put("belongLevel", belongLevel);
return partyOrganizeService.bigData(params); return partyOrganizeService.bigData(params);
} }

View File

@ -436,6 +436,10 @@
<if test="belongLevel != null and belongLevel != ''"> <if test="belongLevel != null and belongLevel != ''">
AND t1.belong_level = #{belongLevel} AND t1.belong_level = #{belongLevel}
</if> </if>
<if test="partyOrganizeId != null and partyOrganizeId != ''">
AND
t1.party_organize_id = #{partyOrganizeId}
</if>
</select> </select>
<!-- 党组织统计 --> <!-- 党组织统计 -->