Compare commits
6 Commits
0c1e0e693b
...
289723cf2e
Author | SHA1 | Date |
---|---|---|
涂强 | 289723cf2e | 4 weeks ago |
涂强 | 050caacc47 | 4 weeks ago |
涂强 | 6ea9a8370f | 4 weeks ago |
涂强 | 4a5c3386ce | 4 weeks ago |
涂强 | 5645556630 | 4 weeks ago |
涂强 | 576413cc35 | 4 weeks ago |
7 changed files with 41 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