@ -104,10 +104,12 @@ public class SysCustomerQuoteServiceImpl implements ISysCustomerQuoteService {
@Override
public List < SysCustomerQuoteVo > selectSysCustomerQuoteList ( SysCustomerQuoteVo sysCustomerQuoteVo )
{
PageDomain pageDomain = TableSupport . buildPageRequest ( ) ;
Integer pageNum = pageDomain . getPageNum ( ) ;
Integer pageSize = pageDomain . getPageSize ( ) ;
//PageHelper 仅对第一List分页有效
Page < SysCustomerQuoteVo > list = ( Page < SysCustomerQuoteVo > ) sysCustomerQuoteMapper . selectSysCustomerQuoteList ( sysCustomerQuoteVo ) ;
Page < SysCustomerQuoteVo > returnList = new Page < > ( ) ;
@ -167,6 +169,20 @@ public class SysCustomerQuoteServiceImpl implements ISysCustomerQuoteService {
}
/ * *
* 通过用户名找到业务登录名 , 重新给业务员赋值
* * /
@Override
public String convertName ( SysCustomerQuoteVo sysCustomerQuoteVo ) {
String businessMembers = sysCustomerQuoteVo . getBusinessMembers ( ) ;
if ( StringUtils . isNotEmpty ( businessMembers ) ) {
String loginName = userMapper . selectLoginNameByUserName ( businessMembers ) ;
return loginName ;
}
return businessMembers ;
}
@Override
@Transactional
public int insertSysCustomerQuote ( SysCustomerQuote sysCustomerQuote ) {