瀏覽代碼

update 乐保增加搜索条件

周箭河 4 年之前
父節點
當前提交
b73fbdc3b9
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/StudentInstrumentMapper.xml

+ 3 - 0
mec-biz/src/main/resources/config/mybatis/StudentInstrumentMapper.xml

@@ -131,6 +131,9 @@
             <if test="specification != null">
                 AND si.specification_ LIKE CONCAT('%',#{specification},'%')
             </if>
+            <if test="status != null">
+                AND si.status_ = #{status}
+            </if>
             <if test="search != null">
                 AND (si.student_id_ = #{search} OR su.phone_ = #{search} OR su.username_ LIKE CONCAT('%',#{search},'%'))
             </if>