|
|
@@ -496,6 +496,10 @@
|
|
|
<if test="expenseMain != null">
|
|
|
and a.expense_main= #{expenseMain}
|
|
|
</if>
|
|
|
+ <if test="secondaryType != null">
|
|
|
+ and a.secondary_type= #{secondaryType}
|
|
|
+ </if>
|
|
|
+
|
|
|
order by a.status,a.create_time desc
|
|
|
<if test="page_sql !=null">
|
|
|
${page_sql}
|
|
|
@@ -563,6 +567,9 @@
|
|
|
<if test="expenseMain != null">
|
|
|
and a.expense_main = #{expenseMain}
|
|
|
</if>
|
|
|
+ <if test="secondaryType != null">
|
|
|
+ and a.secondary_type= #{secondaryType}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="selectExpenseAccountTotalAmount" resultType="java.lang.Integer">
|
|
|
@@ -626,6 +633,9 @@
|
|
|
<if test="expenseMain != null">
|
|
|
and a.expense_main = #{expenseMain}
|
|
|
</if>
|
|
|
+ <if test="secondaryType != null">
|
|
|
+ and a.secondary_type= #{secondaryType}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
|