提交 2516ef5e 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 f049f9ce
......@@ -81,10 +81,16 @@ public class IBZDictItemServiceImpl extends ServiceImpl<IBZDictItemMapper, IBZDi
}
}
@Override
public void saveBatch(List<IBZDictItem> list, int batchSize) {
saveOrUpdateBatch(list,batchSize);
}
@Override
public boolean checkKey(IBZDictItem et) {
return (!ObjectUtils.isEmpty(et.getItemid()))&&(!Objects.isNull(this.getById(et.getItemid())));
}
@Override
@Transactional
public boolean remove(String key) {
......@@ -92,6 +98,12 @@ public class IBZDictItemServiceImpl extends ServiceImpl<IBZDictItemMapper, IBZDi
if(!ret) return ret;
return ret ;
}
@Override
public void removeBatch(Collection<String> idList, int batchSize) {
removeByIds(idList);
}
@Override
@Transactional
public boolean create(IBZDictItem et) {
......@@ -101,6 +113,11 @@ public class IBZDictItemServiceImpl extends ServiceImpl<IBZDictItemMapper, IBZDi
return ret ;
}
@Override
public void createBatch(List<IBZDictItem> list, int batchSize) {
saveBatch(list,batchSize);
}
@Override
@Transactional
public boolean update(IBZDictItem et) {
......@@ -113,6 +130,12 @@ public class IBZDictItemServiceImpl extends ServiceImpl<IBZDictItemMapper, IBZDi
return ret ;
}
@Override
public void updateBatch(List<IBZDictItem> list, int batchSize) {
updateBatchById(list,batchSize);
}
/**
* 查询集合 DEFAULT
*/
......
......@@ -77,10 +77,16 @@ public class IBZDictServiceImpl extends ServiceImpl<IBZDictMapper, IBZDict> impl
return ret ;
}
@Override
public void createBatch(List<IBZDict> list, int batchSize) {
saveBatch(list,batchSize);
}
@Override
public boolean checkKey(IBZDict et) {
return (!ObjectUtils.isEmpty(et.getDictid()))&&(!Objects.isNull(this.getById(et.getDictid())));
}
@Override
public IBZDict getDraft(IBZDict et) {
return et;
......@@ -118,6 +124,12 @@ public class IBZDictServiceImpl extends ServiceImpl<IBZDictMapper, IBZDict> impl
CachedBeanCopier.copy(newet,et);
return ret ;
}
@Override
public void updateBatch(List<IBZDict> list, int batchSize) {
updateBatchById(list,batchSize);
}
@Override
@Transactional
public boolean remove(String key) {
......@@ -134,6 +146,12 @@ public class IBZDictServiceImpl extends ServiceImpl<IBZDictMapper, IBZDict> impl
if(!ret) return ret;
return ret ;
}
@Override
public void removeBatch(Collection<String> idList, int batchSize) {
removeByIds(idList);
}
@Override
@Transactional
public boolean save(IBZDict et) {
......@@ -152,6 +170,11 @@ public class IBZDictServiceImpl extends ServiceImpl<IBZDictMapper, IBZDict> impl
}
}
@Override
public void saveBatch(List<IBZDict> list, int batchSize) {
saveOrUpdateBatch(list,batchSize);
}
/**
* 查询集合 DEFAULT
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册