砂站运输量统计添加发票类型统计
parent
909718510d
commit
5008286668
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue