|
|
@@ -549,7 +549,12 @@
|
|
|
</if>
|
|
|
</if>
|
|
|
<if test="username != null" >
|
|
|
- and a.user_names like concat('%',#{username},'%')
|
|
|
+ <if test="expenseMain ==0">
|
|
|
+ and a.user_names like concat('%',#{username},'%')
|
|
|
+ </if>
|
|
|
+ <if test="expenseMain ==1">
|
|
|
+ and sea.user_names like concat('%',#{username},'%')
|
|
|
+ </if>
|
|
|
</if>
|
|
|
<if test="startTime !=null and endTime !=null">
|
|
|
and a.create_time between #{startTime} and #{endTime}
|