Browse Source

唛头导出

fenghaifu 2 tháng trước cách đây
mục cha
commit
eed2ef8d58

+ 9 - 0
srm-module-code/src/main/java/org/jeecg/modules/saleCode/controller/SaleDeliveryController.java

@@ -615,6 +615,15 @@ public class SaleDeliveryController {
         exportByDeliver("随货发票", saleDelivery.getId(), response);
     }
 
+    /**
+     * 导出唛头
+     *
+     */
+    @RequestMapping(value = "/exportShippingBillXls")
+    public void exportShippingBillXls(HttpServletResponse response, SaleDelivery saleDelivery) throws Exception {
+        exportByDeliver("唛头", saleDelivery.getId(), response);
+    }
+
     private void exportByDeliver(String templateName, String id, HttpServletResponse response){
         BaseTemplates templates = baseTemplatesService.getByTemplateType(templateName);
         SaleDelivery saleDelivery = saleDeliveryService.getById(id);