| | |
| | | is_service, |
| | | service_time, |
| | | shop_ids, |
| | | company_id |
| | | company_id, |
| | | score_category_id, |
| | | able_sales, |
| | | able_score_pay |
| | | </sql> |
| | | |
| | | <!-- 属性sql --> |
| | |
| | | #{item.isService}, |
| | | #{item.serviceTime}, |
| | | #{item.shopIds}, |
| | | #{item.companyId} |
| | | #{item.companyId}, |
| | | #{item.scoreCategoryId}, |
| | | #{item.ableSales}, |
| | | #{item.ableScorePay} |
| | | </sql> |
| | | <!-- where sql --> |
| | | <sql id="where_sql"> |
| | |
| | | </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"> |