Parcourir la source

byh24/11/4 完善规则页面功能

byh il y a 1 semaine
Parent
commit
49eff91970
1 fichiers modifiés avec 12 ajouts et 3 suppressions
  1. 12 3
      src/lsjb/mapper/guizeMapper/guize.xml

+ 12 - 3
src/lsjb/mapper/guizeMapper/guize.xml

@@ -41,9 +41,18 @@
         select gzname,luncishu,luncitime,jiangetime from g2_table_guize
         <where>
             1=1
-            <if test="gzname != null and gzname != '' ">
-                and gzname = #{gzname}
-            </if>
+                <if test="gzname != null and gzname != '' ">
+                    and gzname = #{gzname}
+                </if>
+                <if test="luncishu != null">
+                    and luncishu = #{luncishu}
+                </if>
+                <if test="luncitime != null">
+                    and luncitime = #{luncitime}
+                </if>
+                <if test="jiangetime != null">
+                    and jiangetime = #{jiangetime}
+                </if>
         </where>
     </select>