| | |
| | | AND (o.insertTime between CONCAT(#{beginTime},' 00:00:00') and CONCAT(#{endTime},' 23:59:59')) |
| | | </if> |
| | | <if test="name != null and name != ''"> |
| | | and o.name LIKE CONCAT('%',#{name},'%') |
| | | and o.userName LIKE CONCAT('%',#{name},'%') |
| | | </if> |
| | | <if test="withdrawalType != null and withdrawalType != ''"> |
| | | and o.withdrawalType = #{withdrawalType} |
| | |
| | | <if test="userType != null and userType != ''"> |
| | | and o.userType = #{userType} |
| | | </if> |
| | | <if test="type != null and type != ''"> |
| | | <if test="type != null and type != '' and type != 3"> |
| | | and o.type = #{type} |
| | | </if> |
| | | <if test="type != null and type != '' and type == 3"> |
| | | and o.type is null |
| | | </if> |
| | | <if test="state != null and state != ''"> |
| | | and o.state = #{state} |
| | | </if> |