add 到账开票增加应收金额范围查询
This commit is contained in:
+9
@@ -201,6 +201,15 @@
|
||||
LEFT JOIN pay_payment_record ppr ON ppr.project_id = p.id
|
||||
where
|
||||
1=1
|
||||
<if test="param2.startAmount != null and param2.startAmount != '' and param2.endAmount != null and param2.endAmount != ''">
|
||||
AND p.receivable_amount between #{param2.startAmount} and #{param2.endAmount}
|
||||
</if>
|
||||
<if test="param2.startAmount == null and param2.endAmount != null">
|
||||
AND p.receivable_amount <![CDATA[<=]]> #{param2.endAmount}
|
||||
</if>
|
||||
<if test="param2.startAmount != null and param2.endAmount == null">
|
||||
AND p.receivable_amount <![CDATA[>=]]> #{param2.startAmount}
|
||||
</if>
|
||||
<if test="projectType != null and projectType != ''">
|
||||
AND p.projectType = #{projectType}
|
||||
</if>
|
||||
|
||||
@@ -250,4 +250,10 @@ public class PayCommonProject implements Serializable {
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private String missionAndObjectives;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String startAmount;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String endAmount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user