法规月报--数据字典

This commit is contained in:
zhn
2022-06-29 14:11:18 +08:00
parent f946814b7b
commit f5032195e7
2 changed files with 8 additions and 1 deletions
@@ -62,7 +62,7 @@ public class LawsMonthlyReportManageEOController extends JeroController<LawsMont
QueryWrapper<LawsMonthlyReportManageEO> queryWrapper = QueryGenerator.initQueryWrapper(lawsMonthlyReportManageEO, req.getParameterMap());
Page<LawsMonthlyReportManageEO> page = new Page<LawsMonthlyReportManageEO>(pageNo, pageSize);
IPage<LawsMonthlyReportManageEO> pageList = lawsMonthlyReportManageEOService.getPageInfo(page, queryWrapper);
return Result.OK(pageList);
return Result.OK(lawsMonthlyReportManageEO.getCut(),pageList);
}
/**
@@ -1,9 +1,11 @@
package com.jero.modules.report.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jero.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@@ -29,6 +31,9 @@ import java.io.Serializable;
public class LawsMonthlyReportManageEO implements Serializable {
private static final long serialVersionUID = 1L;
@TableField(exist = false)
private java.lang.String cut;
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
@@ -64,11 +69,13 @@ public class LawsMonthlyReportManageEO implements Serializable {
private java.lang.String name;
/**月报语种*/
@Dict(dicCode ="yue4_bao4_yu3_zhong3")
@Excel(name = "月报语种", width = 15)
@ApiModelProperty(value = "月报语种")
private java.lang.String language;
/**发布状态*/
@Dict(dicCode ="fa3_gui1_yue4_bao4_guan3_li3_-_-_fa1_bu4_zhuang4_tai4")
@Excel(name = "发布状态", width = 15)
@ApiModelProperty(value = "发布状态")
private java.lang.String issueStatus;