Index: ssts-web/src/main/webapp/jasperRtp/EOGoods_child_1.jasper =================================================================== diff -u -r12607 -r27122 Binary files differ Index: ssts-reports/src/main/java/com/forgon/disinfectsystem/jasperreports/action/JasperreportsAction.java =================================================================== diff -u -r27084 -r27122 --- ssts-reports/src/main/java/com/forgon/disinfectsystem/jasperreports/action/JasperreportsAction.java (.../JasperreportsAction.java) (revision 27084) +++ ssts-reports/src/main/java/com/forgon/disinfectsystem/jasperreports/action/JasperreportsAction.java (.../JasperreportsAction.java) (revision 27122) @@ -3320,13 +3320,21 @@ String month = StrutsParamUtils.getPraramValue("month", ""); String goodsSearch = StrutsParamUtils.getPraramValue("goodsSearch", ""); String tousseType = StrutsParamUtils.getPraramValue("tousseType", ""); - if(StringUtils.isNotBlank(tousseType) && tousseType.contains("全部")){ - tousseType = "全部"; - } - String title = "发货物品统计月报【灭菌程序:" + tousseType + "】" + String title = "发货物品统计月报" + (StringUtils.isNotBlank(month) ? "(" + month + ")" : ""); Map monthMap = getMonthStartAndEndDate(month); map.put("title", title); + String sterilisations = null; + if(StringUtils.isBlank(tousseType) || tousseType.contains("全部")){ + sterilisations = "全部"; + }else{ + sterilisations = tousseType.replaceAll(", ", "、").replaceAll(",", "、"); + } + if(sterilisations.length() > 140){//超过的不显示 + sterilisations = sterilisations.substring(0, 140); + sterilisations = sterilisations.substring(0, sterilisations.lastIndexOf("、")) + "......"; + } + map.put("sterilisations", "灭菌程序:" + sterilisations); String sql = ""; if (StringUtils.isNotBlank(month)) { String startDay = dateQueryAdapter.dateAdapter(monthMap Index: ssts-web/src/main/webapp/jasperRtp/EOGoods_main_1.jasper =================================================================== diff -u -r12607 -r27122 Binary files differ Index: ssts-web/src/main/webapp/jasperRtp/EOGoods_main_1.jrxml =================================================================== diff -u -r12607 -r27122 --- ssts-web/src/main/webapp/jasperRtp/EOGoods_main_1.jrxml (.../EOGoods_main_1.jrxml) (revision 12607) +++ ssts-web/src/main/webapp/jasperRtp/EOGoods_main_1.jrxml (.../EOGoods_main_1.jrxml) (revision 27122) @@ -31,6 +31,7 @@ + - + - + - + - + - + - + - + @@ -86,25 +87,32 @@ - + + + + + + + + - + - + @@ -115,7 +123,7 @@ - + @@ -129,21 +137,21 @@ - + - + - +