Index: ssts-reports/src/main/java/com/forgon/disinfectsystem/jasperreports/util/RealTimeBulletinBoardWorkloadHelper.java =================================================================== diff -u -r38953 -r38954 --- ssts-reports/src/main/java/com/forgon/disinfectsystem/jasperreports/util/RealTimeBulletinBoardWorkloadHelper.java (.../RealTimeBulletinBoardWorkloadHelper.java) (revision 38953) +++ ssts-reports/src/main/java/com/forgon/disinfectsystem/jasperreports/util/RealTimeBulletinBoardWorkloadHelper.java (.../RealTimeBulletinBoardWorkloadHelper.java) (revision 38954) @@ -1608,6 +1608,7 @@ ResultSet rs = null; int totalUrgentAmount = 0;//剩余的总加急数量 int sendOutUrgentAmount = 0; + int toBeSendOutUrgentAmount = 0; Map tousseMap = new HashMap(); try { rs = objectDao.executeSql(invocieUrgentAmountSql); @@ -1619,6 +1620,7 @@ sendOutUrgentAmount+=invoiceAmount; JSONObject tousseObj = new JSONObject(); totalUrgentAmount+=notRecycledUrgentAmount; + toBeSendOutUrgentAmount+=tiUrgentAmount; tousseObj.put("tiUrgentAmount", tiUrgentAmount); tousseObj.put("notRecycledUrgentAmount", notRecycledUrgentAmount); tousseObj.put("totalAmount", notRecycledUrgentAmount); @@ -1778,7 +1780,7 @@ JSONObject sumObj = new JSONObject(); sumObj.put("totalUrgentAmount", totalUrgentAmount+sendOutUrgentAmount); sumObj.put("sendOutUrgentAmount", sendOutUrgentAmount); - sumObj.put("toBeSendOutUrgentAmount", totalUrgentAmount - sub); + sumObj.put("toBeSendOutUrgentAmount", toBeSendOutUrgentAmount); obj.put("urgentSumInfo", sumObj); return obj.toString(); }