油站财务报表,交易

This commit is contained in:
sw 2024-11-05 15:45:42 +08:00
parent 57206c4ad6
commit 321dae4487

View File

@ -154,9 +154,9 @@ public class PrintOilOrderReport {
sb.append("<table><tr><td>油品</td><td>金额</td></tr>");
List<Map<String,String>> o = (List<Map<String,String>>)handover.get("oilOrder");
for (Map<String, String> stringStringMap1 : o) {
sb.append("<tr><td>"+stringStringMap1.get("oilName")+"</td>");
sb.append("<td>¥"+ stringStringMap1.get("amount")+"</td></tr>");
for (Map<String, String> stringStringMap : o) {
sb.append("<tr><td>"+stringStringMap.get("oilName")+"</td>");
sb.append("<td>¥"+ stringStringMap.get("amount")+"</td></tr>");
}
sb.append("</table>");
sb.append("--------------------------------\r\n");
@ -165,11 +165,11 @@ public class PrintOilOrderReport {
if (ObjectUtil.isNotEmpty(handover.get("goodsOrder"))) {
sb.append("<table><tr><td>商品</td><td>数量</td><td>单价</td></tr>");
List<Map<String,String>> o = (List<Map<String,String>>)handover.get("goodsOrder");
for (Map<String, String> stringStringMap2 : o) {
sb.append("<tr><td>"+stringStringMap2.get("oilName")+"</td>");
sb.append("<td>"+stringStringMap2.get("unit")+"</td>");
for (Map<String, String> stringStringMap : o) {
sb.append("<tr><td>"+stringStringMap.get("oilName")+"</td>");
sb.append("<td>"+stringStringMap.get("unit")+"</td>");
sb.append("<td>"+ stringStringMap2.get("amount")+"</td></tr>");
sb.append("<td>"+ stringStringMap.get("amount")+"</td></tr>");
}
sb.append("</table>");
sb.append("--------------------------------\r\n");