| | |
| | | package com.lf.server.service.data; |
| | | |
| | | import com.lf.server.entity.all.StaticData; |
| | | import com.lf.server.entity.ctrl.DownloadReqEntity; |
| | | import com.lf.server.entity.data.MetaEntity; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.PathHelper; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<String> selectMetaOverflowDep(String ids, String depcode) { |
| | | depcode = StringHelper.getRightLike(depcode); |
| | | |
| | | return metaMapper.selectMetaOverflowDep(ids, depcode); |
| | | } |
| | | |
| | | /** |
| | | * 查询元数据中溢出的单位ID |
| | | */ |
| | | public List<String> selectMetaOverflowDep(UserEntity ue, DownloadReqEntity dr) { |
| | | String ids = StringHelper.join(dr.getIds(), ","); |
| | | |
| | | return selectMetaOverflowDep(ids, ue.getDepcode()); |
| | | } |
| | | |
| | | @Override |
| | | public Integer insert(MetaEntity entity) { |
| | | return metaMapper.insert(entity); |
| | | } |