| | |
| | | package com.lf.server.service.sys; |
| | | |
| | | import com.lf.server.entity.data.FmeLogEntity; |
| | | import com.lf.server.entity.sys.AttachEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.sys.AttachMapper; |
| | |
| | | |
| | | @Override |
| | | public Integer selectCount(String name) { |
| | | name = StringHelper.getLikeStr(name); |
| | | name = StringHelper.getLikeUpperStr(name); |
| | | |
| | | return attachMapper.selectCount(name); |
| | | } |
| | | |
| | | @Override |
| | | public List<AttachEntity> selectByPage(String name, Integer limit, Integer offset) { |
| | | name = StringHelper.getLikeStr(name); |
| | | name = StringHelper.getLikeUpperStr(name); |
| | | |
| | | return attachMapper.selectByPage(name, limit, offset); |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<AttachEntity> selectByGuids(String[] guids) { |
| | | public List<AttachEntity> selectByGuids(List<String> guids) { |
| | | return attachMapper.selectByGuids(guids); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<AttachEntity> selectByTabGuids(String tab, String[] guids) { |
| | | public List<AttachEntity> selectByTabGuids(String tab, List<String> guids) { |
| | | return attachMapper.selectByTabGuids(tab, guids); |
| | | } |
| | | |
| | |
| | | public Integer updates(List<AttachEntity> list) { |
| | | return attachMapper.updates(list); |
| | | } |
| | | |
| | | @Override |
| | | public List<FmeLogEntity> selectFmeLogs() { |
| | | return attachMapper.selectFmeLogs(); |
| | | } |
| | | |
| | | @Override |
| | | public Integer updateFmeLog(Integer id) { |
| | | return attachMapper.updateFmeLog(id); |
| | | } |
| | | } |