引入了数据展示模块 , 修改了海报分享实现流程
This commit is contained in:
parent
ac247e9ead
commit
8093da0732
@ -0,0 +1,54 @@
|
||||
package cn.com.tenlion.systemcard.controller.app.api.cardbigdata;
|
||||
|
||||
import cn.com.tenlion.systemcard.pojo.dtos.cardviolation.CardViolationDTO;
|
||||
import cn.com.tenlion.systemcard.service.account.IAccountService;
|
||||
import cn.com.tenlion.systemcard.service.cardviolation.ICardViolationService;
|
||||
import ink.wgink.common.base.DefaultBaseController;
|
||||
import ink.wgink.interfaces.consts.ISystemConstant;
|
||||
import ink.wgink.pojo.ListPage;
|
||||
import ink.wgink.pojo.result.ErrorResult;
|
||||
import ink.wgink.pojo.result.SuccessResultList;
|
||||
import io.swagger.annotations.*;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestHeader;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @ClassName: CardBigdataAppController
|
||||
* @Description:
|
||||
* @Author: CodeFactory
|
||||
* @Date: 2021-08-31 10:41:09
|
||||
* @Version: 3.0
|
||||
**/
|
||||
@Api(tags = ISystemConstant.API_TAGS_APP_PREFIX + "接口")
|
||||
@RestController
|
||||
@RequestMapping(ISystemConstant.APP_PREFIX + "/cardbigdata")
|
||||
public class CardBigdataAppController extends DefaultBaseController {
|
||||
|
||||
@Autowired
|
||||
private IAccountService accountService;
|
||||
@Autowired
|
||||
private ICardViolationService cardViolationService;
|
||||
|
||||
@ApiOperation(value = "名片系统违规记录表分页列表", notes = "名片系统违规记录表分页列表接口")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "token", value = "token", paramType = "header"),
|
||||
@ApiImplicitParam(name = "page", value = "当前页码", paramType = "query", dataType = "int", defaultValue = "1"),
|
||||
@ApiImplicitParam(name = "rows", value = "显示数量", paramType = "query", dataType = "int", defaultValue = "20"),
|
||||
@ApiImplicitParam(name = "keywords", value = "关键字", paramType = "query", dataType = "String"),
|
||||
@ApiImplicitParam(name = "startTime", value = "开始时间", paramType = "query", dataType = "String"),
|
||||
@ApiImplicitParam(name = "endTime", value = "结束时间", paramType = "query", dataType = "String")
|
||||
})
|
||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||
@GetMapping("listpageviolation")
|
||||
public SuccessResultList<List<CardViolationDTO>> listPage( ListPage page) {
|
||||
Map<String, Object> params = requestParams();
|
||||
page.setParams(params);
|
||||
return cardViolationService.listPage(page);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user