瀏覽代碼

解决SQL拼接多了一个and

zhulu 1 年之前
父節點
當前提交
2f2caa7917
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      soc-modules/soc-modules-core/src/main/resources/mapper/question/QuestionMapper.xml

+ 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}