From 6ac9dd5b6858b5edceb080b8abe35f1c71f63ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=90=A6=E6=B6=9B?= <18222067976@163.com> Date: Thu, 14 Oct 2021 18:09:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug#40700?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jero/project/entity/PayWorkingGroupSubItem.java | 3 ++- .../service/impl/PayWorkingGroupSubItemServiceImpl.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/project/entity/PayWorkingGroupSubItem.java b/jero-boot-incoming-payment/src/main/java/com/jero/project/entity/PayWorkingGroupSubItem.java index 58a6c9ae..535c2ebe 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/project/entity/PayWorkingGroupSubItem.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/project/entity/PayWorkingGroupSubItem.java @@ -147,6 +147,7 @@ public class PayWorkingGroupSubItem implements Serializable { @Excel(name = "需要发票", width = 15,dicCode = "invoice_type") @ApiModelProperty(value = "需要发票(1:增值税普通发票,2:增值税专用发票,0:否)") @Dict(dicCode = "invoice_type") + @NotNull(message = "需要发票不能为空") private java.lang.Integer needInvoice; /**到账(1:全额(对勾),2:0(X),3:>0 && <总金额(半满标志))*/ @ApiModelProperty(value = "到账(1:全额(对勾),2:0(X),3:>0 && <总金额(半满标志))") @@ -183,7 +184,7 @@ public class PayWorkingGroupSubItem implements Serializable { @ApiModelProperty(value = "更新时间") private java.util.Date updateTime; /**开票金额*/ - @Excel(name = "开票金额", width = 15) +// @Excel(name = "开票金额", width = 15) @ApiModelProperty(value = "开票金额") @DecimalMax(value = "9999999999.99",message = "开票金额格式错误") @JsonFormat(shape = JsonFormat.Shape.STRING) diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/project/service/impl/PayWorkingGroupSubItemServiceImpl.java b/jero-boot-incoming-payment/src/main/java/com/jero/project/service/impl/PayWorkingGroupSubItemServiceImpl.java index d23f561f..af35346f 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/project/service/impl/PayWorkingGroupSubItemServiceImpl.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/project/service/impl/PayWorkingGroupSubItemServiceImpl.java @@ -479,8 +479,10 @@ public class PayWorkingGroupSubItemServiceImpl extends ServiceImpl"); }