Showing
5 changed files
with
5 additions
and
5 deletions
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | </if> | 22 | </if> |
23 | AND create_time >= #{startTime, jdbcType=INTEGER} | 23 | AND create_time >= #{startTime, jdbcType=INTEGER} |
24 | AND create_time < #{endTime, jdbcType=INTEGER} | 24 | AND create_time < #{endTime, jdbcType=INTEGER} |
25 | - <if test="sizeId = null or sizeId =''"> | 25 | + <if test="sizeId == null or sizeId == ''"> |
26 | GROUP BY product_id, create_time | 26 | GROUP BY product_id, create_time |
27 | </if> | 27 | </if> |
28 | ORDER BY create_time ASC | 28 | ORDER BY create_time ASC |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | </if> | 23 | </if> |
24 | AND create_time >= #{startTime, jdbcType=INTEGER} | 24 | AND create_time >= #{startTime, jdbcType=INTEGER} |
25 | AND create_time < #{endTime, jdbcType=INTEGER} | 25 | AND create_time < #{endTime, jdbcType=INTEGER} |
26 | - <if test="sizeId = null or sizeId =''"> | 26 | + <if test="sizeId == null or sizeId == ''"> |
27 | GROUP BY product_id, create_time | 27 | GROUP BY product_id, create_time |
28 | </if> | 28 | </if> |
29 | ORDER BY create_time ASC | 29 | ORDER BY create_time ASC |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | </if> | 23 | </if> |
24 | AND create_time >= #{startTime, jdbcType=INTEGER} | 24 | AND create_time >= #{startTime, jdbcType=INTEGER} |
25 | AND create_time < #{endTime, jdbcType=INTEGER} | 25 | AND create_time < #{endTime, jdbcType=INTEGER} |
26 | - <if test="sizeId = null or sizeId =''"> | 26 | + <if test="sizeId == null or sizeId == ''"> |
27 | GROUP BY product_id, create_time | 27 | GROUP BY product_id, create_time |
28 | </if> | 28 | </if> |
29 | ORDER BY create_time ASC | 29 | ORDER BY create_time ASC |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | </if> | 23 | </if> |
24 | AND create_time >= #{startTime, jdbcType=INTEGER} | 24 | AND create_time >= #{startTime, jdbcType=INTEGER} |
25 | AND create_time < #{endTime, jdbcType=INTEGER} | 25 | AND create_time < #{endTime, jdbcType=INTEGER} |
26 | - <if test="sizeId = null or sizeId =''"> | 26 | + <if test="sizeId == null or sizeId == ''"> |
27 | GROUP BY product_id, create_time | 27 | GROUP BY product_id, create_time |
28 | </if> | 28 | </if> |
29 | ORDER BY create_time ASC | 29 | ORDER BY create_time ASC |
@@ -5,6 +5,6 @@ | @@ -5,6 +5,6 @@ | ||
5 | <configuration> | 5 | <configuration> |
6 | <settings> | 6 | <settings> |
7 | <setting name="defaultStatementTimeout" value="10"/> <!-- seconds --> | 7 | <setting name="defaultStatementTimeout" value="10"/> <!-- seconds --> |
8 | - <setting name="logImpl" value="STDOUT_LOGGING" /> | 8 | + <setting name="logImpl" value="STDOUT_LOGGING" /> <!-- 在控制台打印sql语句 --> |
9 | </settings> | 9 | </settings> |
10 | </configuration> | 10 | </configuration> |
-
Please register or login to post a comment