7 changed files with 40 additions and 13 deletions
@ -0,0 +1,14 @@ |
|||
<?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="org.nl.acs.data.mapper.MaterialbaseMapper"> |
|||
|
|||
|
|||
<select id="findByCodes" resultType="org.nl.acs.data.domain.Materialbase" |
|||
parameterType="java.util.Set"> |
|||
SELECT * FROM materialbase |
|||
WHERE material_code IN |
|||
<foreach item="code" collection="materialCodes" open="(" separator="," close=")"> |
|||
#{code} |
|||
</foreach> |
|||
</select> |
|||
</mapper> |
@ -1,5 +0,0 @@ |
|||
<?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="org.nl.acs.data.mapper.MaterialbaseMapper"> |
|||
|
|||
</mapper> |
Loading…
Reference in new issue