|
@@ -52,6 +52,12 @@
|
|
<if test="fToDate != null ">and f_to_date = #{fToDate}</if>
|
|
<if test="fToDate != null ">and f_to_date = #{fToDate}</if>
|
|
<if test="fRefNo != null and fRefNo != ''">and f_ref_no = #{fRefNo}</if>
|
|
<if test="fRefNo != null and fRefNo != ''">and f_ref_no = #{fRefNo}</if>
|
|
<if test="fDeptid != null ">and f_deptid = #{fDeptid}</if>
|
|
<if test="fDeptid != null ">and f_deptid = #{fDeptid}</if>
|
|
|
|
+ <if test='timeInterval != null and timeInterval[0] != null and timeInterval[0]!= ""'>
|
|
|
|
+ and f_accbilldate >= #{timeInterval[0]}
|
|
|
|
+ </if>
|
|
|
|
+ <if test='timeInterval != null and timeInterval[1] != null and timeInterval[1]!= ""'>
|
|
|
|
+ and f_accbilldate <= #{timeInterval[1]}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -85,6 +91,12 @@
|
|
<if test="fRemarks != null and fRemarks != ''">and f.f_remarks = #{fRemarks}</if>
|
|
<if test="fRemarks != null and fRemarks != ''">and f.f_remarks = #{fRemarks}</if>
|
|
<if test="fAccbilldate != null ">and f.f_accbilldate = #{fAccbilldate}</if>
|
|
<if test="fAccbilldate != null ">and f.f_accbilldate = #{fAccbilldate}</if>
|
|
<if test="fDeptid != null ">and f.f_deptid = #{fDeptid}</if>
|
|
<if test="fDeptid != null ">and f.f_deptid = #{fDeptid}</if>
|
|
|
|
+ <if test='timeInterval != null and timeInterval[0] != null and timeInterval[0]!= ""'>
|
|
|
|
+ and f.f_accbilldate >= #{timeInterval[0]}
|
|
|
|
+ </if>
|
|
|
|
+ <if test='timeInterval != null and timeInterval[1] != null and timeInterval[1]!= ""'>
|
|
|
|
+ and f.f_accbilldate <= #{timeInterval[1]}
|
|
|
|
+ </if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|