|
@@ -216,5 +216,18 @@
|
|
|
<select id="findUniqueByProperty" resultType="TestNote" statementType="STATEMENT">
|
|
|
select * FROM js_maintain_data where ${propertyName} = '${value}'
|
|
|
</select>
|
|
|
-
|
|
|
+
|
|
|
+ <select id="getFindListMain" parameterType="java.util.List" resultType="maintainData">
|
|
|
+ select
|
|
|
+ <include refid="infoColumns"/>
|
|
|
+ FROM js_maintain_data a
|
|
|
+ WHERE a.del_flag = '0'
|
|
|
+ and a.project_id in
|
|
|
+ <if test="array !=null and array.length > 0">
|
|
|
+ <foreach collection="array" index="index" item="item" open="("
|
|
|
+ separator="," close=")">
|
|
|
+ #{item}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
</mapper>
|