feat(oa): 添加报告状态字段支持

- 在 OaReportSummary 实体中新增 status 字段表示状态
- 在 OaReportSummary中同步Bo 业务对象添加 status 字段- 更新 MyBatis 映射文件以支持 status 字段的查询
- 在 OaReportSummaryVo 视图对象中添加 status 展示支持
- 状态字段支持导出到 Excel 文件中显示
- 完善相关注释和字段说明文档信息
This commit is contained in:
JR
2025-10-13 10:56:19 +08:00
parent 1377196a06
commit f9efefa003
4 changed files with 18 additions and 0 deletions

View File

@@ -57,4 +57,9 @@ public class OaReportSummary extends BaseEntity {
private Long type;
/**
* 状态0进行中 1已完成
*/
private Integer status;
}

View File

@@ -61,4 +61,9 @@ public class OaReportSummaryBo extends BaseEntity {
private Long type;
/**
* 状态0进行中 1已完成
*/
private Integer status;
}

View File

@@ -70,4 +70,10 @@ public class OaReportSummaryVo {
@ExcelProperty(value = "最近更新时间")
private Date lastUpdateTime;
/**
* 状态0进行中 1已完成
*/
@ExcelProperty(value = "状态")
private Integer status;
}

View File

@@ -17,6 +17,7 @@
<result property="delFlag" column="del_flag"/>
<result property="remark" column="remark"/>
<result property="type" column="type"/>
<result property="status" column="status"/>
</resultMap>
<select id="selectVoPageWithProject" resultType="com.ruoyi.oa.domain.vo.OaReportSummaryVo">
@@ -27,6 +28,7 @@
s.reporter,
s.project_id AS projectId,
s.remark,
s.status,
s.type,
p.project_name AS projectName,
d.latest_create_time AS lastUpdateTime