|
|
|
@ -33,6 +33,9 @@ public class ComplaintCollectionAddRequest implements ParamChecked { |
|
|
|
@Schema(description = "来源表类型") |
|
|
|
@Schema(description = "来源表类型") |
|
|
|
private String sourceTable; |
|
|
|
private String sourceTable; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "来源类型子一级") |
|
|
|
|
|
|
|
private String sourceTableSubOne; |
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "编号") |
|
|
|
@Schema(description = "编号") |
|
|
|
private String originId; |
|
|
|
private String originId; |
|
|
|
|
|
|
|
|
|
|
|
@ -93,7 +96,7 @@ public class ComplaintCollectionAddRequest implements ParamChecked { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void check() { |
|
|
|
public void check() { |
|
|
|
if (StrUtil.isBlank(sourceTable)) { |
|
|
|
if (StrUtil.hasBlank(sourceTable, sourceTableSubOne)) { |
|
|
|
throw new IllegalArgumentException("来源不能为空"); |
|
|
|
throw new IllegalArgumentException("来源不能为空"); |
|
|
|
} |
|
|
|
} |
|
|
|
if (ObjectUtil.isNull(discoveryTime)) { |
|
|
|
if (ObjectUtil.isNull(discoveryTime)) { |
|
|
|
@ -122,13 +125,13 @@ public class ComplaintCollectionAddRequest implements ParamChecked { |
|
|
|
throw new IllegalArgumentException("是否重复不能为空"); |
|
|
|
throw new IllegalArgumentException("是否重复不能为空"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (StrUtil.isBlank((leadApproval))) { |
|
|
|
// if (StrUtil.isBlank((leadApproval))) {
|
|
|
|
throw new IllegalArgumentException("是否领导审批不能为空"); |
|
|
|
// throw new IllegalArgumentException("是否领导审批不能为空");
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
if (CollectionUtil.isEmpty(tags)){ |
|
|
|
// if (CollectionUtil.isEmpty(tags)){
|
|
|
|
throw new IllegalArgumentException("标签不能为空"); |
|
|
|
// throw new IllegalArgumentException("标签不能为空");
|
|
|
|
} |
|
|
|
// }
|
|
|
|
if (StrUtil.isEmpty(handleMethod)){ |
|
|
|
if (StrUtil.isEmpty(handleMethod)){ |
|
|
|
throw new IllegalArgumentException("办理方法不能为空"); |
|
|
|
throw new IllegalArgumentException("办理方法不能为空"); |
|
|
|
} |
|
|
|
} |
|
|
|
|