修改bug#40700
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
+2
@@ -479,8 +479,10 @@ public class PayWorkingGroupSubItemServiceImpl extends ServiceImpl<PayWorkingGro
|
||||
} else {
|
||||
if (Objects.equals(payWorkingGroup.getChargeNoticeNoA(), p.getChargeNoticeNo())) {
|
||||
p.setChargeNoticeId(payWorkingGroup.getChargeNoticeAId());
|
||||
p.setCharge(payWorkingGroup.getChargeA());
|
||||
} else if (Objects.equals(payWorkingGroup.getChargeNoticeNoB(), p.getChargeNoticeNo())) {
|
||||
p.setChargeNoticeId(payWorkingGroup.getChargeNoticeBId());
|
||||
p.setCharge(payWorkingGroup.getChargeB());
|
||||
} else {
|
||||
msg.append("第").append(count + 3).append("行:收费通知号不存在,请修改。<br/>");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user