|
|
@ -553,7 +553,7 @@ |
|
|
|
from |
|
|
|
from |
|
|
|
${dxhyTertiary}.t_dx_record_invoice t |
|
|
|
${dxhyTertiary}.t_dx_record_invoice t |
|
|
|
left JOIN ${dxhyDetail}.t_dx_record_invoice_detail b ON t.uuid = b.uuid |
|
|
|
left JOIN ${dxhyDetail}.t_dx_record_invoice_detail b ON t.uuid = b.uuid |
|
|
|
where t.detail_yesorno = '1' |
|
|
|
where '1' = '1' |
|
|
|
<if test="cjksyf != null and cjksyf!= '' and cjjsyf != null and cjjsyf != ''"> |
|
|
|
<if test="cjksyf != null and cjksyf!= '' and cjjsyf != null and cjjsyf != ''"> |
|
|
|
AND t.create_date BETWEEN #{cjksyf} and #{cjjsyf} |
|
|
|
AND t.create_date BETWEEN #{cjksyf} and #{cjjsyf} |
|
|
|
</if> |
|
|
|
</if> |
|
|
@ -666,7 +666,7 @@ |
|
|
|
from |
|
|
|
from |
|
|
|
${dxhyTertiary}.t_dx_sale_record_invoice t |
|
|
|
${dxhyTertiary}.t_dx_sale_record_invoice t |
|
|
|
left JOIN ${dxhyDetail}.t_dx_record_invoice_detail_sales b ON t.uuid = b.uuid |
|
|
|
left JOIN ${dxhyDetail}.t_dx_record_invoice_detail_sales b ON t.uuid = b.uuid |
|
|
|
where t.detail_yesorno = '1' |
|
|
|
where 1 = 1 |
|
|
|
<if test="cjksyf != null and cjksyf!= '' and cjjsyf != null and cjjsyf != ''"> |
|
|
|
<if test="cjksyf != null and cjksyf!= '' and cjjsyf != null and cjjsyf != ''"> |
|
|
|
AND t.create_date between #{cjksyf} and #{cjjsyf} |
|
|
|
AND t.create_date between #{cjksyf} and #{cjjsyf} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|