and bs.belong_type = 1
and us.real_name like CONCAT('%', #{name}, '%') and bs.belong_id = #{userId} and bs.settle_status = #{settleStatus} and bs.upload_attachments = #{uploadAttachments}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bs.settle_no like CONCAT('%', #{settleNo}, '%')
= #{settleTimeStart,jdbcType=TIMESTAMP} ]]>
and bs.belong_type = 2
and bd.`name` like CONCAT('%', #{name}, '%') and bs.belong_id = #{departmentId} and bs.settle_status = #{settleStatus} and bs.upload_attachments = #{uploadAttachments}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bs.settle_no like CONCAT('%', #{settleNo}, '%')
= #{settleTimeStart,jdbcType=TIMESTAMP} ]]>
and bs.belong_type = 3
and bdm.`name` like CONCAT('%', #{name}, '%') and bdm.department_id = #{departmentId} and bs.belong_id = #{departmentMemberId} and bs.settle_status = #{settleStatus} and bs.upload_attachments = #{uploadAttachments}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bs.settle_no like CONCAT('%', #{settleNo}, '%')
= #{settleTimeStart,jdbcType=TIMESTAMP} ]]>
and bs.belong_type = 4
and fxs.real_name like CONCAT('%', #{name}, '%') and bs.belong_id = #{userId} and bs.settle_status = #{settleStatus} and bs.upload_attachments = #{uploadAttachments}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bs.settle_no like CONCAT('%', #{settleNo}, '%')
= #{settleTimeStart,jdbcType=TIMESTAMP} ]]>
and bs.belong_type = 5
and fxy.real_name like CONCAT('%', #{name}, '%') and bs.belong_id = #{userId} and bs.settle_status = #{settleStatus} and bs.upload_attachments = #{uploadAttachments}
= #{billPeriodStart,jdbcType=TIMESTAMP} ]]>
and bs.settle_no like CONCAT('%', #{settleNo}, '%')
= #{settleTimeStart,jdbcType=TIMESTAMP} ]]>