|
|
|
|
@ -118,6 +118,8 @@ public class ComplaintCollectionAddRequest implements ParamChecked {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void check() { |
|
|
|
|
trimFields(); |
|
|
|
|
|
|
|
|
|
if (StrUtil.isAllBlank(sourceTable, sourceTableSubOne)) { |
|
|
|
|
throw new IllegalArgumentException("来源不能为空"); |
|
|
|
|
} |
|
|
|
|
@ -177,4 +179,11 @@ public class ComplaintCollectionAddRequest implements ParamChecked {
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void trimFields() { |
|
|
|
|
originId = StrUtil.trim(originId); |
|
|
|
|
responderName = StrUtil.trim(responderName); |
|
|
|
|
responderIdCode = StrUtil.trim(responderIdCode); |
|
|
|
|
responderPhone = StrUtil.trim(responderPhone); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|