yujian
2019-12-19 bb07147aaa96d1ef4c99e358dbbe7dad160dc62a
fanli/src/main/java/com/yeshi/fanli/mapping/homemodule/SpecialMapper.xml
@@ -408,10 +408,11 @@
      WHERE sp.`b_state` = 0  
          AND IF(sp.b_start_time IS NULL,TRUE, sp.b_start_time<![CDATA[<=]]> NOW()) 
           AND IF(sp.b_end_time IS NULL,TRUE, sp.b_end_time <![CDATA[>=]]> NOW())
           <if test="platform == 1 and versionCode!=null">
           <if test="platform!=null and platform == 1 and versionCode!=null">
           AND IF(sp.`b_min_android_version_code` IS NOT NULL, #{versionCode}<![CDATA[>=]]> sp.b_min_android_version_code,TRUE)
         </if>
         <if test="platform == 2 and versionCode!=null">
         <if test="platform!=null and platform == 2 and versionCode!=null">
           AND IF(sp.`b_min_ios_version_code` IS NOT NULL, #{versionCode}<![CDATA[>=]]> sp.b_min_ios_version_code,TRUE)
         </if>
         <include refid="Sex_Screen" />