后台--病例管理列表显示:新增病例ID、审核通过时间、结算时间(劳务支付时间)
This commit is contained in:
parent
e7a69c03ed
commit
24459c946c
@ -0,0 +1,25 @@
|
|||||||
|
package net.lab1024.sa.admin.config;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
|
||||||
|
import org.apache.ibatis.reflection.MetaObject;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import java.time.ZoneId;
|
||||||
|
|
||||||
|
@Component
|
||||||
|
public class MyMetaObjectHandler implements MetaObjectHandler {
|
||||||
|
|
||||||
|
private static final ZoneId BEIJING_ZONE = ZoneId.of("Asia/Shanghai");
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void insertFill(MetaObject metaObject) {
|
||||||
|
this.strictInsertFill(metaObject, "createdAt", LocalDateTime.class, LocalDateTime.now(BEIJING_ZONE));
|
||||||
|
this.strictInsertFill(metaObject, "updatedAt", LocalDateTime.class, LocalDateTime.now(BEIJING_ZONE));
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void updateFill(MetaObject metaObject) {
|
||||||
|
this.strictUpdateFill(metaObject, "updatedAt", LocalDateTime.class, LocalDateTime.now());
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -54,6 +54,11 @@ public class CaseplatformCaseEntity {
|
|||||||
*/
|
*/
|
||||||
private Integer settlementFlag;
|
private Integer settlementFlag;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime settlementTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 0待审核 1审核通过 2审核不通过
|
* 0待审核 1审核通过 2审核不通过
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -66,6 +66,9 @@ public class CaseplatformCaseDetailVO {
|
|||||||
@Excel(name = "状态", orderNum = "8", width = 25, replace = { "待审核_0", "审核通过_1", "审核拒绝_2" }, isImportField = "true_st",needMerge = true)
|
@Excel(name = "状态", orderNum = "8", width = 25, replace = { "待审核_0", "审核通过_1", "审核拒绝_2" }, isImportField = "true_st",needMerge = true)
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "审核通过时间")
|
||||||
|
private LocalDateTime examineTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
@Excel(name = "创建时间", orderNum = "9", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd", width = 25,needMerge = true)
|
@Excel(name = "创建时间", orderNum = "9", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd", width = 25,needMerge = true)
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
@ -78,6 +81,9 @@ public class CaseplatformCaseDetailVO {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "结算标识")
|
@ApiModelProperty(value = "结算标识")
|
||||||
private Integer settlementFlag;
|
private Integer settlementFlag;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "结算时间")
|
||||||
|
private LocalDateTime settlementTime;
|
||||||
/************************ 病历摘要 ********************************/
|
/************************ 病历摘要 ********************************/
|
||||||
|
|
||||||
@ApiModelProperty(value = "病历摘要")
|
@ApiModelProperty(value = "病历摘要")
|
||||||
|
|||||||
@ -64,6 +64,11 @@ public class CaseplatformCaseVO {
|
|||||||
@ApiModelProperty(value = "结算标识")
|
@ApiModelProperty(value = "结算标识")
|
||||||
private Integer settlementFlag;
|
private Integer settlementFlag;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算时间
|
||||||
|
*/
|
||||||
|
private LocalDateTime settlementTime;
|
||||||
|
|
||||||
@ApiModelProperty(value = "创建时间")
|
@ApiModelProperty(value = "创建时间")
|
||||||
private LocalDateTime createTime;
|
private LocalDateTime createTime;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user