Commit 1e9950fa by manxiaoqiang

2

parent b24a292f
...@@ -36,8 +36,9 @@ public class TkioAccountController { ...@@ -36,8 +36,9 @@ public class TkioAccountController {
@RequestMapping(value = "/update/sale", method = RequestMethod.PUT) @RequestMapping(value = "/update/sale", method = RequestMethod.PUT)
@ResponseBody @ResponseBody
public ResultModel updateSale(@CurrentAccount User loginAccount, public ResultModel updateSale(@CurrentAccount User loginAccount,
@RequestParam String email, @RequestParam String accountEmail) { @RequestParam String email, @RequestParam String accountEmail, HttpServletRequest request) {
UserLogThread userlog = new UserLogThread(loginAccount.getEmail(), loginAccount.getName(), OperateObjectTypeEnum.CUSTOMER.getKey(), accountEmail, "tkio修改销售为 " + email, request,loginAccount.getRole());
userlog.start();
return ResultModel.OK(tkioAccountService.updateSale(email, accountEmail)); return ResultModel.OK(tkioAccountService.updateSale(email, accountEmail));
} }
...@@ -85,7 +86,7 @@ public class TkioAccountController { ...@@ -85,7 +86,7 @@ public class TkioAccountController {
@RequestMapping(value = "/forbidenpress", method = RequestMethod.PUT) @RequestMapping(value = "/forbidenpress", method = RequestMethod.PUT)
@ResponseBody @ResponseBody
public ResultModel forbidenPress(@CurrentAccount User loginAccount, @RequestBody PressMoney resource, HttpServletRequest request) { public ResultModel forbidenPress(@CurrentAccount User loginAccount, @RequestBody PressMoney resource, HttpServletRequest request) {
UserLogThread userlog = new UserLogThread(loginAccount.getEmail(), loginAccount.getName(), OperateObjectTypeEnum.CUSTOMER.getKey(), resource.getEmail(), "关闭异常状态跟进", request,loginAccount.getRole()); UserLogThread userlog = new UserLogThread(loginAccount.getEmail(), loginAccount.getName(), OperateObjectTypeEnum.CUSTOMER.getKey(), resource.getEmail(), "关闭缴费状态跟进", request,loginAccount.getRole());
userlog.start(); userlog.start();
tkioAccountService.forbidenPress(loginAccount, resource); tkioAccountService.forbidenPress(loginAccount, resource);
return ResultModel.OK(); return ResultModel.OK();
...@@ -95,7 +96,7 @@ public class TkioAccountController { ...@@ -95,7 +96,7 @@ public class TkioAccountController {
@RequestMapping(value = "/enablepress", method = RequestMethod.PUT) @RequestMapping(value = "/enablepress", method = RequestMethod.PUT)
@ResponseBody @ResponseBody
public ResultModel enablePress(@CurrentAccount User loginAccount, @RequestBody PressMoney resource, HttpServletRequest request) { public ResultModel enablePress(@CurrentAccount User loginAccount, @RequestBody PressMoney resource, HttpServletRequest request) {
UserLogThread userlog = new UserLogThread(loginAccount.getEmail(), loginAccount.getName(), OperateObjectTypeEnum.CUSTOMER.getKey(), resource.getEmail(), "开启异常状态跟进", request,loginAccount.getRole()); UserLogThread userlog = new UserLogThread(loginAccount.getEmail(), loginAccount.getName(), OperateObjectTypeEnum.CUSTOMER.getKey(), resource.getEmail(), "开启缴费状态跟进", request,loginAccount.getRole());
userlog.start(); userlog.start();
return ResultModel.OK(tkioAccountService.enablePress(loginAccount, resource)); return ResultModel.OK(tkioAccountService.enablePress(loginAccount, resource));
} }
......
...@@ -35,8 +35,9 @@ public class IoAccountController { ...@@ -35,8 +35,9 @@ public class IoAccountController {
@RequestMapping(value = "/update/sale", method = RequestMethod.PUT) @RequestMapping(value = "/update/sale", method = RequestMethod.PUT)
@ResponseBody @ResponseBody
public ResultModel updateSale(@CurrentAccount User loginAccount, public ResultModel updateSale(@CurrentAccount User loginAccount,
@RequestParam String email, @RequestParam String accountEmail) { @RequestParam String email, @RequestParam String accountEmail, HttpServletRequest request) {
UserLogThread userlog = new UserLogThread(loginAccount.getEmail(), loginAccount.getName(), OperateObjectTypeEnum.CUSTOMER.getKey(), accountEmail, "tkio修改销售为 " + email, request,loginAccount.getRole());
userlog.start();
return ResultModel.OK(tkioAccountService.updateSale(email, accountEmail)); return ResultModel.OK(tkioAccountService.updateSale(email, accountEmail));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment