|
|
@@ -209,6 +209,19 @@ public class SaleSampleController {
|
|
|
return purchaseProofingService.findByidApproval(id);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 记录打样申请单的打印次数
|
|
|
+ * @param id
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/printCount/{id}", method = RequestMethod.POST)
|
|
|
+ @ResponseBody
|
|
|
+ public ResponseEntity<String> printCount(@PathVariable("id") Long id) {
|
|
|
+ purchaseProofingService.print(id);
|
|
|
+ logger.log("客户采购单", "打印客户采购订单",id.toString());
|
|
|
+ return new ResponseEntity<String>(HttpStatus.OK);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 导出打样申请 - 全部
|
|
|
*
|