質問編集履歴
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -46,5 +46,20 @@
|
|
46
46
|
}
|
47
47
|
}
|
48
48
|
```
|
49
|
+
```mapper
|
50
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
51
|
+
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
52
|
+
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
53
|
+
<mapper namespace="curriculum.mapper.FoodsMapper">
|
54
|
+
<select id="findByTypeAndPriceUsingClass" resultType="curriculum.domain.FoodsParam">
|
55
|
+
Select
|
56
|
+
*
|
57
|
+
From
|
58
|
+
foods
|
59
|
+
Where
|
60
|
+
type = #{type} AND price <![CDATA[ <= ]]> #{limit}
|
61
|
+
</select>
|
62
|
+
</mapper>
|
63
|
+
```
|
49
64
|
|
50
65
|
ご回答のほどよろしくお願いいたします。
|