| | |
| | | save(lightReportError); |
| | | } |
| | | |
| | | public List<LightReportErrorBo> listReportError(int pageNo, int pageSize, String keyword) { |
| | | public List<LightReportErrorBo> listReportError(int pageNo, int pageSize, String keyword, int error_code) { |
| | | PageHelper.startPage(pageNo, pageSize); |
| | | List<LightReportErrorBo> lightReportErrorBos; |
| | | //为null的话是超管 |
| | | if (SecurityUtils.getClientId() == null) { |
| | | lightReportErrorBos = baseMapper.listReportError(keyword, null); |
| | | lightReportErrorBos = baseMapper.listReportError(keyword, error_code, null); |
| | | }else{ |
| | | lightReportErrorBos = baseMapper.listReportError(keyword, SecurityUtils.getUserId()); |
| | | lightReportErrorBos = baseMapper.listReportError(keyword, error_code, SecurityUtils.getUserId()); |
| | | } |
| | | |
| | | for (LightReportErrorBo lightReportErrorBo : lightReportErrorBos) { |