|
@@ -298,7 +298,7 @@
|
|
|
AND (so.order_no_ = #{search} OR so.trans_no_ = #{search})
|
|
AND (so.order_no_ = #{search} OR so.trans_no_ = #{search})
|
|
|
</if>
|
|
</if>
|
|
|
<if test="userName != null and userName != ''">
|
|
<if test="userName != null and userName != ''">
|
|
|
- AND (so.user_id_ = concat('%',#{userName}),'%') OR su.username_ = concat('%',#{userName}),'%')
|
|
|
|
|
|
|
+ AND (so.user_id_ like concat('%',#{userName},'%') OR su.username_ like concat('%',#{userName},'%'))
|
|
|
</if>
|
|
</if>
|
|
|
<if test="organIdList != null and organIdList != ''">
|
|
<if test="organIdList != null and organIdList != ''">
|
|
|
AND FIND_IN_SET(so.organ_id_,#{organIdList})
|
|
AND FIND_IN_SET(so.organ_id_,#{organIdList})
|