<update id = "dishBatchSaleOrDown">
    <if test="ids != null">
         <if test="isDelete != null">
         update dishData set isDelete = #{isDelete} 
             where id IN 
          <foreach collection="ids" item="id" open="(" close="(" separator=",">
                #{ids}
         </foreach>
    </if>
         AND merchantId = #{merchantId}
</update>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-27
猜你喜欢
  • 2022-01-26
  • 2022-12-23
  • 2021-06-17
  • 2021-09-14
  • 2022-12-23
  • 2021-09-09
  • 2021-07-13
相关资源
相似解决方案