fix
Helius
2021-08-12 4705f9b4084d9ccddb601569b223f0fb41778a94
zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopProductDao.xml
@@ -113,7 +113,10 @@
         is_service,
         service_time,
         shop_ids,
         company_id
         company_id,
            score_category_id,
            able_sales,
            able_score_pay
   </sql>
    <!-- 属性sql -->
@@ -148,7 +151,10 @@
         #{item.isService},
         #{item.serviceTime},
         #{item.shopIds},
         #{item.companyId}
         #{item.companyId},
            #{item.scoreCategoryId},
            #{item.ableSales},
            #{item.ableScorePay}
   </sql>
    <!-- where sql -->
    <sql id="where_sql">
@@ -846,6 +852,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">