提交 723679f5 authored 作者: 马路路's avatar 马路路

配置中心—配置管理—问卷配置WEB端接口--VO-1

上级 ab83c10c
......@@ -171,7 +171,7 @@ public class CollectDriverTransportIntentionServiceImpl implements CollectDriver
@Override
public List<CarrierDriverCollectTransportIntentionRecordVO> detailCarrierDriverCollectTransportIntention(CarrierDriverCollectTransportIntentionDetailParam param) {
List<CollectDriverTransportIntentionRecord> list = collectDriverTransportIntentionRecordDao
.listByField(CollectDriverTransportIntentionRecord::getCollectDriverTransportIntentionId, param);
.listByField(CollectDriverTransportIntentionRecord::getCollectDriverTransportIntentionId, param.getId());
List<CarrierDriverCollectTransportIntentionRecordVO> listVO = collectDriverTransportIntentionRecordDaoStruct.covertList(list);
return listVO;
}
......
package com.clx.performance.param.app.collect;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.NoArgsConstructor;
......@@ -24,9 +24,11 @@ public class CarrierDriverCollectTransportIntentionAddParam {
private String collectDescribe;
@Schema(description="状态:1单选 2多选")
@NotNull(message = "选项状态不能为空")
private Integer collectCheckType;
@Schema(description="状态:1拉运意向 2拒绝拉运")
@NotNull(message = "拉运意向状态不能为空")
private Integer collectType;
@Schema(description="操作人编码")
......
package com.clx.performance.param.app.collect;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
......@@ -11,5 +12,6 @@ import lombok.Setter;
public class CarrierDriverCollectTransportIntentionDetailParam {
@Schema(description="收集司机拉运意向id")
@NotNull(message = "收集司机拉运意向id不能为null")
private Integer id;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论