|
|
@@ -1,8 +1,11 @@
|
|
|
package com.fs.his.service.impl;
|
|
|
|
|
|
+import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
import com.fs.common.utils.DateUtils;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
+import com.fs.his.vo.OptionsVO;
|
|
|
+import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.fs.his.mapper.FsShareMaterialMapper;
|
|
|
@@ -91,4 +94,16 @@ public class FsShareMaterialServiceImpl extends ServiceImpl<FsShareMaterialMappe
|
|
|
{
|
|
|
return baseMapper.deleteFsShareMaterialById(id);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询分享素材选项
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public List<OptionsVO> listOptions() {
|
|
|
+ List<OptionsVO> optionsVOS = baseMapper.listOptions();
|
|
|
+ if (CollectionUtils.isEmpty(optionsVOS)) {
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
+ return optionsVOS;
|
|
|
+ }
|
|
|
}
|