砂站运输量统计添加发票类型统计

dev
xiaocui 2021-04-16 10:54:25 +08:00
parent 909718510d
commit 5008286668
1 changed files with 3 additions and 3 deletions

View File

@ -55,11 +55,11 @@ public class PrepayController extends BaseController {
String stm = get("stm");
String etm = get("etm");
String truck_license = get("truck_license");
Integer invoice_type = getInt("invoice_type");
if (export == 0) {
renderJson(Result.success(PrepayService.me.consumption(customer_id, supermarket_id, stm, etm, truck_license)));
renderJson(Result.success(PrepayService.me.consumption(customer_id, supermarket_id, stm, etm, truck_license,invoice_type)));
} else {
Workbook wb = PrepayService.me.consumptionExport(customer_id, supermarket_id, stm, etm, truck_license);
Workbook wb = PrepayService.me.consumptionExport(customer_id, supermarket_id, stm, etm, truck_license,invoice_type);
render(new ExcelRender("消费记录_" + System.currentTimeMillis() + ".xlsx", wb));
}
}