src/main/resources/mapper/EntMapper.xml
文件名从 src/main/resources/mapper/QiYeMapper.xml 修改 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.smartearth.poiexcel.mapper.QiYeMapper"> <mapper namespace="com.smartearth.poiexcel.mapper.EntMapper"> <select id="selectByName" resultType="com.smartearth.poiexcel.entity.EntEntity"> select * from smart_earth.yz_qiyexinxi