标准清单入库 bug修复
This commit is contained in:
+4
-2
@@ -33,7 +33,7 @@
|
||||
</if>
|
||||
</where>
|
||||
order by number
|
||||
LIMIT #{param3} OFFSET #{param2};
|
||||
LIMIT #{param3} , #{param2};
|
||||
</select>
|
||||
|
||||
<select id="selectLawsId2" resultType="string">
|
||||
@@ -45,12 +45,14 @@
|
||||
</where>
|
||||
order by number
|
||||
</select>
|
||||
|
||||
<insert id="insertList">
|
||||
INSERT INTO sar_laws_attr_detailed_list ( id, number, detailed_list_id, stand_id ) VALUES
|
||||
<foreach collection ="list" item="list" separator =",">
|
||||
<foreach collection ="sarLawsAttrDetailedLists" item="list" separator =",">
|
||||
(#{list.id,jdbcType=VARCHAR}, #{list.number}, #{list.detailedListId,jdbcType=VARCHAR}, #{list.standId,jdbcType=VARCHAR})
|
||||
</foreach >
|
||||
</insert>
|
||||
|
||||
<delete id="deleteByStandId">
|
||||
delete from sar_laws_attr_detailed_list where detailed_list_id=#{standId,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
|
||||
Reference in New Issue
Block a user