|
|
|
@ -1,10 +1,7 @@ |
|
|
|
package com.qniao.dam.api.command.withdrawaudit.user.request; |
|
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import com.qniao.dam.domain.aggregate.withdrawaudit.entity.WithdrawAudit; |
|
|
|
import com.qniao.dam.domian.aggregate.withdrawaudit.constant.WithdrawAuditStatus; |
|
|
|
import com.qniao.domain.Trans2DomainAssembler; |
|
|
|
import com.qniao.framework.exception.BizException; |
|
|
|
import com.qniao.framework.utils.TypeConvertUtils; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
import lombok.Data; |
|
|
|
@ -27,9 +24,6 @@ public class UserRemitWithdrawAuditDto implements Trans2DomainAssembler<Withdraw |
|
|
|
|
|
|
|
@Override |
|
|
|
public WithdrawAudit trans2Domain() { |
|
|
|
if (remitStatus && StrUtil.isBlank(remitUrl)) { |
|
|
|
throw new BizException("汇款凭证不能为空"); |
|
|
|
} |
|
|
|
return TypeConvertUtils.convert(this, WithdrawAudit.class); |
|
|
|
} |
|
|
|
} |