|
@@ -864,6 +864,7 @@ public class ExcelTabController extends BladeController {
|
|
|
//这句代码在正式环境要加上
|
|
|
|
|
|
if (Func.isNotEmpty(dataInfo) && dataInfo.getTabType() != null && dataInfo.getTabType() != 100L) {
|
|
|
+ int x=0;
|
|
|
for (int i = 1; i < 6; i++) {
|
|
|
Element tr = trs.get(i);
|
|
|
Elements tds = tr.select("td");
|
|
@@ -873,8 +874,9 @@ public class ExcelTabController extends BladeController {
|
|
|
if (style.indexOf("font-size") >= 0) {
|
|
|
int fontsize = Integer.parseInt(style.substring(style.indexOf("font-size:") + 10, style.indexOf(".0pt")));
|
|
|
if (isWater) {
|
|
|
- if (StringUtils.isNotEmpty(data.text()) && fontsize >= 12) {
|
|
|
+ if (StringUtils.isNotEmpty(data.text()) && fontsize >= 12&&x<=0) {
|
|
|
trs.get(i - 1).select("td").get(0).text(projectInfo.getProjectName());
|
|
|
+ x=x+1;
|
|
|
}
|
|
|
} else {
|
|
|
if (StringUtils.isNotEmpty(data.text()) && fontsize >= 14) {
|
|
@@ -4451,7 +4453,7 @@ public class ExcelTabController extends BladeController {
|
|
|
WbsTreeContract wbsTreeContract = jdbcTemplate.queryForObject(sql, new BeanPropertyRowMapper<>(WbsTreeContract.class));
|
|
|
if (ObjectUtil.isNotEmpty(wbsTreeContract.getNodeClass())) {
|
|
|
if (wbsTreeContract.getNodeClass().equals(Integer.valueOf(2))) {
|
|
|
- InformationQuery iq = informationQueryClient.getInfoByWbsId(wbsTreeContract.getPKeyId());
|
|
|
+ InformationQuery iq = informationQueryClient.getInfoByWbsId(wbsTreeContract.getPKeyId(),classify);
|
|
|
if (iq == null) {
|
|
|
iq = new InformationQuery();
|
|
|
iq.setId(SnowFlakeUtil.getId());
|