package com.zksy.park.service.imp;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zksy.park.domain.FileGeneral;
import com.zksy.park.domain.ParkInfo;
import com.zksy.park.mapper.FileGeneralMapper;
import com.zksy.park.mapper.ParkInfoMapper;
import com.zksy.park.service.FileGeneralService;
import com.zksy.park.service.ParkInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 文件通用方法
 * @date 2024/12/23 15:38:54
 */
@Service
public class FileGeneralServiceImpl extends ServiceImpl<FileGeneralMapper, FileGeneral> implements FileGeneralService {
    @Override
    public List<FileGeneral> selectFile(String formId) {
        QueryWrapper<FileGeneral> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("form_id", formId);
        return list(queryWrapper);
    }
}
