|
|
@@ -35,10 +35,10 @@
|
|
|
AND cbl.camp_id = #{param.campId}
|
|
|
</if>
|
|
|
<if test="param.userCode != null and param.userCode != ''">
|
|
|
- and cr.user_code = #{param.userCode}
|
|
|
+ and cu.user_code = #{param.userCode}
|
|
|
</if>
|
|
|
<if test="param.username != null and param.username != ''">
|
|
|
- and cr.username = #{param.username}
|
|
|
+ and cu.username = #{param.username}
|
|
|
</if>
|
|
|
<if test="param.sourceType != null">
|
|
|
AND cbl.source_type = #{param.sourceType}
|
|
|
@@ -65,8 +65,11 @@
|
|
|
<if test="param.campId != null">
|
|
|
AND cbl.camp_id = #{param.campId}
|
|
|
</if>
|
|
|
- <if test="param.userCode != null">
|
|
|
- AND cu.user_code = #{param.userCode}
|
|
|
+ <if test="param.userCode != null and param.userCode != ''">
|
|
|
+ and cu.user_code = #{param.userCode}
|
|
|
+ </if>
|
|
|
+ <if test="param.username != null and param.username != ''">
|
|
|
+ and cu.username = #{param.username}
|
|
|
</if>
|
|
|
<if test="param.sourceType != null">
|
|
|
AND cbl.source_type = #{param.sourceType}
|