DISTINCT * or ( is_del = 0 and enabled=1) AND create_user_org_code = #{itemtoto.orgCode} or ( create_user_org_code = #{itemtoto.orgCode} and is_del = 0 and enabled=1 ) AND create_user_org_code = #{itemto.object} or (create_user_org_code = #{itemto.object} and is_del = 0 and enabled=1) AND create_user_org_code like '${itemto.object}%' or (create_user_org_code like '${itemto.object}%' and is_del = 0 and enabled=1) AND create_user_id = #{itemto.object} or (create_user_id = #{itemto.object} and is_del = 0 and enabled=1) AND id is null and id = #{p.id} and pro_name like concat('%', #{p.proName}, '%') and pro_time = #{p.proTime} and pro_type = #{p.proType} and pro_price = #{p.proPrice} and record_count = #{p.recordCount} and ailight_count = #{p.ailightCount} and is_del = #{p.isDel} and enabled = #{p.enabled} and create_user_id = #{p.createUserId} and create_user_name = #{p.createUserName} and update_user_id = #{p.updateUserId} and update_user_name = #{p.updateUserName} and create_time = #{p.createTime} and update_time = #{p.updateTime} and id not in #{list} is_del=0 is_del=0