<iftest="objId != null "> and bci.obj_id = #{objId}</if>
<iftest="cabinetCode != null "> and bci.cabinet_code = #{cabinetCode}</if>
<iftest="cabinetAlias != null and cabinetAlias != ''"> and bci.cabinet_alias like concat('%', #{cabinetAlias}, '%')</if>
<iftest="isChecked != null "> and bci.is_checked = #{isChecked}</if>
<iftest="isFlag != null "> and bci.is_flag = #{isFlag}</if>
<iftest="remark != null and remark != ''"> and bci.remark = #{remark}</if>
<iftest="createdBy != null and createdBy != ''"> and bci.created_by = #{createdBy}</if>
<iftest="params.beginCreatedTime != null and params.beginCreatedTime != '' and params.endCreatedTime != null and params.endCreatedTime != ''"> and bci.created_time between #{params.beginCreatedTime} and #{params.endCreatedTime}</if>
<iftest="updatedBy != null and updatedBy != ''"> and bci.updated_by = #{updatedBy}</if>
<iftest="params.beginUpdatedTime != null and params.beginUpdatedTime != '' and params.endUpdatedTime != null and params.endUpdatedTime != ''"> and bci.updated_time between #{params.beginUpdatedTime} and #{params.endUpdatedTime}</if>
<iftest="objId != null "> and obj_id = #{objId}</if>
<iftest="cabinetCode != null "> and cabinet_code = #{cabinetCode}</if>
<iftest="cabinetAlias != null and cabinetAlias != ''"> and cabinet_alias = #{cabinetAlias}</if>
<iftest="isChecked != null "> and is_checked = #{isChecked}</if>
<iftest="isFlag != null "> and is_flag = #{isFlag}</if>
<iftest="remark != null and remark != ''"> and remark = #{remark}</if>
<iftest="createdBy != null and createdBy != ''"> and created_by = #{createdBy}</if>
<iftest="params.beginCreatedTime != null and params.beginCreatedTime != '' and params.endCreatedTime != null and params.endCreatedTime != ''"> and created_time between #{params.beginCreatedTime} and #{params.endCreatedTime}</if>
<iftest="updatedBy != null and updatedBy != ''"> and updated_by = #{updatedBy}</if>
<iftest="params.beginUpdatedTime != null and params.beginUpdatedTime != '' and params.endUpdatedTime != null and params.endUpdatedTime != ''"> and updated_time between #{params.beginUpdatedTime} and #{params.endUpdatedTime}</if>
<iftest="isRotate != null "> and is_rotate = #{isRotate}</if>
<iftest="rotateAngle != null "> and rotate_angle = #{rotateAngle}</if>