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"); }