Просмотр исходного кода

修改bug:
私有应收 跟单结算报表-保险公司报表保险公司筛选项筛的不对

jiakai 2 месяцев назад
Родитель
Сommit
a9ac93af45
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tenant/organization/src/main/resources/mapper/ReceivableMapper.xml

+ 1 - 1
tenant/organization/src/main/resources/mapper/ReceivableMapper.xml

@@ -2087,7 +2087,7 @@
                 AND a.system_code = #{query.systemCode}
                 AND a.system_code = #{query.systemCode}
             </if>
             </if>
             <if test="query.companyId != null and query.companyId != ''">
             <if test="query.companyId != null and query.companyId != ''">
-                AND a.company_id = #{query.companyId}
+                AND b.partner_company_id = #{query.companyId}
             </if>
             </if>
             <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
             <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
                 AND a.create_time between #{query.startTime} and #{query.endTime}
                 AND a.create_time between #{query.startTime} and #{query.endTime}