|
@@ -553,11 +553,11 @@
|
|
<!--<if test="officeId != null and officeId != ''">
|
|
<!--<if test="officeId != null and officeId != ''">
|
|
AND so.id = #{officeId}
|
|
AND so.id = #{officeId}
|
|
</if>-->
|
|
</if>-->
|
|
- <if test="money != null and money != ''">
|
|
|
|
|
|
+ <if test="moneyStr != null and moneyStr != ''">
|
|
AND a.money LIKE
|
|
AND a.money LIKE
|
|
- <if test="dbName == 'oracle'">'%'||#{money}||'%'</if>
|
|
|
|
- <if test="dbName == 'mssql'">'%'+#{money}+'%'</if>
|
|
|
|
- <if test="dbName == 'mysql'">concat('%',#{money},'%')</if>
|
|
|
|
|
|
+ <if test="dbName == 'oracle'">'%'||#{moneyStr}||'%'</if>
|
|
|
|
+ <if test="dbName == 'mssql'">'%'+#{moneyStr}+'%'</if>
|
|
|
|
+ <if test="dbName == 'mysql'">concat('%',#{moneyStr},'%')</if>
|
|
</if>
|
|
</if>
|
|
<!--<if test="submitterId != null and submitterId != ''">
|
|
<!--<if test="submitterId != null and submitterId != ''">
|
|
AND a.create_by = #{submitterId}
|
|
AND a.create_by = #{submitterId}
|
|
@@ -1153,8 +1153,11 @@
|
|
<if test="dbName == 'mssql'">'%'+#{widNumber}+'%'</if>
|
|
<if test="dbName == 'mssql'">'%'+#{widNumber}+'%'</if>
|
|
<if test="dbName == 'mysql'">concat('%',#{widNumber},'%')</if>
|
|
<if test="dbName == 'mysql'">concat('%',#{widNumber},'%')</if>
|
|
</if>
|
|
</if>
|
|
- <if test="money != null and money != ''">
|
|
|
|
- AND a.money = #{money}
|
|
|
|
|
|
+ <if test="moneyStr != null and moneyStr != ''">
|
|
|
|
+ AND a.money LIKE
|
|
|
|
+ <if test="dbName == 'oracle'">'%'||#{moneyStr}||'%'</if>
|
|
|
|
+ <if test="dbName == 'mssql'">'%'+#{moneyStr}+'%'</if>
|
|
|
|
+ <if test="dbName == 'mysql'">concat('%',#{moneyStr},'%')</if>
|
|
</if>
|
|
</if>
|
|
<if test="(accountCheckingUserId != null and accountCheckingUserId != '') or (accountCheckingUserName != null and accountCheckingUserName != '')">
|
|
<if test="(accountCheckingUserId != null and accountCheckingUserId != '') or (accountCheckingUserName != null and accountCheckingUserName != '')">
|
|
AND (a.account_checking_user_id = #{accountCheckingUserId} or sua.name like concat('%',#{accountCheckingUserName},'%'))
|
|
AND (a.account_checking_user_id = #{accountCheckingUserId} or sua.name like concat('%',#{accountCheckingUserName},'%'))
|
|
@@ -1527,11 +1530,11 @@
|
|
<if test="receiptMoney != null and receiptMoney != ''">
|
|
<if test="receiptMoney != null and receiptMoney != ''">
|
|
AND a.receipt_money = #{receiptMoney}
|
|
AND a.receipt_money = #{receiptMoney}
|
|
</if>
|
|
</if>
|
|
- <if test="money != null and money != ''">
|
|
|
|
|
|
+ <if test="moneyStr != null and moneyStr != ''">
|
|
AND a.money LIKE
|
|
AND a.money LIKE
|
|
- <if test="dbName == 'oracle'">'%'||#{money}||'%'</if>
|
|
|
|
- <if test="dbName == 'mssql'">'%'+#{money}+'%'</if>
|
|
|
|
- <if test="dbName == 'mysql'">concat('%',#{money},'%')</if>
|
|
|
|
|
|
+ <if test="dbName == 'oracle'">'%'||#{moneyStr}||'%'</if>
|
|
|
|
+ <if test="dbName == 'mssql'">'%'+#{moneyStr}+'%'</if>
|
|
|
|
+ <if test="dbName == 'mysql'">concat('%',#{moneyStr},'%')</if>
|
|
</if>
|
|
</if>
|
|
<if test="invoiceType != null and invoiceType != ''">
|
|
<if test="invoiceType != null and invoiceType != ''">
|
|
AND a.invoice_type = #{invoiceType}
|
|
AND a.invoice_type = #{invoiceType}
|