XML fragments parsed from previous mappers does not contain value for com.foxconn.web.mapper.LinecountMapper.query_repair
Mapper xml 文件中 中的内容没找到,
<sql id="query_line_count">
<if test="Query!=null">
<if test="Query.line!=null and Query.line!=''">
in_station_time ${time} and line_name like #{line} AND GROUP_NAME='ASSY-PCBA' GROUP BY LINE_NAME order by line_name
</if>
</if>
</sql>
<select id="findcount" parameterType="com.foxconn.web.po.Query" resultType="com.foxconn.web.po.LineDetail">
SELECT LINE_NAME linename,COUNT(*) count FROM SFISM4.R_SN_DETAIL_T
<where>
<include refid="query_repair"></include>
</where>
</select>
上面的include 中要找query_repair 实际 中没有这个ID的SQL