Commit 61b410ff authored by chase's avatar chase

fix bug

parent da772691
...@@ -45,7 +45,10 @@ ...@@ -45,7 +45,10 @@
<property name="ignoreQualifiersAtRuntime" value="true"/> <property name="ignoreQualifiersAtRuntime" value="true"/>
</table> </table>
<table tableName="invoice_record" domainObjectName="InvoiceRecord">
<property name="useActualColumnNames" value="false"/>
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>
<!-- <!--
......
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
and bd.invoice_num like concat('%',#{billNumber},'%') and bd.invoice_num like concat('%',#{billNumber},'%')
</if> </if>
<if test="revenueCofId != null"> <if test="revenueCofId != null">
and bd.revenue_cof_id = #{revenueCofId} and if(bd.modify_revenue_cof_id is null,bd.revenue_cof_id = #{revenueCofId},bd.modify_revenue_cof_id = #{revenueCofId})
</if> </if>
<if test="billContent != null and billContent != ''"> <if test="billContent != null and billContent != ''">
and bd.billing_content like concat('%',#{billContent},'%') and bd.billing_content like concat('%',#{billContent},'%')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment