|
|
|
@ -64,7 +64,7 @@ |
|
|
|
|
group by r.zbzdh,i.racct |
|
|
|
|
) v on t.bzdh = v.zbzdh |
|
|
|
|
where d.tax_rate = v.sl |
|
|
|
|
and t.invoice_type in ('01','03','08','14','31','183') |
|
|
|
|
and t.invoice_type in ('01','03','08','14','31','183','185') |
|
|
|
|
and d.goods_name != '(详见销货清单)' |
|
|
|
|
group by d.uuid,d.tax_rate |
|
|
|
|
</select> |
|
|
|
@ -121,7 +121,7 @@ |
|
|
|
|
group by r.zbzdh,i.racct |
|
|
|
|
) v on t.bzdh = v.zbzdh |
|
|
|
|
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','185') |
|
|
|
|
and d.goods_name != '(详见销货清单)' |
|
|
|
|
and t.invoice_status != '2' |
|
|
|
|
group by d.uuid,d.tax_rate |
|
|
|
@ -166,7 +166,7 @@ |
|
|
|
|
group by r.zbzdh,i.racct |
|
|
|
|
) v on t.bzdh = v.zbzdh |
|
|
|
|
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','185') |
|
|
|
|
and d.goods_name != '(详见销货清单)' |
|
|
|
|
and t.invoice_status != '2' |
|
|
|
|
group by d.uuid,d.tax_rate |
|
|
|
|