|
|
@@ -77,7 +77,6 @@ public class YsZjtrfyServiceImpl extends BaseServiceImpl<YsZjtrfyMapper, YsZjtrf
|
|
|
// .eq(YsZjtrfyEntity::getXmId, entity.getXmId())
|
|
|
// .eq(YsZjtrfyEntity::getWzmc, entity.getWzmc());
|
|
|
// List<YsZjtrfyEntity> list = baseMapper.selectList(ew);
|
|
|
-
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
@@ -128,13 +127,11 @@ public class YsZjtrfyServiceImpl extends BaseServiceImpl<YsZjtrfyMapper, YsZjtrf
|
|
|
YsZjtrfyEntity entity = new YsZjtrfyEntity();
|
|
|
entity.setXmId(xmId);
|
|
|
BeanUtil.copyProperties(excel, entity);
|
|
|
-
|
|
|
insertList.add(entity);
|
|
|
if (insertList.size() % batchCount == 0 && this.saveBatch(insertList)) {
|
|
|
insertList.clear();
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
if (Func.isNotEmpty(insertList)) {
|
|
|
this.saveBatch(insertList);
|
|
|
}
|