| | |
| | | import com.doumee.core.utils.Utils; |
| | | import com.doumee.dao.business.FileRecordMapper; |
| | | import com.doumee.dao.business.model.FileRecord; |
| | | import com.doumee.service.business.BaseDataService; |
| | | import com.doumee.service.business.FileRecordService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private FileRecordMapper fileRecordMapper; |
| | | @Autowired |
| | | @Lazy |
| | | private BaseDataService baseDataService; |
| | | |
| | | @Override |
| | | public Integer create(FileRecord fileRecord) { |
| | | fileRecordMapper.insert(fileRecord); |
| | | return fileRecord.getId(); |
| | | } |
| | | @Override |
| | | public Integer dealOploadEvent() { |
| | | return 0; |
| | | } |
| | | |
| | | @Override |
| | | public void deleteById(Integer id) { |