7 changed files with 109 additions and 0 deletions
@ -0,0 +1,37 @@
|
||||
package com.biutag.supervision.pojo.request.complaintCollection; |
||||
|
||||
import cn.hutool.core.util.IdcardUtil; |
||||
import cn.hutool.core.util.StrUtil; |
||||
import com.biutag.supervision.aop.ParamChecked; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
/** |
||||
* @ClassName ComplaintCollectionMailRepeattRequest |
||||
* @Description 是否重复件查询 |
||||
* @Author shihao |
||||
* @Date 2026/1/4 11:10 |
||||
*/ |
||||
@Setter |
||||
@Getter |
||||
@Schema(description = "是否重复件查询") |
||||
public class ComplaintCollectionMailRepeattRequest implements ParamChecked { |
||||
|
||||
|
||||
@Schema(description = "投诉人身份证号") |
||||
private String responderIdCode; |
||||
|
||||
// @Schema(description = "投诉人姓名")
|
||||
// private String responderName;
|
||||
|
||||
@Override |
||||
public void check() { |
||||
if (StrUtil.isBlank(responderIdCode)){ |
||||
throw new IllegalArgumentException("投诉人身份证不能为空"); |
||||
} |
||||
if (StrUtil.isNotBlank(responderIdCode) && !IdcardUtil.isValidCard(responderIdCode)){ |
||||
throw new IllegalArgumentException("请输入正确的身份证格式!"); |
||||
} |
||||
} |
||||
} |
||||
@ -0,0 +1,26 @@
|
||||
package com.biutag.supervision.pojo.vo.complaintCollection; |
||||
|
||||
import com.biutag.supervision.pojo.dto.complaintCollection.ComplaintCollectionPageDTO; |
||||
import io.swagger.v3.oas.annotations.media.Schema; |
||||
import lombok.Getter; |
||||
import lombok.Setter; |
||||
|
||||
import java.util.List; |
||||
|
||||
/** |
||||
* @ClassName ComplaintCollectionMailRepeattVo |
||||
* @Description 查重vo |
||||
* @Author shihao |
||||
* @Date 2026/1/4 13:58 |
||||
*/ |
||||
@Getter |
||||
@Setter |
||||
@Schema(description = "查重vo") |
||||
public class ComplaintCollectionMailRepeattVo { |
||||
|
||||
|
||||
@Schema(description = "重复列表") |
||||
private List<ComplaintCollectionPageDTO> complaintCollectionPageDTOS; |
||||
|
||||
|
||||
} |
||||
Loading…
Reference in new issue