仪器护理信息

master
382696293@qq.com 2 years ago
parent fe2f5111c9
commit 7a380bc760

@ -372,9 +372,9 @@ public class WxInstrumentServiceImpl implements IWxInstrumentService {
WxModeTag wxModeTag = new WxModeTag();
wxModeTag.setModeId(wxMode.getId());
List<WxModeTag> wxModeTagList = wxModeTagMapper.selectWxModeTagList(wxModeTag);
if (wxModeTagList != null) {
if (wxModeTagList != null && wxModeTagList.size() > 0) {
List<Long> modeTagList = wxModeTagList.stream().map(WxModeTag::getTagId).collect(Collectors.toList());
if (userTagIdList == null || !userTagIdList.containsAll(modeTagList)) {
if (userTagIdList == null || userTagIdList.size() == 0 || !userTagIdList.containsAll(modeTagList)) {
WxModeRet wxModeRet = new WxModeRet();
BeanUtils.copyProperties(wxMode, wxModeRet);
wxModeRet.setLock(true);

Loading…
Cancel
Save