浏览代码

归档列表搜索优化

赵越越 3 周之前
父节点
当前提交
db92a7b8ec
共有 1 个文件被更改,包括 2 次插入2 次删除
  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">