You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
678 B

package com.example.web.mapper;
import com.example.web.dto.EnterpriseInfoDTO;
import com.example.web.entity.Enterprise;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface SupplyEnterpriseMapper {
// 查询所有企业及其联系人和负责人信息
List<EnterpriseInfoDTO> selectAllEnterpriseInfo();
// 根据企业ID查询详细信息
EnterpriseInfoDTO selectEnterpriseInfoById(String id);
// 查询所有企业基本信息
List<Enterprise> selectAllEnterprises();
// 新增企业
int insertEnterprise(Enterprise enterprise);
//编辑修改
int updateEnterprise(Enterprise enterprise);
}