2021-05-31springboot写bug日记
1.遍历
2.Mapper接口传入参数要和xml文件中的参数一致(比如id
@Mapper
public interface LocationMapper {
public Location getLocation(Integer id);
<select id="getLocation" resultMap="LocationResult">
<include refid="selectAll" />
WHERE l.location_id =
#{id}
</
原创
2021-05-31 16:22:42 ·
54 阅读 ·
0 评论