Merge branch 'local_20221010' into huacheng_test
| | |
| | | @ApiOperation(value = "分页展示操作日志", response = SysOperLogVO.class) |
| | | @PostMapping("pageoperlog") |
| | | public R pageOperLog(@RequestBody SysOperLogVO sysOperLogVO) { |
| | | sysOperLogVO.setCommunityId(0l); |
| | | // sysOperLogVO.setCommunityId(0l); |
| | | // sysOperLogVO.setAreaCode(this.getAreaCode()); |
| | | return userService.pageOperLog(sysOperLogVO); |
| | | } |
| | |
| | | |
| | | |
| | | <select id="pageOperLog" resultType="com.panzhihua.common.model.vos.user.SysOperLogVO"> |
| | | select * from sys_oper_log where community_id = #{sysOperLogVO.communityId} <if test="sysOperLogVO.areaCode !=null"> and area_code = #{sysOperLogVO.areaCode} </if> order by oper_time desc |
| | | select * from sys_oper_log where 1=1 <if test="sysOperLogVO.communityId != null">and community_id = #{sysOperLogVO.communityId}</if> <if test="sysOperLogVO.areaCode !=null"> and area_code = #{sysOperLogVO.areaCode} </if> order by oper_time desc |
| | | </select> |
| | | |
| | | |