feat: 报销,发票问题修复

new
chenqp 1 year ago
parent e369bbd532
commit 4981b7708b

@ -7,6 +7,8 @@ import lombok.ToString;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.HashSet;
import java.util.Set;
@Schema(description = "管理后台 - 报销单创建 Request VO") @Schema(description = "管理后台 - 报销单创建 Request VO")
@Data @Data
@ -26,4 +28,6 @@ public class ExpenseClaimDetailCreateReqVO {
@Schema(description = "备注", example = "你说的对") @Schema(description = "备注", example = "你说的对")
private String remark; private String remark;
private Set<Long> invoiceIds = new HashSet<>();
} }

@ -1,5 +1,6 @@
package cn.iocoder.yudao.module.bs.controller.admin.invoice.vo; package cn.iocoder.yudao.module.bs.controller.admin.invoice.vo;
import cn.iocoder.yudao.framework.common.pojo.ImageVo;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
@ -7,6 +8,7 @@ import org.springframework.format.annotation.DateTimeFormat;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.List;
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
@ -55,4 +57,6 @@ public class InvoiceBaseVO {
@Schema(description = "备注", example = "随便") @Schema(description = "备注", example = "随便")
private String remark; private String remark;
@Schema(description = "发票附件")
private List<ImageVo> files;
} }

Loading…
Cancel
Save