Kaynağa Gözat

解决SQL拼接多了一个and

zhulu 1 yıl önce
ebeveyn
işleme
2f2caa7917

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/question/QuestionMapper.xml

@@ -344,7 +344,7 @@
                     and q.reform_status=#{params.status}
                 </when>
                 <when test="params.status==12">
-                    and and q.reform_status=10  and q.reform_deadline &lt; #{today}
+                    and q.reform_status=10  and q.reform_deadline &lt; #{today}
                 </when>
                 <otherwise>
                     and q.reform_status=#{params.status}