|
@@ -1740,14 +1740,14 @@ public class AdminCustomerController {
|
|
|
ResultMsg msg = new ResultMsg();
|
|
|
CustomerInfo customerInfo = new CustomerInfo();
|
|
|
//获取登录员工id
|
|
|
- Integer adminId = AdminUtils.getLoginAdminId();
|
|
|
- customerInfo.setAdminId(adminId);
|
|
|
+ Admin admin = AdminUtils.getLoginAdmin();
|
|
|
+ customerInfo.setAdminId(admin.getAdminId());
|
|
|
customerInfo.setCustomerIsSolve(2);
|
|
|
//未解决客诉数量
|
|
|
Integer notSolvedCustomer = customerService.selectNotSolvedCustomer(customerInfo);
|
|
|
//需要向工厂确认所有已签收的产品数量
|
|
|
CustomerCommon customerCommon = new CustomerCommon();
|
|
|
- customerCommon.setAdminId(adminId);
|
|
|
+ customerCommon.setAdminId(admin.getAdminId());
|
|
|
customerCommon.setRelationBackStatus(4);
|
|
|
Integer amountReceivedCustomer = customerCommonService.listCustomerCommonByStatus(customerCommon);
|
|
|
//需要填写Efast订单号的客诉数量
|
|
@@ -1763,6 +1763,7 @@ public class AdminCustomerController {
|
|
|
numberMap.put("amountReceivedCustomer",amountReceivedCustomer);
|
|
|
numberMap.put("noEntryCustomer",noEntryCustomer);
|
|
|
numberMap.put("notSendCustomer",notSendCustomer);
|
|
|
+ numberMap.put("adminDept",admin.getAdminDept());
|
|
|
msg.setResultCode(ResultInfo.SUCCESSCODE);
|
|
|
msg.setStatus(true);
|
|
|
msg.setData(numberMap);
|