|
@@ -23,6 +23,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.google.common.collect.Maps;
|
|
|
import jakarta.annotation.Resource;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.compress.utils.Lists;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -58,6 +59,7 @@ import java.util.Map;
|
|
|
* @author fanzherong
|
|
|
* @date 2025/03/21 11:44
|
|
|
**/
|
|
|
+@Slf4j
|
|
|
@Service
|
|
|
public class BizCustomerServiceImpl extends ServiceImpl<BizCustomerMapper, BizCustomer> implements BizCustomerService {
|
|
|
|
|
@@ -168,11 +170,13 @@ public class BizCustomerServiceImpl extends ServiceImpl<BizCustomerMapper, BizCu
|
|
|
bizCustomerAccount.setCustomerId(bizCustomer.getId());
|
|
|
bizCustomerAccount.setLoginAccount(bizCustomer.getPhone());
|
|
|
bizCustomerAccountService.save(bizCustomerAccount);
|
|
|
+ log.info("用友推送客户信息结束");
|
|
|
}
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@Override
|
|
|
public void addYong(BizCustomerYongAddParam bizCustomerYongAddParam) {
|
|
|
+ log.info("用友推送客户信息开始");
|
|
|
//校验手机号格式
|
|
|
if(ObjectUtil.isNotEmpty(bizCustomerYongAddParam.getPhone())){
|
|
|
if(!PhoneUtil.isMobile(bizCustomerYongAddParam.getPhone())) {
|