...
|
...
|
@@ -153,7 +153,7 @@ public class ProductController { |
|
|
public ApiResponse setDepotNum(
|
|
|
@RequestParam(value = "skup", required = true) Integer skup,
|
|
|
@RequestParam(value = "depotNum", required = true) Integer depotNum) {
|
|
|
LOG.info("in method=ufo.product.cancelSaleSkup skup={}, depotNum={}", skup, depotNum);
|
|
|
LOG.info("in method=ufo.product.setDepotNum skup={}, depotNum={}", skup, depotNum);
|
|
|
try {
|
|
|
productService.setDepotNum(skup, depotNum);
|
|
|
return new ApiResponse(200, "设置成功!", Boolean.TRUE);
|
...
|
...
|
@@ -169,7 +169,7 @@ public class ProductController { |
|
|
public ApiResponse saleSkup(
|
|
|
@RequestParam(value = "product_id", required = true) Integer productId,
|
|
|
@RequestParam(value = "skup", required = true) Integer skup) {
|
|
|
LOG.info("in method=ufo.product.createSkup productId = {}, skup={}", productId, skup);
|
|
|
LOG.info("in method=ufo.product.saleSkup productId = {}, skup={}", productId, skup);
|
|
|
try {
|
|
|
productService.saleSkup(productId, skup);
|
|
|
LOG.info("saleSkup success and async clearProductCache skup = {}", skup);
|
...
|
...
|
|