Browse Source

归档列表搜索优化

赵越越 3 weeks ago
parent
commit
db92a7b8ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      assistMg/src/main/resources/mapper/CostSurveyTemplateMapper.xml

+ 2 - 2
assistMg/src/main/resources/mapper/CostSurveyTemplateMapper.xml

@@ -116,8 +116,8 @@
 			<if test=" keyword != null and  keyword != ''">
 				and c.survey_template_name LIKE CONCAT('%', #{ keyword}, '%')
 			</if>
-			<if test=" status != null and  status != ''">
-				and c.status=#{ status}
+			<if test="status != null and status != '' or status == 0">
+				and c.status=#{status}
 			</if>
 			<if test="dataScope != null and dataScope >= 0">
 				<if test=" dataScope ==0">