소스 검색

解决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}