Authored by mali

价格走势

... ... @@ -18,9 +18,9 @@
from price_trend_day
where product_id = #{productId, jdbcType=INTEGER}
<if test="sizeId != null and sizeId !=''">
AND size_id = #{sizeId.jdbcType=INTEGER}
AND size_id = #{sizeId, jdbcType=INTEGER}
</if>
AND create_time &gt;= #{startTime.jdbcType=INTEGER}
AND create_time &lt; #{endTime.jdbcType=INTEGER}
AND create_time &gt;= #{startTime, jdbcType=INTEGER}
AND create_time &lt; #{endTime, jdbcType=INTEGER}
</select>
</mapper>
\ No newline at end of file
... ...
... ... @@ -19,9 +19,9 @@
from price_trend_half_year
where product_id = #{productId, jdbcType=INTEGER}
<if test="sizeId != null and sizeId !=''">
AND size_id = #{sizeId.jdbcType=INTEGER}
AND size_id = #{sizeId, jdbcType=INTEGER}
</if>
AND create_time &gt;= #{startTime.jdbcType=INTEGER}
AND create_time &lt; #{endTime.jdbcType=INTEGER}
AND create_time &gt;= #{startTime, jdbcType=INTEGER}
AND create_time &lt; #{endTime, jdbcType=INTEGER}
</select>
</mapper>
\ No newline at end of file
... ...
... ... @@ -19,9 +19,9 @@
from price_trend_month
where product_id = #{productId, jdbcType=INTEGER}
<if test="sizeId != null and sizeId !=''">
AND size_id = #{sizeId.jdbcType=INTEGER}
AND size_id = #{sizeId, jdbcType=INTEGER}
</if>
AND create_time &gt;= #{startTime.jdbcType=INTEGER}
AND create_time &lt; #{endTime.jdbcType=INTEGER}
AND create_time &gt;= #{startTime, jdbcType=INTEGER}
AND create_time &lt; #{endTime, jdbcType=INTEGER}
</select>
</mapper>
\ No newline at end of file
... ...
... ... @@ -19,9 +19,9 @@
from price_trend_sixty_day
where product_id = #{productId, jdbcType=INTEGER}
<if test="sizeId != null and sizeId !=''">
AND size_id = #{sizeId.jdbcType=INTEGER}
AND size_id = #{sizeId, jdbcType=INTEGER}
</if>
AND create_time &gt;= #{startTime.jdbcType=INTEGER}
AND create_time &lt; #{endTime.jdbcType=INTEGER}
AND create_time &gt;= #{startTime, jdbcType=INTEGER}
AND create_time &lt; #{endTime, jdbcType=INTEGER}
</select>
</mapper>
\ No newline at end of file
... ...