|
|
@@ -242,6 +242,7 @@ public class ProductController {
|
|
|
@ResponseBody
|
|
|
private void unlockProduct(@PathVariable Long id) {
|
|
|
productService.unlock(id);
|
|
|
+ logger.log("物料销售", "开启物料销售,关联id:" + id);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -253,6 +254,7 @@ public class ProductController {
|
|
|
@ResponseBody
|
|
|
private void lockProduct(@PathVariable Long id) {
|
|
|
productService.lock(id);
|
|
|
+ logger.log("物料销售", "关闭物料销售,关联id:" + id);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -264,6 +266,7 @@ public class ProductController {
|
|
|
@ResponseBody
|
|
|
private void unlockProductPurc(@PathVariable Long id) {
|
|
|
productService.unlockPurc(id);
|
|
|
+ logger.log("物料购买", "开启物料购买,关联id:" + id);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -275,6 +278,7 @@ public class ProductController {
|
|
|
@ResponseBody
|
|
|
private void lockProductPurc(@PathVariable Long id) {
|
|
|
productService.lockPurc(id);
|
|
|
+ logger.log("物料购买", "关闭物料购买,关联id:" + id);
|
|
|
}
|
|
|
|
|
|
/**
|