|
|
@@ -59,8 +59,8 @@ public class AdminCustomerApiController extends BaseApiController {
|
|
|
* @throws InvocationTargetException
|
|
|
* @throws IllegalAccessException
|
|
|
*/
|
|
|
- @RequestMapping(value = "/addCustomer", method = RequestMethod.POST)
|
|
|
- public Result addCustomer(CustomerIn cusIn,CustomerOrganizationInfo coi,CustomerUserInfo cui,FollowUpRecord fur) throws ParseException, IllegalAccessException, InvocationTargetException {
|
|
|
+ @RequestMapping(value = "/addFollowRecord", method = RequestMethod.POST)
|
|
|
+ public Result addFollowRecord(CustomerIn cusIn,CustomerOrganizationInfo coi,CustomerUserInfo cui,FollowUpRecord fur) throws ParseException, IllegalAccessException, InvocationTargetException {
|
|
|
Result res=new Result();
|
|
|
//添加 customer
|
|
|
String customerId = UUID.randomUUID().toString();//客户记录ID
|
|
|
@@ -275,7 +275,7 @@ public class AdminCustomerApiController extends BaseApiController {
|
|
|
* @return
|
|
|
* @throws ParseException
|
|
|
*/
|
|
|
- @RequestMapping(value = "/addFollow", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/addFollowUpRecord", method = RequestMethod.POST)
|
|
|
public Result addFollowUpRecord(FollowUpRecord fur, CustomerIn cusIn) throws ParseException{
|
|
|
Result res = new Result();
|
|
|
SimpleDateFormat format = new SimpleDateFormat(AFTConstants.YYYYMMDDHHMMSS);
|
|
|
@@ -408,7 +408,7 @@ public class AdminCustomerApiController extends BaseApiController {
|
|
|
@RequestMapping(value = "/listTeamCustomer", method = RequestMethod.POST)
|
|
|
public Result listTeamCustomer(HttpServletRequest request,CustomerIn cin,Integer pageSize, Integer pageNo){
|
|
|
Result res = new Result();
|
|
|
- Pagination<CustomerOut> boList = customerService.getPublicCustomer(cin, pageSize, pageNo);
|
|
|
+ Pagination<CustomerOut> boList = customerService.getTeamCustomer(cin, pageSize, pageNo);
|
|
|
res.setData(boList);
|
|
|
return res;
|
|
|
}
|