feat: 企业管理-单位/开票信息 列表页增加“打包企业”字段
This commit is contained in:
+15
@@ -806,6 +806,11 @@ public class PayCompanyManagementController extends JeroController<PayCompanyMan
|
||||
}else if("false".equals(p.getInternalEnterprise())){
|
||||
p.setInternalEnterprise("否");
|
||||
}
|
||||
if("true".equals(p.getPackageEnterprise())){
|
||||
p.setPackageEnterprise("是");
|
||||
}else if("false".equals(p.getPackageEnterprise())){
|
||||
p.setInternalEnterprise("否");
|
||||
}
|
||||
});
|
||||
}
|
||||
// Step.3 AutoPoi 导出Excel
|
||||
@@ -923,6 +928,16 @@ public class PayCompanyManagementController extends JeroController<PayCompanyMan
|
||||
}
|
||||
}
|
||||
|
||||
if (!StringUtils.isBlank(p.getPackageEnterprise())){
|
||||
if("是".equals(p.getPackageEnterprise())){
|
||||
p.setPackageEnterprise("true");
|
||||
}else if("否".equals(p.getPackageEnterprise())){
|
||||
p.setPackageEnterprise("false");
|
||||
}else{
|
||||
msg.append("第").append(count + 3).append("行:是否打包企业,只能输入是或否,请修改。<br/>");
|
||||
}
|
||||
}
|
||||
|
||||
// 校验 表中是否存在企业名称
|
||||
if(!CollectionUtils.isEmpty(listCompanyAll)){
|
||||
List<PayCompanyManagement> listCompanyEquals = listCompanyAll.stream().filter(p1->Objects.equals(p1.getCompanyName(),p.getCompanyName())).collect(Collectors.toList());
|
||||
|
||||
+5
@@ -143,6 +143,11 @@ public class PayCompanyManagement implements Serializable {
|
||||
@Size(max = 6, message = "是否内部企业长度不能大于6个字符")
|
||||
private String internalEnterprise;
|
||||
|
||||
@Excel(name = "是否打包企业", width = 15)
|
||||
@ApiModelProperty(value = "是否打包企业")
|
||||
@Size(max = 6, message = "是否打包企业长度不能大于6个字符")
|
||||
private String packageEnterprise;
|
||||
|
||||
/**联行号*/
|
||||
@Excel(name = "联行号", width = 15)
|
||||
@ApiModelProperty(value = "联行号")
|
||||
|
||||
Reference in New Issue
Block a user