|
|
@@ -669,10 +669,11 @@ public class SaleOrderController {
|
|
|
*/
|
|
|
@RequestMapping(value = "/items/reply", method = RequestMethod.POST)
|
|
|
public ResponseEntity<String> replyOrderItems(@RequestBody String idString) {
|
|
|
- List<PurchaseOrderReply> replies = purchaseOrderService.reply(idString.split(","));
|
|
|
- for (PurchaseOrderReply reply : replies)
|
|
|
- logger.log("客户采购单", "批量回复客户采购明细", reply.replyDescription(), reply.getOrderItem().getOrder().getCode(),
|
|
|
- reply.getOrderItem().getId());
|
|
|
+// List<PurchaseOrderReply> replies = purchaseOrderService.reply(idString.split(","));
|
|
|
+// for (PurchaseOrderReply reply : replies)
|
|
|
+// logger.log("客户采购单", "批量回复客户采购明细", reply.replyDescription(), reply.getOrderItem().getOrder().getCode(),
|
|
|
+// reply.getOrderItem().getId());
|
|
|
+ purchaseOrderService.replyByBatch(idString, SystemSession.getUser().getUserName(), SystemSession.getUser().getIp(), SystemSession.getUser().getEnterprise().getUu(), SystemSession.getUser().getUserUU());
|
|
|
return new ResponseEntity<String>(HttpStatus.OK);
|
|
|
}
|
|
|
|