|
|
@@ -41,6 +41,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/getVendorInfo", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public Vendor getVendorInfo(String businessCode) {
|
|
|
+ logger.log("获取供应商信息", businessCode);
|
|
|
return purcOrderService.getVendorInfo(businessCode);
|
|
|
}
|
|
|
|
|
|
@@ -53,6 +54,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/getProdInfo/{id}", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public Product getProdInfoById(@PathVariable Long id) {
|
|
|
+ logger.log("查询物料详情", "关联id:" + id);
|
|
|
return purcOrderService.getProductInfoById(id);
|
|
|
}
|
|
|
|
|
|
@@ -65,6 +67,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value ="/customerInfo/{custuu}", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
public Vendor getCustomerInfo(@PathVariable Long custuu) {
|
|
|
+ logger.log("查询客户资料", "客户UU:" + custuu);
|
|
|
return purcOrderService.getCustomerInfo(custuu);
|
|
|
}
|
|
|
|
|
|
@@ -76,6 +79,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/relieve/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
private ModelMap relieve(@PathVariable Long id) {
|
|
|
+ logger.log("禁用供应商", "关联id:" + id);
|
|
|
return purcOrderService.relieve(id);
|
|
|
}
|
|
|
|
|
|
@@ -88,6 +92,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/activeVend/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
private ModelMap activeVend(@PathVariable Long id) {
|
|
|
+ logger.log("启用供应商", "关联id:" + id);
|
|
|
return purcOrderService.activeVend(id);
|
|
|
}
|
|
|
|
|
|
@@ -99,6 +104,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/relieveServicer/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
private ModelMap relieveServicer(@PathVariable Long id) {
|
|
|
+ logger.log("禁用服务商", "关联id:" + id);
|
|
|
return purcOrderService.relieveServicer(id);
|
|
|
}
|
|
|
|
|
|
@@ -111,6 +117,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/activeServicer/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
private ModelMap activeServicer(@PathVariable Long id) {
|
|
|
+ logger.log("启用服务商", "关联id:" + id);
|
|
|
return purcOrderService.activeServicer(id);
|
|
|
}
|
|
|
|
|
|
@@ -123,6 +130,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/disableCust/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
private ModelMap disableCust(@PathVariable Long id) {
|
|
|
+ logger.log("禁用客户", "关联id:" + id);
|
|
|
return purcOrderService.disableCust(id);
|
|
|
}
|
|
|
|
|
|
@@ -135,6 +143,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/activeCust/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
private ModelMap activeCust(@PathVariable Long id) {
|
|
|
+ logger.log("启用客户", "关联id:" + id);
|
|
|
return purcOrderService.activeCust(id);
|
|
|
}
|
|
|
|
|
|
@@ -193,6 +202,7 @@ public class PurcOrderController {
|
|
|
@RequestMapping(value = "/copyorder/{id}", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public ModelMap copyOrder(@PathVariable("id") Long id) {
|
|
|
+ logger.log("复制采购订单", "来源单据id:" + id);
|
|
|
return purcOrderService.copyorder(id);
|
|
|
}
|
|
|
}
|