and bsb.belong_type = 1
and us.real_name like CONCAT('%', #{name}, '%') and bsb.belong_id = #{userId} and bsb.settle_status = #{settleStatus}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bsb.belong_type = 2
and bd.`name` like CONCAT('%', #{name}, '%') and bsb.belong_id = #{departmentId} and bsb.settle_status = #{settleStatus}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bsb.belong_type = 3
and bdm.`name` like CONCAT('%', #{name}, '%') and bdm.department_id = #{departmentId} and bsb.belong_id = #{departmentMemberId} and bsb.settle_status = #{settleStatus}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bsb.belong_type = 4
and fxs.real_name like CONCAT('%', #{name}, '%') and bsb.belong_id = #{userId} and bsb.settle_status = #{settleStatus}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bsb.belong_type = 5
and fxy.real_name like CONCAT('%', #{name}, '%') and bsb.belong_id = #{userId} and fxy.spread_uid = #{spreadUid} and bsb.settle_status = #{settleStatus}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bsb.belong_type in (1, 4, 5)
and us.real_name like CONCAT('%', #{name}, '%') and bsb.belong_id = #{userId} and bsb.settle_status = #{settleStatus}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>