添加显示字段

master
bynt 1 year ago
parent ca6a39f862
commit 67d6acc5d3

@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
@Data
@ -40,12 +41,18 @@ public class CustomVO {
@Schema(title = "半径")
private String radius;
@Schema(title = "录入时间")
private String enterName;
@Schema(title = "报名状态 0:待提交 1:已报名")
private Integer enrollStatus;
@Schema(title = "创建时间")
private LocalDateTime createTime;
@Schema(description = "分发时间")
private Date distributeTime;
@Schema(title = "门店信息")
private List<CustomStoreVO> customStoreVOList;
@ -55,6 +62,7 @@ public class CustomVO {
@Schema(description = "公司id")
private Long companyId;
@Schema(title = "备注")
private String remark;
}

@ -3,6 +3,7 @@
<mapper namespace="com.baiye.modules.distribute.mapper.CustomMapper">
<sql id="Base_Alias_Column_List">
s.store_name,
cm.enter_name,
cm.custom_id,
cm.custom_name,
cm.custom_nid,
@ -14,7 +15,8 @@
cm.batch_no,
cm.enroll_status,
cm.remark,
cm.create_time
cm.create_time,
cm.distribute_time
</sql>
<select id="selectByPage" resultType="com.baiye.modules.distribute.vo.CustomVO">

Loading…
Cancel
Save