Update queryProductPriceListBySkn.md
Showing
1 changed file
with
10 additions
and
4 deletions
@@ -20,10 +20,16 @@ | @@ -20,10 +20,16 @@ | ||
20 | ### 对应SQL的操作库表 | 20 | ### 对应SQL的操作库表 |
21 | 21 | ||
22 | ```xml | 22 | ```xml |
23 | - <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" > | ||
24 | - delete from product_pool | ||
25 | - where id = #{id,jdbcType=INTEGER} | ||
26 | - </delete> | 23 | + <select id="selectProductPriceLogList" resultMap="BaseResultMap"> |
24 | + select | ||
25 | + <include refid="Base_Column_List" /> | ||
26 | + from product_price_log | ||
27 | + where product_skn in | ||
28 | + <foreach collection="productSknList" item="item" index="index" separator="," open="(" close=")"> | ||
29 | + #{item} | ||
30 | + </foreach> | ||
31 | + order by create_time desc | ||
32 | + </select> | ||
27 | ``` | 33 | ``` |
28 | 34 | ||
29 | ### 错误编码 | 35 | ### 错误编码 |
-
Please register or login to post a comment