| | |
| | | |
| | | |
| | | <select id="pageOperLog" resultType="com.panzhihua.common.model.vos.user.SysOperLogVO"> |
| | | 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 * 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> |
| | | <if test="sysOperLogVO.startTime !=null"> and oper_Time >= #{sysOperLogVO.startTime} </if> |
| | | <if test="sysOperLogVO.endTime !=null"> and oper_Time <= #{sysOperLogVO.endTime} </if> |
| | | order by oper_time desc |
| | | </select> |
| | | |
| | | |