|
@@ -170,13 +170,28 @@
|
170
|
170
|
</foreach>
|
171
|
171
|
</insert>
|
172
|
172
|
|
173
|
|
- <update id="deleteSpplyMgrInfo">
|
|
173
|
+ <delete id="deleteSpplyMgrInfo">
|
174
|
174
|
delete from spply_mgr_mgnt
|
175
|
175
|
where spply_id = #{spplyId}
|
176
|
176
|
and spply_mgr_id in
|
177
|
177
|
<foreach collection="gridDeleteData" item="item" separator="," open="(" close=")">
|
178
|
178
|
#{item.spplyMgrId}
|
179
|
179
|
</foreach>
|
|
180
|
+ </delete>
|
|
181
|
+
|
|
182
|
+ <update id="updateSpplyMgrInfo">
|
|
183
|
+ <foreach collection="gridUpdateData" item="item" separator=";">
|
|
184
|
+ UPDATE /* PchOrd.updateSpplyMgrInfo */ spply_mgr_mgnt
|
|
185
|
+ SET
|
|
186
|
+ spply_mgr_nm = #{item.spplyMgrNm}
|
|
187
|
+ rprst_tel_no = #{item.rprstTelNo}
|
|
188
|
+ rprst_emal = #{item.rprstEmal}
|
|
189
|
+ position = #{item.position}
|
|
190
|
+ assgn_task = #{item.assgnTask}
|
|
191
|
+ sys_chg_id = #{userId}
|
|
192
|
+ WHERE spply_id = #{item.spplyId}
|
|
193
|
+ AND spply_mgr_id = #{item.spplyMgrId}
|
|
194
|
+ </foreach>
|
180
|
195
|
</update>
|
181
|
196
|
|
182
|
197
|
<select id="selectSpplyInfo" resultType="com.oqpo.api.entity.stinfo.SpplyEntity">
|