|
@@ -1,5 +1,6 @@
|
|
package com.yijia.label.controller;
|
|
package com.yijia.label.controller;
|
|
|
|
|
|
|
|
+import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
import com.yijia.common.core.domain.model.LoginUser;
|
|
import com.yijia.common.core.domain.model.LoginUser;
|
|
@@ -28,7 +29,7 @@ import com.yijia.common.core.page.TableDataInfo;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 用户标签Controller
|
|
* 用户标签Controller
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @author yijia
|
|
* @author yijia
|
|
* @date 2021-06-15
|
|
* @date 2021-06-15
|
|
*/
|
|
*/
|
|
@@ -79,14 +80,16 @@ public class CustomerLabelController extends BaseController
|
|
@GetMapping(value = "/selectCustomerLabelInfo")
|
|
@GetMapping(value = "/selectCustomerLabelInfo")
|
|
public AjaxResult selectCustomerLabelInfo(CustomerLabel customerLabel)
|
|
public AjaxResult selectCustomerLabelInfo(CustomerLabel customerLabel)
|
|
{
|
|
{
|
|
|
|
+ System.out.println("==================="+new Date());
|
|
LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
customerLabel.setStationId(currentUser.getUser().getDeptId());
|
|
customerLabel.setStationId(currentUser.getUser().getDeptId());
|
|
customerLabel.setDelFlag("0");
|
|
customerLabel.setDelFlag("0");
|
|
ResponeCustomerLabel responeCustomerLabel =new ResponeCustomerLabel();
|
|
ResponeCustomerLabel responeCustomerLabel =new ResponeCustomerLabel();
|
|
List<CustomerLabel> notlist = customerLabelService.selectNotCustomerLabelInfo(customerLabel);
|
|
List<CustomerLabel> notlist = customerLabelService.selectNotCustomerLabelInfo(customerLabel);
|
|
- List<String> list = customerLabelService.selectPhoneList(customerLabel);
|
|
|
|
|
|
+ List<CustomerLabel> list = customerLabelService.selectPhoneList(customerLabel);
|
|
responeCustomerLabel.setNotCustomerLabelList(notlist);
|
|
responeCustomerLabel.setNotCustomerLabelList(notlist);
|
|
- responeCustomerLabel.setPhoneList(list);
|
|
|
|
|
|
+ // responeCustomerLabel.setPhoneList(list);
|
|
|
|
+ System.out.println("=================================="+new Date());
|
|
return AjaxResult.success(responeCustomerLabel);
|
|
return AjaxResult.success(responeCustomerLabel);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -98,6 +101,7 @@ public class CustomerLabelController extends BaseController
|
|
@GetMapping(value = "/selectNotCustomerLabelInfo")
|
|
@GetMapping(value = "/selectNotCustomerLabelInfo")
|
|
public TableDataInfo selectNotCustomerLabelInfo(CustomerLabel customerLabel)
|
|
public TableDataInfo selectNotCustomerLabelInfo(CustomerLabel customerLabel)
|
|
{
|
|
{
|
|
|
|
+ startPage();
|
|
LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
customerLabel.setStationId(currentUser.getUser().getDeptId());
|
|
customerLabel.setStationId(currentUser.getUser().getDeptId());
|
|
customerLabel.setDelFlag("0");
|
|
customerLabel.setDelFlag("0");
|
|
@@ -113,10 +117,11 @@ public class CustomerLabelController extends BaseController
|
|
@GetMapping(value = "/selectPhoneList")
|
|
@GetMapping(value = "/selectPhoneList")
|
|
public TableDataInfo selectPhoneList(CustomerLabel customerLabel)
|
|
public TableDataInfo selectPhoneList(CustomerLabel customerLabel)
|
|
{
|
|
{
|
|
|
|
+ startPage();
|
|
LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
customerLabel.setDelFlag("0");
|
|
customerLabel.setDelFlag("0");
|
|
customerLabel.setStationId(currentUser.getUser().getDeptId());
|
|
customerLabel.setStationId(currentUser.getUser().getDeptId());
|
|
- List<String> list = customerLabelService.selectPhoneList(customerLabel);
|
|
|
|
|
|
+ List<CustomerLabel> list = customerLabelService.selectPhoneList(customerLabel);
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
}
|
|
}
|
|
|
|
|