|
@@ -6,8 +6,10 @@ import com.baomidou.dynamic.datasource.toolkit.DynamicDataSourceContextHolder;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.fjhx.account.controller.utils.DateUtils;
|
|
|
+import com.fjhx.account.entity.account.vo.AccountPaymentVo;
|
|
|
import com.fjhx.common.constant.SourceConstant;
|
|
|
import com.fjhx.customer.entity.customer.dto.CustomerDto;
|
|
|
+import com.fjhx.customer.entity.customer.dto.CustomerSelectDto;
|
|
|
import com.fjhx.sale.entity.contract.vo.ContractVo;
|
|
|
import com.fjhx.sale.entity.quotation.po.QuotationPay;
|
|
|
import com.fjhx.sale.entity.quotation.po.QuotationProduct;
|
|
@@ -261,6 +263,18 @@ public class SaleQuotationServiceImpl extends ServiceImpl<SaleQuotationMapper, S
|
|
|
return map;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 销售明细(客户画像)
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public Page<SaleQuotationVo> saleDetail(CustomerSelectDto dto) {
|
|
|
+ Page<SaleQuotationVo> saleQuotationVoPage = baseMapper.saleDetail(dto.getPage(), dto);
|
|
|
+ List<SaleQuotationVo> records = saleQuotationVoPage.getRecords();
|
|
|
+ // 赋值用户名称
|
|
|
+ UserUtil.assignmentNickName(records, SaleQuotationVo::getCreateUser, SaleQuotationVo::setUserName);
|
|
|
+
|
|
|
+ return saleQuotationVoPage;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
}
|