xiaoyong931011
2021-03-17 0bcfecbfb194ab908fc33dee9cae43c7a77b608d
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductDao.xml
@@ -846,6 +846,16 @@
        </foreach>
    </select>
    <select id="selectProductNameByIds" resultType="java.lang.String">
        select
         title
        from shop_product
        where id in
        <foreach collection="ids" item="item" separator="," open="(" close=")">
            #{item}
        </foreach>
    </select>
    <!-- 根据id 锁表查询-->
    <select id="selectForUpdate" resultMap="ShopProductMap">