|
|
@@ -84,9 +84,8 @@
|
|
|
select * from sale left join saledetail on sa_id=sd_said left join product
|
|
|
on sd_prodid = pr_id and sale.companyId = product.companyid
|
|
|
<where>
|
|
|
- sa_statuscode='AUDITED'
|
|
|
<if test="con != null">
|
|
|
- and ${con}
|
|
|
+ ${con}
|
|
|
</if>
|
|
|
<if test="companyId != null">
|
|
|
and sale.companyId = #{companyId}
|