移动端加入
This commit is contained in:
@@ -161,9 +161,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="findFinanceByTime" resultMap="SysOaFinanceResult">
|
||||
<include refid="selectFinanceVo" />
|
||||
where a.finance_type = #{financeType}
|
||||
<if test=" payType!=NULL and payType!=null and payType !='0' ">
|
||||
<if test=" payType!=NULL and payType!=null and payType !='0' and payType!=0 ">
|
||||
and a.pay_type = #{payType}
|
||||
</if>
|
||||
|
||||
<if test=" receiveAccountId!=NULL and receiveAccountId!=null and receiveAccountId!='-1' ">
|
||||
and a.receive_account_id = #{receiveAccountId}
|
||||
</if>
|
||||
and a.project_id = 0
|
||||
and date_format(a.finance_time,'%Y-%m-%d %H:%i:%s') >= date_format(#{beginTime},'%Y-%m-%d %H:%i:%s')
|
||||
and date_format(a.finance_time,'%Y-%m-%d %H:%i:%s') <= date_format(#{endTime},'%Y-%m-%d %H:%i:%s')
|
||||
|
||||
Reference in New Issue
Block a user