anderx лет назад: 2
Родитель
Сommit
c527589894
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

+ 9 - 0
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -389,6 +389,9 @@
     <if test="status != null">
       and a.status= #{status}
     </if>
+    <if test="type != null">
+      and a.type= #{type}
+    </if>
     <if test="startTime !=null and endTime !=null">
       and a.create_time between #{startTime} and #{endTime}
     </if>
@@ -441,6 +444,9 @@
     <if test="status != null">
       and a.status= #{status}
     </if>
+    <if test="type != null">
+      and a.type= #{type}
+    </if>
     <if test="startTime !=null and endTime !=null">
       and a.create_time between #{startTime} and #{endTime}
     </if>
@@ -490,6 +496,9 @@
     <if test="status != null">
       and a.status= #{status}
     </if>
+    <if test="type != null">
+      and a.type= #{type}
+    </if>
     <if test="startTime !=null and endTime !=null">
       and a.create_time between #{startTime} and #{endTime}
     </if>