|
|
@@ -28,7 +28,7 @@ import com.uas.platform.core.util.serializer.FlexJsonUtils;
|
|
|
public class SaleDownController {
|
|
|
|
|
|
@Autowired
|
|
|
- private SaleDownService saleService;
|
|
|
+ private SaleDownService saleDownService;
|
|
|
|
|
|
@Autowired
|
|
|
private PurchaseOrderService purchaseOrderService;
|
|
|
@@ -41,7 +41,7 @@ public class SaleDownController {
|
|
|
@RequestMapping(method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public List<SaleDown> getOrders() {
|
|
|
- return saleService.convertPurchaseOrder(purchaseOrderService.findNotUploadOrder());
|
|
|
+ return saleDownService.convertPurchaseOrder(purchaseOrderService.findNotUploadOrder());
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -68,7 +68,7 @@ public class SaleDownController {
|
|
|
public void saveReplies(@RequestParam("data") String data) throws UnsupportedEncodingException {
|
|
|
String jsonStr = URLDecoder.decode(data, "UTF-8");
|
|
|
List<SaleReply> replies = FlexJsonUtils.fromJsonArray(jsonStr, SaleReply.class);
|
|
|
- purchaseOrderService.reply(saleService.convertSaleReply(replies));
|
|
|
+ purchaseOrderService.reply(saleDownService.convertSaleReply(replies));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -79,7 +79,7 @@ public class SaleDownController {
|
|
|
@RequestMapping(value = "/reply", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public List<SaleReply> getReply() {
|
|
|
- return saleService.convertOrderReply(purchaseOrderService.findNotSendReply());
|
|
|
+ return saleDownService.convertOrderReply(purchaseOrderService.findNotSendReply());
|
|
|
}
|
|
|
|
|
|
/**
|