Commit 3fe019a2 authored by hezhen's avatar hezhen

123

parent 14b0f5e8
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</select> </select>
<!-- 获取出行时间 --> <!-- 获取出行时间 -->
<select id="getTotalStock" > <select id="getTotalStock" resultType="Integer" >
SELECT IFNULL(SUM(stock),0) as stock FROM tour_good_spe_price WHERE good_id=#{goodId} and is_del=0 and IFNULL(DATEDIFF(start_time,NOW()),0)>0 SELECT IFNULL(SUM(stock),0) as stock FROM tour_good_spe_price WHERE good_id=#{goodId} and is_del=0 and IFNULL(DATEDIFF(start_time,NOW()),0)>0
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment