From a9ca0823ab8f33ca85abebcf6ec4a8da235adb49 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 30 一月 2024 14:36:49 +0800 Subject: [PATCH] 开发业务接口 --- server/service/src/main/java/com/doumee/dao/business/model/ApplyLog.java | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/server/service/src/main/java/com/doumee/dao/business/model/ApplyLog.java b/server/service/src/main/java/com/doumee/dao/business/model/ApplyLog.java index 48b027a..9f8389c 100644 --- a/server/service/src/main/java/com/doumee/dao/business/model/ApplyLog.java +++ b/server/service/src/main/java/com/doumee/dao/business/model/ApplyLog.java @@ -20,6 +20,33 @@ @ApiModel("鎶曚繚鐢宠鎿嶄綔鍘嗗彶琛�") @TableName("`apply_log`") public class ApplyLog { + public ApplyLog(){ + + } + public ApplyLog(InsuranceApply apply,String title,String content,Integer objId,Integer objType, String before,String after){ + this.title =title; + this.content=content; + this.applyId = apply.getId(); + this.createDate =apply.getEditDate(); + this.creator =apply.getEditor(); + this.status = apply.getStatus(); + this.objId=objId; + this.objType = objType; + this.beforeContent=before; + this.afterContent=after; + } + public ApplyLog(ApplyChange apply,String title,String content,Integer objId,Integer objType, String before,String after){ + this.title =title; + this.content=content; + this.applyId = apply.getId(); + this.createDate =apply.getEditDate(); + this.creator =apply.getEditor(); + this.status = apply.getStatus(); + this.objId=objId; + this.objType = objType; + this.beforeContent=before; + this.afterContent=after; + } @TableId(type = IdType.AUTO) @ApiModelProperty(value = "涓婚敭", example = "1") @@ -70,7 +97,7 @@ @ApiModelProperty(value = "鍏宠仈瀵硅薄缂栫爜") @ExcelColumn(name="鍏宠仈瀵硅薄缂栫爜") - private String objId; + private Integer objId; @ApiModelProperty(value = "鎿嶄綔鍓嶅唴瀹�") @ExcelColumn(name="鎿嶄綔鍓嶅唴瀹�") -- Gitblit v1.9.3