Commit 39a56a98 by 墨竹

fix:新增企微报错列表

parent 7d220d92
......@@ -10,7 +10,7 @@ import com.gic.haoban.manage.api.dto.qdto.QywxErrorLogListQDTO;
* @author mozhu
* @date 2022-04-18 15:28:02
*/
public interface TabQywxErrorLogApiService {
public interface QywxErrorLogApiService {
/**
* 新增数据
......
package com.gic.haoban.manage.web.controller;
import com.gic.api.base.commons.Page;
import com.gic.commons.webapi.reponse.RestResponse;
import com.gic.haoban.manage.api.dto.QywxErrorLogDTO;
import com.gic.haoban.manage.api.dto.qdto.QywxErrorLogListQDTO;
import com.gic.haoban.manage.api.service.QywxErrorLogApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
/**
* @author mozhu
* @date 2022/4/19 14:27
*/
@RestController
@RequestMapping("/qywx-error")
public class QywxErrorLogController extends WebBaseController {
@Autowired
private QywxErrorLogApiService qywxErrorLogApiService;
/**
* 企微报错列表
* @param qywxErrorLogListQDTO
* @return
*/
@RequestMapping(value = "qywx-error-list", method = RequestMethod.POST)
public RestResponse wxEnterpriseListNew(QywxErrorLogListQDTO qywxErrorLogListQDTO) {
Page<QywxErrorLogDTO> qywxErrorLogDTOPage = qywxErrorLogApiService.queryListByPage(qywxErrorLogListQDTO);
return RestResponse.successResult(qywxErrorLogDTOPage);
}
}
......@@ -12,7 +12,7 @@ import java.util.List;
* @author mozhu
* @date 2022-04-18 15:28:02
*/
public interface TabQywxErrorLogService {
public interface QywxErrorLogService {
/**
* 新增数据
......
......@@ -5,7 +5,7 @@ import com.gic.haoban.manage.api.dto.qdto.QywxErrorLogListQDTO;
import com.gic.haoban.manage.service.dao.mapper.TabQywxErrorLogMapper;
import com.gic.haoban.manage.service.entity.TabQywxErrorLog;
import com.gic.haoban.manage.service.pojo.bo.TabQywxErrorLogBO;
import com.gic.haoban.manage.service.service.TabQywxErrorLogService;
import com.gic.haoban.manage.service.service.QywxErrorLogService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......@@ -20,7 +20,7 @@ import java.util.List;
* @date 2022-04-18 15:28:02
*/
@Service
public class TabQywxErrorLogServiceImpl implements TabQywxErrorLogService {
public class TabQywxErrorLogServiceImpl implements QywxErrorLogService {
@Autowired
private TabQywxErrorLogMapper tabQywxErrorLogMapper;
......
......@@ -6,9 +6,9 @@ import com.gic.haoban.common.utils.EntityUtil;
import com.gic.haoban.common.utils.PageUtil;
import com.gic.haoban.manage.api.dto.QywxErrorLogDTO;
import com.gic.haoban.manage.api.dto.qdto.QywxErrorLogListQDTO;
import com.gic.haoban.manage.api.service.TabQywxErrorLogApiService;
import com.gic.haoban.manage.api.service.QywxErrorLogApiService;
import com.gic.haoban.manage.service.pojo.bo.TabQywxErrorLogBO;
import com.gic.haoban.manage.service.service.TabQywxErrorLogService;
import com.gic.haoban.manage.service.service.QywxErrorLogService;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -23,10 +23,10 @@ import java.util.List;
* @date 2022-04-18 15:28:02
*/
@Service
public class TabQywxErrorLogApiServiceImpl implements TabQywxErrorLogApiService {
public class QywxErrorLogApiServiceImpl implements QywxErrorLogApiService {
@Autowired
private TabQywxErrorLogService tabQywxErrorLogService;
private QywxErrorLogService tabQywxErrorLogService;
@Override
public void insertQywxErrorLog(String param) {
......
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