Commit dea3a460 by yuwei

项目初始化

parent f23aed8a
......@@ -109,7 +109,7 @@ public class DictMappingServiceImpl implements DictMappingService {
updateWrapper.set(ContrastDictEntity::getStatus, DataConstant.TrueOrFalse.TRUE.getKey());
updateWrapper.set(ContrastDictEntity::getContrastGbId, s.getTargetId());
updateWrapper.eq(ContrastDictEntity::getId, s.getSourceId());
contrastDictDao.update(new ContrastDictEntity(), updateWrapper);
contrastDictDao.update(null, updateWrapper);
});
}
......@@ -119,6 +119,6 @@ public class DictMappingServiceImpl implements DictMappingService {
updateWrapper.set(ContrastDictEntity::getStatus, DataConstant.TrueOrFalse.FALSE.getKey());
updateWrapper.set(ContrastDictEntity::getContrastGbId, null);
updateWrapper.eq(ContrastDictEntity::getId, id);
contrastDictDao.update(new ContrastDictEntity(), updateWrapper);
contrastDictDao.update(null, updateWrapper);
}
}
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