瀏覽代碼

财务结算-查询账户数量及图片数量修改

yangzian 4 年之前
父節點
當前提交
3f7a82ad6e

+ 1 - 1
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/settlement/mapper/xml/ReportSettlementMapper.xml

@@ -98,7 +98,7 @@
      <if test="uploadYears !=null and uploadYears != ''">
         AND DATE_FORMAT( date_time, '%Y-%m' ) =  #{uploadYears}
     </if>
-    <if test="accountIds !=null and accountIds != ''">
+    <if test='accountIds != null and accountIds.size() > 0'>
         AND account_id in
         <foreach collection="accountIds" item="item" separator=","
                  open="(" close=")">