提交 e7429ab7 编写于 作者: wangyongbo's avatar wangyongbo

修改刷数据逻辑

上级 ebbf264b
...@@ -133,10 +133,10 @@ public class RefreshServiceImpl implements RefreshService { ...@@ -133,10 +133,10 @@ public class RefreshServiceImpl implements RefreshService {
refreshMapper.updateRepeatById(repeat.getId()); refreshMapper.updateRepeatById(repeat.getId());
} }
if (CollectionUtils.isNotEmpty(wechatPats) && importPats.size() == importPats.size()) { if (CollectionUtils.isNotEmpty(importPats) && importPats.size() == importPats.size()) {
importPats.remove(0); importPats.remove(0);
if (CollectionUtils.isNotEmpty(wechatPats)) { if (CollectionUtils.isNotEmpty(importPats)) {
for (PatPatient pat : wechatPats) { for (PatPatient pat : importPats) {
if (pat.getId() != null) { if (pat.getId() != null) {
refreshMapper.deletePat(pat.getId()); refreshMapper.deletePat(pat.getId());
refreshMapper.deletePatInfo(pat.getId()); refreshMapper.deletePatInfo(pat.getId());
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册