修复excel超过五百行报错
This commit is contained in:
@@ -148,8 +148,8 @@ public class EcSyncServiceImpl implements EcSyncService {
|
||||
//有就更新ec没有就插入
|
||||
if (newUserInfo != null) {
|
||||
//招商客户姓名为空
|
||||
if (StringUtil.isEmpty(newUserInfo.getUsername())) {
|
||||
newUserInfo.setUsername(newUserInfo.getUsername());
|
||||
if (ObjectUtil.isNull(newUserInfo.getUsername())||StringUtil.isEmpty(newUserInfo.getUsername())) {
|
||||
newUserInfo.setUsername(resultUser.getUsername());
|
||||
hyPartnerUserInfoDAO.updateByPrimaryKeySelective(newUserInfo);
|
||||
}
|
||||
// EC与沪姨合伙人同时存在的线索用户,但用户姓名不同,将沪姨合伙人线索姓名同步至EC覆盖原EC线索姓名
|
||||
@@ -223,6 +223,12 @@ public class EcSyncServiceImpl implements EcSyncService {
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
Integer a=null;
|
||||
System.out.println(a.equals("bb"));
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 得到不带86开头的号码
|
||||
*
|
||||
|
||||
@@ -911,7 +911,7 @@ public class ExcelUtil<T> {
|
||||
* 创建一个工作簿
|
||||
*/
|
||||
public void createWorkbook() {
|
||||
this.wb = new SXSSFWorkbook(500);
|
||||
this.wb = new SXSSFWorkbook(800);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user