Authored by LUOXC

Merge branch 'test6.8.5' of http://git.yoho.cn/ufo/yohoufo-fore into test6.8.5

@@ -372,7 +372,7 @@ public class SecurityInterceptor implements HandlerInterceptor, ApplicationEvent @@ -372,7 +372,7 @@ public class SecurityInterceptor implements HandlerInterceptor, ApplicationEvent
372 return null; 372 return null;
373 } 373 }
374 //特殊处理(有可能与有货不共用redis):如果获取到缓存,把缓存再一次保存到ufo的redis中 374 //特殊处理(有可能与有货不共用redis):如果获取到缓存,把缓存再一次保存到ufo的redis中
375 - valueOperations.set(cacheKey,result.getSessionKey(),result.getSessionKeyTimeOut(), TimeUnit.SECONDS); 375 + valueOperations.set(cacheKey, uid, result.getSessionKeyTimeOut(), TimeUnit.SECONDS);
376 logger.debug("SecurityInterceptor: set session to redis uid {},session key {},result {}",uid,result.getSessionKey(),result); 376 logger.debug("SecurityInterceptor: set session to redis uid {},session key {},result {}",uid,result.getSessionKey(),result);
377 return String.valueOf(result.getUid()); 377 return String.valueOf(result.getUid());
378 }catch(Exception e){ 378 }catch(Exception e){
@@ -22,5 +22,9 @@ @@ -22,5 +22,9 @@
22 </if> 22 </if>
23 AND create_time &gt;= #{startTime, jdbcType=INTEGER} 23 AND create_time &gt;= #{startTime, jdbcType=INTEGER}
24 AND create_time &lt; #{endTime, jdbcType=INTEGER} 24 AND create_time &lt; #{endTime, jdbcType=INTEGER}
  25 + <if test="sizeId = null or sizeId =''">
  26 + GROUP BY product_id, create_time
  27 + </if>
  28 + ORDER BY create_time ASC
25 </select> 29 </select>
26 </mapper> 30 </mapper>
@@ -23,5 +23,9 @@ @@ -23,5 +23,9 @@
23 </if> 23 </if>
24 AND create_time &gt;= #{startTime, jdbcType=INTEGER} 24 AND create_time &gt;= #{startTime, jdbcType=INTEGER}
25 AND create_time &lt; #{endTime, jdbcType=INTEGER} 25 AND create_time &lt; #{endTime, jdbcType=INTEGER}
  26 + <if test="sizeId = null or sizeId =''">
  27 + GROUP BY product_id, create_time
  28 + </if>
  29 + ORDER BY create_time ASC
26 </select> 30 </select>
27 </mapper> 31 </mapper>
@@ -23,5 +23,9 @@ @@ -23,5 +23,9 @@
23 </if> 23 </if>
24 AND create_time &gt;= #{startTime, jdbcType=INTEGER} 24 AND create_time &gt;= #{startTime, jdbcType=INTEGER}
25 AND create_time &lt; #{endTime, jdbcType=INTEGER} 25 AND create_time &lt; #{endTime, jdbcType=INTEGER}
  26 + <if test="sizeId = null or sizeId =''">
  27 + GROUP BY product_id, create_time
  28 + </if>
  29 + ORDER BY create_time ASC
26 </select> 30 </select>
27 </mapper> 31 </mapper>
@@ -23,5 +23,9 @@ @@ -23,5 +23,9 @@
23 </if> 23 </if>
24 AND create_time &gt;= #{startTime, jdbcType=INTEGER} 24 AND create_time &gt;= #{startTime, jdbcType=INTEGER}
25 AND create_time &lt; #{endTime, jdbcType=INTEGER} 25 AND create_time &lt; #{endTime, jdbcType=INTEGER}
  26 + <if test="sizeId = null or sizeId =''">
  27 + GROUP BY product_id, create_time
  28 + </if>
  29 + ORDER BY create_time ASC
26 </select> 30 </select>
27 </mapper> 31 </mapper>