批量处理云流水订货阶段接口

This commit is contained in:
shuo.wang
2025-05-23 16:33:52 +08:00
parent 7b30396dae
commit ad7c879a78
9 changed files with 110 additions and 5 deletions

View File

@@ -26,4 +26,15 @@
values (#{item.shopId},#{item.type},#{item.account},#{item.password},#{item.remark},#{item.createTime},#{item.createUser})
</foreach>
</insert>
<update id="batchUpdateYlsRemarkByShopCode">
UPDATE xfsg_pos_and_order_info a LEFT JOIN xfsg_shop_info b on a.`shop_id` = b.id
SET
a.remark = #{remark}
WHERE
b.`shop_code` in(
<foreach collection="list" item="item" separator=",">
#{item}
</foreach>
) AND a.type = 2
</update>
</mapper>