Commit a2d7a6a1 authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent 939cfb16
...@@ -168,7 +168,8 @@ public class MatterApplyServiceImpl extends AbstractCRUDServiceImpl<MatterApplyD ...@@ -168,7 +168,8 @@ public class MatterApplyServiceImpl extends AbstractCRUDServiceImpl<MatterApplyD
@Override @Override
protected void updateAfter(MatterApplyEntity entity, Context context) throws AppException { protected void updateAfter(MatterApplyEntity entity, Context context) throws AppException {
if(CollectionUtils.isNotEmpty(entity.getApplyDatumList())){ if(CollectionUtils.isNotEmpty(entity.getApplyDatumList())){
matterApplyDatumService.update(entity.getApplyDatumList()); matterApplyDatumService.getDao().delete(new MatterApplyDatumQuery().applyId(entity.getId()));
matterApplyDatumService.save(entity.getApplyDatumList());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment