|
|
@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
and date_format(fso.create_time, '%Y-%m-%d') >= #{beginTime} and date_format(fso.create_time, '%Y-%m-%d') <= #{endTime}
|
|
|
</if>
|
|
|
<if test="auditBeginTime != null and auditEndTime != null">
|
|
|
- and date_format(fsoa.admin_audit_time, '%Y-%m-%d') >= #{auditBeginTime} and date_format(fsoa.admin_audit_time, '%Y-%m-%d') <= #{auditEndTime}
|
|
|
+ and date_format(fsoa.company_audit_time, '%Y-%m-%d') >= #{auditBeginTime} and date_format(fsoa.company_audit_time, '%Y-%m-%d') <= #{auditEndTime}
|
|
|
</if>
|
|
|
<if test="orderAmountSmall != null and orderAmountBig != null">
|
|
|
and fso.pay_price >= #{orderAmountSmall} and fso.pay_price <= #{orderAmountBig}
|
|
|
@@ -63,6 +63,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="orderType != null">
|
|
|
and fso.order_type = #{orderType}
|
|
|
</if>
|
|
|
+ <if test="orderCode != null">
|
|
|
+ and fso.order_code like concat('%', #{orderCode}, '%')
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by fsoa.admin_audit_time desc, fsoa.company_audit_time desc, fsoa.create_time desc
|
|
|
</select>
|