销项票账对比和主营业务收入对比税率×100

release
路明慧 2 years ago
parent 433cd0c96e
commit c56bb6fdf9
  1. 4
      dxhy-core/src/main/resources/mapper/frJob/QueryDetailDataDao.xml

@ -134,7 +134,7 @@
and r.zbzdh != '' and r.zbzdh != ''
group by r.zbzdh,i.racct group by r.zbzdh,i.racct
) v on t.bzdh = v.zbzdh ) v on t.bzdh = v.zbzdh
where d.tax_rate = v.sl where d.tax_rate * 100 = v.sl
and t.invoice_type in ('01','03','08','14','31','183') and t.invoice_type in ('01','03','08','14','31','183')
group by d.uuid,d.tax_rate group by d.uuid,d.tax_rate
</select> </select>
@ -181,7 +181,7 @@
and r.zbzdh != '' and r.zbzdh != ''
group by r.zbzdh,i.racct group by r.zbzdh,i.racct
) v on t.bzdh = v.zbzdh ) v on t.bzdh = v.zbzdh
where d.tax_rate = v.sl where d.tax_rate * 100 = v.sl
and t.invoice_type in ('01','03','08','14','31','183') and t.invoice_type in ('01','03','08','14','31','183')
group by d.uuid,d.tax_rate group by d.uuid,d.tax_rate
</select> </select>

Loading…
Cancel
Save